java.lang.Object
net.minestom.server.entity.metadata.EntityMeta
net.minestom.server.entity.metadata.other.BoatMeta

public class BoatMeta extends EntityMeta
  • Field Details

  • Constructor Details

    • BoatMeta

      public BoatMeta(@NotNull @NotNull Entity entity, @NotNull @NotNull MetadataHolder metadata)
  • Method Details

    • getTimeSinceLastHit

      public int getTimeSinceLastHit()
    • setTimeSinceLastHit

      public void setTimeSinceLastHit(int value)
    • getForwardDirection

      public int getForwardDirection()
    • setForwardDirection

      public void setForwardDirection(int value)
    • getDamageTaken

      public float getDamageTaken()
    • setDamageTaken

      public void setDamageTaken(float value)
    • getType

      @NotNull public @NotNull BoatMeta.Type getType()
    • setType

      public void setType(@NotNull @NotNull BoatMeta.Type value)
    • isLeftPaddleTurning

      public boolean isLeftPaddleTurning()
    • setLeftPaddleTurning

      public void setLeftPaddleTurning(boolean value)
    • isRightPaddleTurning

      public boolean isRightPaddleTurning()
    • setRightPaddleTurning

      public void setRightPaddleTurning(boolean value)
    • getSplashTimer

      public int getSplashTimer()
    • setSplashTimer

      public void setSplashTimer(int value)