public class ArmorStandEntity extends LivingEntity
boots, chestplate, hand, helmet, leggings, offHandattributes, entityId, entityType, geyserId, metadata, motion, onGround, passengers, position, rotation, scale, valid| Constructor and Description |
|---|
ArmorStandEntity(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 |
|---|---|
boolean |
despawnEntity(GeyserSession session)
Despawns the entity
|
void |
moveAbsolute(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround,
boolean teleported) |
void |
moveRelative(GeyserSession session,
double relX,
double relY,
double relZ,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround) |
void |
setBoots(com.nukkitx.protocol.bedrock.data.inventory.ItemData boots) |
void |
setChestplate(com.nukkitx.protocol.bedrock.data.inventory.ItemData chestplate) |
void |
setHand(com.nukkitx.protocol.bedrock.data.inventory.ItemData hand) |
void |
setHelmet(com.nukkitx.protocol.bedrock.data.inventory.ItemData helmet) |
void |
setLeggings(com.nukkitx.protocol.bedrock.data.inventory.ItemData leggings) |
void |
setOffHand(com.nukkitx.protocol.bedrock.data.inventory.ItemData offHand) |
void |
spawnEntity(GeyserSession session) |
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 |
updateBedrockMetadata(GeyserSession session)
Sends the Bedrock metadata to the client
|
getDefaultMaxHealth, updateBedrockAttributes, updateEquipmentas, getBedrockRotation, is, moveAbsolute, moveRelative, teleport, updateHeadLookRotation, updatePositionAndRotation, updateRotationpublic ArmorStandEntity(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 spawnEntity(GeyserSession session)
spawnEntity in class Entitypublic boolean despawnEntity(GeyserSession session)
EntitydespawnEntity in class Entitysession - The GeyserSessionpublic void moveRelative(GeyserSession session, double relX, double relY, double relZ, com.nukkitx.math.vector.Vector3f rotation, boolean isOnGround)
moveRelative in class Entitypublic void moveAbsolute(GeyserSession session, com.nukkitx.math.vector.Vector3f position, com.nukkitx.math.vector.Vector3f rotation, boolean isOnGround, boolean teleported)
moveAbsolute in class Entitypublic void updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session)
EntityupdateBedrockMetadata in class LivingEntityentityMetadata - the Java entity metadatasession - GeyserSessionpublic void updateBedrockMetadata(GeyserSession session)
EntityupdateBedrockMetadata in class Entitysession - GeyserSessionpublic void setHelmet(com.nukkitx.protocol.bedrock.data.inventory.ItemData helmet)
public void setChestplate(com.nukkitx.protocol.bedrock.data.inventory.ItemData chestplate)
public void setLeggings(com.nukkitx.protocol.bedrock.data.inventory.ItemData leggings)
public void setBoots(com.nukkitx.protocol.bedrock.data.inventory.ItemData boots)
public void setHand(com.nukkitx.protocol.bedrock.data.inventory.ItemData hand)
public void setOffHand(com.nukkitx.protocol.bedrock.data.inventory.ItemData offHand)
Copyright © 2021 GeyserMC. All rights reserved.