Class ArmorStandEntity


public class ArmorStandEntity extends LivingEntity
  • Constructor Details

    • ArmorStandEntity

      public 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)
  • Method Details

    • spawnEntity

      public void spawnEntity(GeyserSession session)
      Overrides:
      spawnEntity in class Entity
    • despawnEntity

      public boolean despawnEntity(GeyserSession session)
      Description copied from class: Entity
      Despawns the entity
      Overrides:
      despawnEntity in class Entity
      Parameters:
      session - The GeyserSession
      Returns:
      can be deleted
    • moveRelative

      public void moveRelative(GeyserSession session, double relX, double relY, double relZ, com.nukkitx.math.vector.Vector3f rotation, boolean isOnGround)
      Overrides:
      moveRelative in class Entity
    • moveAbsolute

      public void moveAbsolute(GeyserSession session, com.nukkitx.math.vector.Vector3f position, com.nukkitx.math.vector.Vector3f rotation, boolean isOnGround, boolean teleported)
      Overrides:
      moveAbsolute in class Entity
    • updateBedrockMetadata

      public void updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata, GeyserSession session)
      Description copied from class: Entity
      Applies the Java metadata to the local Bedrock metadata copy
      Overrides:
      updateBedrockMetadata in class LivingEntity
      Parameters:
      entityMetadata - the Java entity metadata
      session - GeyserSession
    • updateBedrockMetadata

      public void updateBedrockMetadata(GeyserSession session)
      Description copied from class: Entity
      Sends the Bedrock metadata to the client
      Overrides:
      updateBedrockMetadata in class Entity
      Parameters:
      session - GeyserSession
    • setInvisible

      protected void setInvisible(GeyserSession session, boolean value)
      Description copied from class: Entity
      Set a boolean - whether the entity is invisible or visible
      Overrides:
      setInvisible in class Entity
      Parameters:
      session - the Geyser session
      value - true if the entity is invisible
    • setHelmet

      public void setHelmet(com.nukkitx.protocol.bedrock.data.inventory.ItemData helmet)
    • setChestplate

      public void setChestplate(com.nukkitx.protocol.bedrock.data.inventory.ItemData chestplate)
    • setLeggings

      public void setLeggings(com.nukkitx.protocol.bedrock.data.inventory.ItemData leggings)
    • setBoots

      public void setBoots(com.nukkitx.protocol.bedrock.data.inventory.ItemData boots)
    • setHand

      public void setHand(com.nukkitx.protocol.bedrock.data.inventory.ItemData hand)
    • setOffHand

      public void setOffHand(com.nukkitx.protocol.bedrock.data.inventory.ItemData offHand)