Class CommandBlockMinecartMeta
java.lang.Object
net.minestom.server.entity.metadata.EntityMeta
net.minestom.server.entity.metadata.AbstractVehicleMeta
net.minestom.server.entity.metadata.minecart.AbstractMinecartMeta
net.minestom.server.entity.metadata.minecart.CommandBlockMinecartMeta
- All Implemented Interfaces:
ObjectDataProvider
-
Field Summary
FieldsFields inherited from class net.minestom.server.entity.metadata.EntityMeta
metadata -
Constructor Summary
ConstructorsConstructorDescriptionCommandBlockMinecartMeta(@NotNull Entity entity, @NotNull MetadataHolder metadata) -
Method Summary
Modifier and TypeMethodDescription@NotNull String@NotNull ComponentintvoidsetCommand(@NotNull String value) voidsetLastOutput(@NotNull Component value) Methods inherited from class net.minestom.server.entity.metadata.minecart.AbstractMinecartMeta
getCustomBlockIdAndDamage, getCustomBlockYPosition, getShowCustomBlock, requiresVelocityPacketAtSpawn, setCustomBlockIdAndDamage, setCustomBlockYPosition, setShowCustomBlockMethods inherited from class net.minestom.server.entity.metadata.AbstractVehicleMeta
getShakingDirection, getShakingMultiplier, getShakingTicks, setShakingDirection, setShakingMultiplier, setShakingTicksMethods 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
-
CommandBlockMinecartMeta
public CommandBlockMinecartMeta(@NotNull @NotNull Entity entity, @NotNull @NotNull MetadataHolder metadata)
-
-
Method Details
-
getCommand
-
setCommand
-
getLastOutput
-
setLastOutput
-
getObjectData
public int getObjectData()
-