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
Fields inherited from class net.minestom.server.entity.metadata.EntityMeta
metadata
-
Constructor Summary
ConstructorDescriptionCommandBlockMinecartMeta
(@NotNull Entity entity, @NotNull MetadataHolder 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, getShowCustomBlock, requiresVelocityPacketAtSpawn, setCustomBlockIdAndDamage, setCustomBlockYPosition, setShowCustomBlock
Methods inherited from class net.minestom.server.entity.metadata.AbstractVehicleMeta
getShakingDirection, getShakingMultiplier, getShakingTicks, setShakingDirection, setShakingMultiplier, setShakingTicks
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
-
CommandBlockMinecartMeta
public CommandBlockMinecartMeta(@NotNull @NotNull Entity entity, @NotNull @NotNull MetadataHolder metadata)
-
-
Method Details
-
getCommand
-
setCommand
-
getLastOutput
-
setLastOutput
-
getObjectData
public int getObjectData()
-