接口 ArmorStand

所有超级接口:
Attributable, CommandSender, Damageable, Entity, LivingEntity, Metadatable, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator

public interface ArmorStand extends LivingEntity
  • 方法详细资料

    • getItemInHand

      @Deprecated ItemStack getItemInHand()
      已过时。
      返回盔甲架当前握持的物品.

      原文: Returns the item the armor stand is currently holding

      返回:
      盔甲架当前握持的物品
      另请参阅:
    • setItemInHand

      @Deprecated void setItemInHand(ItemStack item)
      设置盔甲架当前握持的物品.

      原文: Sets the item the armor stand is currently holding

      参数:
      item - 盔甲架当前握持的物品
      另请参阅:
    • getBoots

      已过时。
      返回盔甲架当前穿在脚上的物品.

      原文: Returns the item currently being worn by the armor stand on its feet

      返回:
      穿戴的物品
      另请参阅:
    • setBoots

      @Deprecated void setBoots(ItemStack item)
      设置盔甲架当前穿在脚上的物品.

      原文: Sets the item currently being worn by the armor stand on its feet

      参数:
      item - 穿戴的物品
      另请参阅:
    • getLeggings

      @Deprecated ItemStack getLeggings()
      已过时。
      返回盔甲架当前穿在腿上的物品.

      原文: Returns the item currently being worn by the armor stand on its legs

      返回:
      穿戴的物品
      另请参阅:
    • setLeggings

      @Deprecated void setLeggings(ItemStack item)
      设置盔甲架当前穿在腿上的物品.

      原文: Sets the item currently being worn by the armor stand on its legs

      参数:
      item - 穿戴的物品
      另请参阅:
    • getChestplate

      @Deprecated ItemStack getChestplate()
      已过时。
      返回盔甲架当前穿在胸上的物品.

      原文: Returns the item currently being worn by the armor stand on its chest

      返回:
      穿戴的物品
      另请参阅:
    • setChestplate

      @Deprecated void setChestplate(ItemStack item)
      设置盔甲架当前穿在胸上的物品.

      原文: Sets the item currently being worn by the armor stand on its chest

      参数:
      item - 穿戴的物品
      另请参阅:
    • getHelmet

      @Deprecated ItemStack getHelmet()
      已过时。
      返回盔甲架当前戴在头上的物品.

      原文: Returns the item currently being worn by the armor stand on its head

      返回:
      穿戴的物品
      另请参阅:
    • setHelmet

      @Deprecated void setHelmet(ItemStack item)
      设置盔甲架当前戴在头上的物品.

      原文: Sets the item currently being worn by the armor stand on its head

      参数:
      item - 穿戴的物品
      另请参阅:
    • getBodyPose

      EulerAngle getBodyPose()
      EulerAngle的形式返回盔甲架身体的姿势.

      原文: Returns the armor stand's body's current pose as a EulerAngle.

      返回:
      当前姿势
    • setBodyPose

      void setBodyPose(EulerAngle pose)
      EulerAngle的形式设置盔甲架身体的姿势.

      原文: Sets the armor stand's body's current pose as a EulerAngle.

      参数:
      pose - 当前姿势
    • getLeftArmPose

      EulerAngle getLeftArmPose()
      EulerAngle的形式返回盔甲架左臂的姿势.

      原文: Returns the armor stand's left arm's current pose as a EulerAngle.

      返回:
      当前姿势
    • setLeftArmPose

      void setLeftArmPose(EulerAngle pose)
      EulerAngle的形式设置盔甲架左臂的姿势.

      原文: Sets the armor stand's left arm's current pose as a EulerAngle.

      参数:
      pose - 当前姿势
    • getRightArmPose

      EulerAngle getRightArmPose()
      EulerAngle的形式返回盔甲架右臂的姿势.

      原文: Returns the armor stand's right arm's current pose as a EulerAngle.

      返回:
      当前姿势
    • setRightArmPose

      void setRightArmPose(EulerAngle pose)
      EulerAngle的形式设置盔甲架右臂的姿势.

      原文: Sets the armor stand's right arm's current pose as a EulerAngle.

      参数:
      pose - 当前姿势
    • getLeftLegPose

      EulerAngle getLeftLegPose()
      EulerAngle的形式返回盔甲架左腿的姿势.

      原文: Returns the armor stand's left leg's current pose as a EulerAngle.

      返回:
      当前姿势
    • setLeftLegPose

      void setLeftLegPose(EulerAngle pose)
      EulerAngle的形式设置盔甲架身左腿的姿势.

      原文: Sets the armor stand's left leg's current pose as a EulerAngle.

      参数:
      pose - 当前姿势
    • getRightLegPose

      EulerAngle getRightLegPose()
      EulerAngle的形式返回盔甲架右腿的姿势.

      原文: Returns the armor stand's right leg's current pose as a EulerAngle.

      返回:
      当前姿势
    • setRightLegPose

      void setRightLegPose(EulerAngle pose)
      EulerAngle的形式设置盔甲架右腿的姿势.

      原文: Sets the armor stand's right leg's current pose as a EulerAngle.

      参数:
      pose - 当前姿势
    • getHeadPose

      EulerAngle getHeadPose()
      EulerAngle的形式返回盔甲架头的姿势.

      原文: Returns the armor stand's head's current pose as a EulerAngle.

      返回:
      当前姿势
    • setHeadPose

      void setHeadPose(EulerAngle pose)
      EulerAngle的形式设置盔甲架头的姿势.

      原文: Sets the armor stand's head's current pose as a EulerAngle.

      参数:
      pose - 当前姿势
    • hasBasePlate

      boolean hasBasePlate()
      返回盔甲架是否有底盘.

      原文: Returns whether the armor stand has a base plate

      返回:
      是否有底盘
    • setBasePlate

      void setBasePlate(boolean basePlate)
      设置盔甲架是否有底盘.

      原文: Sets whether the armor stand has a base plate

      参数:
      basePlate - 是否有底盘
    • isVisible

      boolean isVisible()
      返回盔甲架是否可视.

      原文: Returns whether the armor stand should be visible or not

      返回:
      盔甲架是否可视
    • setVisible

      void setVisible(boolean visible)
      设置盔甲架是否可视.

      原文: Sets whether the armor stand should be visible or not

      参数:
      visible - 盔甲架是否可视
    • hasArms

      boolean hasArms()
      返回盔甲架是否有双臂.

      原文: Returns whether this armor stand has arms.

      返回:
      是否有双臂
    • setArms

      void setArms(boolean arms)
      设置盔甲架是否有双臂.

      原文: Sets whether this armor stand has arms.

      参数:
      arms - 是否有双臂
    • isSmall

      boolean isSmall()
      返回盔甲架是否被缩小了.

      原文: Returns whether this armor stand is scaled down.

      返回:
      是否被缩小
    • setSmall

      void setSmall(boolean small)
      设置盔甲架是否被缩小.

      原文: Sets whether this armor stand is scaled down.

      参数:
      small - 是否被缩小
    • isMarker

      boolean isMarker()
      返回盔甲架的marker属性,即是否具有非常小的碰撞箱.

      原文: Returns whether this armor stand is a marker, meaning it has a very small collision box.

      返回:
      盔甲架的marker属性
    • setMarker

      void setMarker(boolean marker)
      设置盔甲架的marker属性,即是否具有非常小的碰撞箱.

      原文: Sets whether this armor stand is a marker, meaning it has a very small collision box.

      参数:
      marker - 盔甲架的marker属性
    • addEquipmentLock

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

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

      boolean hasEquipmentLock(EquipmentSlot slot, ArmorStand.LockType lockType)
      Returns if the ArmorStand has the specified locking mechanism.
      参数:
      slot - the EquipmentSlot to test
      lockType - the LockType to test
      返回:
      if the ArmorStand has been locked with the parameters specified