Class ArmorStandEntity


public class ArmorStandEntity extends LivingEntity
  • Constructor Details

    • ArmorStandEntity

      public ArmorStandEntity(GeyserSession session, int entityId, long geyserId, UUID uuid, EntityDefinition<?> definition, com.nukkitx.math.vector.Vector3f position, com.nukkitx.math.vector.Vector3f motion, float yaw, float pitch, float headYaw)
  • Method Details

    • spawnEntity

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

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

      public void moveRelative(double relX, double relY, double relZ, float yaw, float pitch, float headYaw, boolean isOnGround)
      Overrides:
      moveRelative in class Entity
    • moveAbsolute

      public void moveAbsolute(com.nukkitx.math.vector.Vector3f position, float yaw, float pitch, float headYaw, boolean isOnGround, boolean teleported)
      Overrides:
      moveAbsolute in class Entity
    • setDisplayName

      public void setDisplayName(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata<Optional<net.kyori.adventure.text.Component>,​?> entityMetadata)
      Overrides:
      setDisplayName in class Entity
    • setArmorStandFlags

      public void setArmorStandFlags(com.github.steveice10.mc.protocol.data.game.entity.metadata.type.ByteEntityMetadata entityMetadata)
    • setHeadRotation

      public void setHeadRotation(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata<com.github.steveice10.mc.protocol.data.game.entity.metadata.Rotation,​?> entityMetadata)
    • setBodyRotation

      public void setBodyRotation(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata<com.github.steveice10.mc.protocol.data.game.entity.metadata.Rotation,​?> entityMetadata)
    • setLeftArmRotation

      public void setLeftArmRotation(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata<com.github.steveice10.mc.protocol.data.game.entity.metadata.Rotation,​?> entityMetadata)
    • setRightArmRotation

      public void setRightArmRotation(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata<com.github.steveice10.mc.protocol.data.game.entity.metadata.Rotation,​?> entityMetadata)
    • setLeftLegRotation

      public void setLeftLegRotation(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata<com.github.steveice10.mc.protocol.data.game.entity.metadata.Rotation,​?> entityMetadata)
    • setRightLegRotation

      public void setRightLegRotation(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata<com.github.steveice10.mc.protocol.data.game.entity.metadata.Rotation,​?> entityMetadata)
    • updateBedrockMetadata

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

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

      public InteractionResult interactAt(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand)
      Description copied from class: Entity
      Simulates interacting with this entity at a specific click point. As of Java Edition 1.18.1, this is only used for armor stands.
      Overrides:
      interactAt in class Entity
    • 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)