Class AbstractVehicleMeta
java.lang.Object
net.minestom.server.entity.metadata.EntityMeta
net.minestom.server.entity.metadata.AbstractVehicleMeta
- Direct Known Subclasses:
AbstractMinecartMeta
,BoatMeta
-
Field Summary
Fields inherited from class net.minestom.server.entity.metadata.EntityMeta
metadata
-
Constructor Summary
ConstructorDescriptionAbstractVehicleMeta
(@NotNull Entity entity, @NotNull MetadataHolder metadata) -
Method Summary
Modifier and TypeMethodDescriptionint
float
int
void
setShakingDirection
(int value) void
setShakingMultiplier
(float value) void
setShakingTicks
(int value) Methods inherited from class net.minestom.server.entity.metadata.EntityMeta
consumeEntity, getAirTicks, getCustomName, getPose, getTickFrozen, isCustomNameVisible, isFlyingWithElytra, isHasGlowingEffect, isHasNoGravity, isInvisible, isOnFire, isSilent, isSneaking, isSprinting, isSwimming, setAirTicks, setCustomName, setCustomNameVisible, setFlyingWithElytra, setHasGlowingEffect, setHasNoGravity, setInvisible, setNotifyAboutChanges, setOnFire, setPose, setSilent, setSneaking, setSprinting, setSwimming, setTickFrozen
-
Constructor Details
-
AbstractVehicleMeta
public AbstractVehicleMeta(@NotNull @NotNull Entity entity, @NotNull @NotNull MetadataHolder metadata)
-
-
Method Details
-
getShakingTicks
public int getShakingTicks() -
setShakingTicks
public void setShakingTicks(int value) -
getShakingDirection
public int getShakingDirection() -
setShakingDirection
public void setShakingDirection(int value) -
getShakingMultiplier
public float getShakingMultiplier() -
setShakingMultiplier
public void setShakingMultiplier(float value)
-