Interface ArmorStand

All Superinterfaces:
Attributable, CommandSender, Damageable, Entity, LivingEntity, Metadatable, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator

public interface ArmorStand extends LivingEntity
  • Method Details

    • getItemInHand

      @NotNull @Deprecated ItemStack getItemInHand()
      Returns the item the armor stand is currently holding.
      Returns:
      the held item
      See Also:
    • setItemInHand

      @Deprecated void setItemInHand(@Nullable ItemStack item)
      Sets the item the armor stand is currently holding.
      Parameters:
      item - the item to hold
      See Also:
    • getBoots

      @NotNull @Deprecated ItemStack getBoots()
      Deprecated.
      Returns the item currently being worn by the armor stand on its feet.
      Returns:
      the worn item
      See Also:
    • setBoots

      @Deprecated void setBoots(@Nullable ItemStack item)
      Sets the item currently being worn by the armor stand on its feet.
      Parameters:
      item - the item to wear
      See Also:
    • getLeggings

      @NotNull @Deprecated ItemStack getLeggings()
      Deprecated.
      Returns the item currently being worn by the armor stand on its legs.
      Returns:
      the worn item
      See Also:
    • setLeggings

      @Deprecated void setLeggings(@Nullable ItemStack item)
      Sets the item currently being worn by the armor stand on its legs.
      Parameters:
      item - the item to wear
      See Also:
    • getChestplate

      @NotNull @Deprecated ItemStack getChestplate()
      Returns the item currently being worn by the armor stand on its chest.
      Returns:
      the worn item
      See Also:
    • setChestplate

      @Deprecated void setChestplate(@Nullable ItemStack item)
      Sets the item currently being worn by the armor stand on its chest.
      Parameters:
      item - the item to wear
      See Also:
    • getHelmet

      @NotNull @Deprecated ItemStack getHelmet()
      Deprecated.
      Returns the item currently being worn by the armor stand on its head.
      Returns:
      the worn item
      See Also:
    • setHelmet

      @Deprecated void setHelmet(@Nullable ItemStack item)
      Sets the item currently being worn by the armor stand on its head.
      Parameters:
      item - the item to wear
      See Also:
    • getBodyPose

      @NotNull EulerAngle getBodyPose()
      Returns the armor stand's body's current pose as a EulerAngle.
      Returns:
      the current pose
    • setBodyPose

      void setBodyPose(@NotNull EulerAngle pose)
      Sets the armor stand's body's current pose as a EulerAngle.
      Parameters:
      pose - the current pose
    • getLeftArmPose

      @NotNull EulerAngle getLeftArmPose()
      Returns the armor stand's left arm's current pose as a EulerAngle.
      Returns:
      the current pose
    • setLeftArmPose

      void setLeftArmPose(@NotNull EulerAngle pose)
      Sets the armor stand's left arm's current pose as a EulerAngle.
      Parameters:
      pose - the current pose
    • getRightArmPose

      @NotNull EulerAngle getRightArmPose()
      Returns the armor stand's right arm's current pose as a EulerAngle.
      Returns:
      the current pose
    • setRightArmPose

      void setRightArmPose(@NotNull EulerAngle pose)
      Sets the armor stand's right arm's current pose as a EulerAngle.
      Parameters:
      pose - the current pose
    • getLeftLegPose

      @NotNull EulerAngle getLeftLegPose()
      Returns the armor stand's left leg's current pose as a EulerAngle.
      Returns:
      the current pose
    • setLeftLegPose

      void setLeftLegPose(@NotNull EulerAngle pose)
      Sets the armor stand's left leg's current pose as a EulerAngle.
      Parameters:
      pose - the current pose
    • getRightLegPose

      @NotNull EulerAngle getRightLegPose()
      Returns the armor stand's right leg's current pose as a EulerAngle.
      Returns:
      the current pose
    • setRightLegPose

      void setRightLegPose(@NotNull EulerAngle pose)
      Sets the armor stand's right leg's current pose as a EulerAngle.
      Parameters:
      pose - the current pose
    • getHeadPose

      @NotNull EulerAngle getHeadPose()
      Returns the armor stand's head's current pose as a EulerAngle.
      Returns:
      the current pose
    • setHeadPose

      void setHeadPose(@NotNull EulerAngle pose)
      Sets the armor stand's head's current pose as a EulerAngle.
      Parameters:
      pose - the current pose
    • hasBasePlate

      boolean hasBasePlate()
      Returns whether the armor stand has a base plate.
      Returns:
      whether it has a base plate
    • setBasePlate

      void setBasePlate(boolean basePlate)
      Sets whether the armor stand has a base plate.
      Parameters:
      basePlate - whether is has a base plate
    • isVisible

      boolean isVisible()
      Returns whether the armor stand should be visible or not.
      Returns:
      whether the stand is visible or not
    • setVisible

      void setVisible(boolean visible)
      Sets whether the armor stand should be visible or not.
      Parameters:
      visible - whether the stand is visible or not
    • hasArms

      boolean hasArms()
      Returns whether this armor stand has arms.
      Returns:
      whether this has arms or not
    • setArms

      void setArms(boolean arms)
      Sets whether this armor stand has arms.
      Parameters:
      arms - whether this has arms or not
    • isSmall

      boolean isSmall()
      Returns whether this armor stand is scaled down.
      Returns:
      whether this is scaled down
    • setSmall

      void setSmall(boolean small)
      Sets whether this armor stand is scaled down.
      Parameters:
      small - whether this is scaled down
    • isMarker

      boolean isMarker()
      Returns whether this armor stand is a marker, meaning it has a very small collision box.
      Returns:
      whether this is a marker
    • setMarker

      void setMarker(boolean marker)
      Sets whether this armor stand is a marker, meaning it has a very small collision box.
      Parameters:
      marker - whether this is a marker
    • addEquipmentLock

      void addEquipmentLock(@NotNull EquipmentSlot slot, @NotNull ArmorStand.LockType lockType)
      Locks the equipment slot with the specified locking mechanism.
      Parameters:
      slot - the equipment slot to lock
      lockType - the LockType to lock the equipment slot with
    • removeEquipmentLock

      void removeEquipmentLock(@NotNull EquipmentSlot slot, @NotNull ArmorStand.LockType lockType)
      Parameters:
      slot - the equipment slot to change
      lockType - the LockType to remove
    • hasEquipmentLock

      boolean hasEquipmentLock(@NotNull EquipmentSlot slot, @NotNull ArmorStand.LockType lockType)
      Returns if the ArmorStand has the specified locking mechanism.
      Parameters:
      slot - the EquipmentSlot to test
      lockType - the LockType to test
      Returns:
      if the ArmorStand has been locked with the parameters specified