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
FieldsFields inherited from class net.minestom.server.entity.metadata.EntityMeta
metadata -
Constructor Summary
ConstructorsConstructorDescriptionCommandBlockMinecartMeta(@NotNull Entity entity, @NotNull Metadata metadata) -
Method Summary
Modifier and TypeMethodDescription@NotNull String@NotNull net.kyori.adventure.text.ComponentintvoidsetCommand(@NotNull String value) voidsetLastOutput(@NotNull net.kyori.adventure.text.Component value) Methods inherited from class net.minestom.server.entity.metadata.minecart.AbstractMinecartMeta
getCustomBlockIdAndDamage, getCustomBlockYPosition, getShakingDirection, getShakingMultiplier, getShakingPower, requiresVelocityPacketAtSpawn, setCustomBlockIdAndDamage, setCustomBlockYPosition, setShakingDirection, setShakingMultiplier, setShakingPowerMethods 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
@NotNull public @NotNull net.kyori.adventure.text.Component getLastOutput() -
setLastOutput
public void setLastOutput(@NotNull @NotNull net.kyori.adventure.text.Component value) -
getObjectData
public int getObjectData()
-