public class CommandBlockMinecartEntity extends DefaultBlockMinecartEntity
customBlock, customBlockOffset, showCustomBlockattributes, entityId, entityType, geyserId, metadata, motion, onGround, passengers, position, rotation, scale, valid| Constructor and Description |
|---|
CommandBlockMinecartEntity(long entityId,
long geyserId,
EntityType entityType,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f motion,
com.nukkitx.math.vector.Vector3f rotation) |
| Modifier and Type | Method and Description |
|---|---|
void |
updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session)
Applies the Java metadata to the local Bedrock metadata copy
|
void |
updateDefaultBlockMetadata(GeyserSession session)
By default, the command block shown is purple on Bedrock, which does not match Java Edition's orange.
|
spawnEntitygetBedrockRotation, moveAbsoluteas, despawnEntity, is, moveAbsolute, moveRelative, moveRelative, teleport, updateBedrockAttributes, updateBedrockMetadata, updateHeadLookRotation, updatePositionAndRotation, updateRotationpublic CommandBlockMinecartEntity(long entityId,
long geyserId,
EntityType entityType,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f motion,
com.nukkitx.math.vector.Vector3f rotation)
public void updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session)
EntityupdateBedrockMetadata in class DefaultBlockMinecartEntityentityMetadata - the Java entity metadatasession - GeyserSessionpublic void updateDefaultBlockMetadata(GeyserSession session)
updateDefaultBlockMetadata in class DefaultBlockMinecartEntityCopyright © 2021 GeyserMC. All rights reserved.