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