Class BoatMeta
java.lang.Object
net.minestom.server.entity.metadata.EntityMeta
net.minestom.server.entity.metadata.other.BoatMeta
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minestom.server.entity.metadata.EntityMeta
metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
int
int
int
@NotNull BoatMeta.Type
getType()
boolean
boolean
void
setDamageTaken
(float value) void
setForwardDirection
(int value) void
setLeftPaddleTurning
(boolean value) void
setRightPaddleTurning
(boolean value) void
setSplashTimer
(int value) void
setTimeSinceLastHit
(int value) void
setType
(@NotNull BoatMeta.Type value) Methods inherited from class net.minestom.server.entity.metadata.EntityMeta
consumeEntity, getAirTicks, getCustomName, getMask, getMaskBit, getPose, getTickFrozen, isCustomNameVisible, isFlyingWithElytra, isHasGlowingEffect, isHasNoGravity, isInvisible, isOnFire, isSilent, isSneaking, isSprinting, isSwimming, setAirTicks, setCustomName, setCustomNameVisible, setFlyingWithElytra, setHasGlowingEffect, setHasNoGravity, setInvisible, setMask, setMaskBit, setNotifyAboutChanges, setOnFire, setPose, setSilent, setSneaking, setSprinting, setSwimming, setTickFrozen
-
Field Details
-
OFFSET
public static final byte OFFSET- See Also:
-
MAX_OFFSET
public static final byte MAX_OFFSET- See Also:
-
-
Constructor Details
-
BoatMeta
-
-
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
-
setType
-
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)
-