Attributable, CommandSender, Damageable, Entity, LivingEntity, Metadatable, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperatorpublic interface ArmorStand extends LivingEntity
Entity.Spigot| Modifier and Type | Method | Description | 
|---|---|---|
| void | addDisabledSlots(EquipmentSlot... slots) | Disable specific slots, adding them
 to the currently disabled slots
 This makes it so a player is unable to interact with the Armor Stand to place, remove, or replace an item in the given slot(s)
 Note: Once a slot is disabled, the only way to get an item back it to break the armor stand. | 
| boolean | canMove() | Tests if this armor stand can move. | 
| boolean | canTick() | Tests if this armor stand can tick. | 
| EulerAngle | getBodyPose() | Returns the armor stand's body's
 current pose as a  EulerAngle | 
| ItemStack | getBoots() | Returns the item currently being worn
 by the armor stand on its feet | 
| ItemStack | getChestplate() | Returns the item currently being worn
 by the armor stand on its chest | 
| Set<EquipmentSlot> | getDisabledSlots() | Get the list of disabled slots | 
| EulerAngle | getHeadPose() | Returns the armor stand's head's
 current pose as a  EulerAngle | 
| ItemStack | getHelmet() | Returns the item currently being worn
 by the armor stand on its head | 
| ItemStack | getItem(EquipmentSlot slot) | Returns the item the armor stand has
 equip in the given equipment slot | 
| ItemStack | getItemInHand() | Deprecated.
 use  getItem(EquipmentSlot)instead | 
| EulerAngle | getLeftArmPose() | Returns the armor stand's left arm's
 current pose as a  EulerAngle | 
| EulerAngle | getLeftLegPose() | Returns the armor stand's left leg's
 current pose as a  EulerAngle | 
| ItemStack | getLeggings() | Returns the item currently being worn
 by the armor stand on its legs | 
| EulerAngle | getRightArmPose() | Returns the armor stand's right arm's
 current pose as a  EulerAngle | 
| EulerAngle | getRightLegPose() | Returns the armor stand's right leg's
 current pose as a  EulerAngle | 
| boolean | hasArms() | Returns whether this armor stand has arms | 
| boolean | hasBasePlate() | Returns whether the armor stand has
 a base plate | 
| boolean | isMarker() | Returns whether this armor stand is a marker,
 meaning it has a very small collision box | 
| boolean | isSlotDisabled(EquipmentSlot slot) | Check if a specific slot is disabled | 
| boolean | isSmall() | Returns whether this armor stand is scaled
 down | 
| boolean | isVisible() | Returns whether the armor stand should be
 visible or not | 
| void | removeDisabledSlots(EquipmentSlot... slots) | Remove the given slots from the disabled
 slots list, enabling them. | 
| void | setArms(boolean arms) | Sets whether this armor stand has arms | 
| void | setBasePlate(boolean basePlate) | Sets whether the armor stand has a
 base plate | 
| void | setBodyPose(EulerAngle pose) | Sets the armor stand's body's
 current pose as a  EulerAngle | 
| void | setBoots(ItemStack item) | Sets the item currently being worn
 by the armor stand on its feet | 
| void | setCanMove(boolean move) | Sets if this armor stand can move. | 
| void | setCanTick(boolean tick) | Sets if this armor stand can tick. | 
| void | setChestplate(ItemStack item) | Sets the item currently being worn
 by the armor stand on its chest | 
| void | setDisabledSlots(EquipmentSlot... slots) | Set the disabled slots
 This makes it so a player is unable to interact with the Armor Stand to place, remove, or replace an item in the given slot(s)
 Note: Once a slot is disabled, the only way to get an item back it to break the armor stand. | 
| void | setHeadPose(EulerAngle pose) | Sets the armor stand's head's
 current pose as a  EulerAngle | 
| void | setHelmet(ItemStack item) | Sets the item currently being worn
 by the armor stand on its head | 
| void | setItem(EquipmentSlot slot,
       ItemStack item) | Sets the item the armor stand has
 equip in the given equipment slot | 
| void | setItemInHand(ItemStack item) | Deprecated.
 use  setItem(EquipmentSlot, ItemStack)instead | 
| void | setLeftArmPose(EulerAngle pose) | Sets the armor stand's left arm's
 current pose as a  EulerAngle | 
| void | setLeftLegPose(EulerAngle pose) | Sets the armor stand's left leg's
 current pose as a  EulerAngle | 
| void | setLeggings(ItemStack item) | Sets the item currently being worn
 by the armor stand on its legs | 
| void | setMarker(boolean marker) | Sets whether this armor stand is a marker,
 meaning it has a very small collision box | 
| void | setRightArmPose(EulerAngle pose) | Sets the armor stand's right arm's
 current pose as a  EulerAngle | 
| void | setRightLegPose(EulerAngle pose) | Sets the armor stand's right leg's
 current pose as a  EulerAngle | 
| void | setSmall(boolean small) | Sets whether this armor stand is scaled
 down | 
| void | setVisible(boolean visible) | Sets whether the armor stand should be
 visible or not | 
getAttributegetName, sendMessage, sendMessage, sendMessage, sendMessagedamage, damage, getAbsorptionAmount, getHealth, getMaxHealth, resetMaxHealth, setAbsorptionAmount, setHealth, setMaxHealthaddPassenger, addScoreboardTag, eject, fromMobSpawner, getBoundingBox, getChunk, getEntityId, getEntitySpawnReason, getFacing, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isPersistent, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleport, teleportAsync, teleportAsyncaddPotionEffect, addPotionEffect, addPotionEffects, getActiveItem, getActivePotionEffects, getArrowsStuck, getCanPickupItems, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getHandRaisedTime, getItemUseRemainingTime, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getMemory, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getShieldBlockingDelay, getTargetBlock, getTargetBlock, getTargetBlock, getTargetBlockExact, getTargetBlockExact, getTargetBlockFace, getTargetBlockFace, getTargetBlockInfo, getTargetBlockInfo, getTargetEntity, getTargetEntity, getTargetEntityInfo, getTargetEntityInfo, hasAI, hasLineOfSight, hasPotionEffect, isCollidable, isGliding, isHandRaised, isLeashed, isRiptiding, isSleeping, isSwimming, rayTraceBlocks, rayTraceBlocks, removePotionEffect, setAI, setArrowsStuck, setCanPickupItems, setCollidable, setGliding, setKiller, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setMemory, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setShieldBlockingDelay, setSwimminggetMetadata, hasMetadata, removeMetadata, setMetadatagetCustomName, setCustomNameaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentgetPersistentDataContainerlaunchProjectile, launchProjectileisOp, setOp@NotNull @Deprecated ItemStack getItemInHand()
getItem(EquipmentSlot) instead// Paper end@Deprecated void setItemInHand(@Nullable ItemStack item)
setItem(EquipmentSlot, ItemStack) insteaditem - the item to hold
     // Paper start - Deprecate in favor of setItemInMainHand// Paper end@NotNull ItemStack getBoots()
void setBoots(@Nullable
              ItemStack item)
item - the item to wear@NotNull ItemStack getLeggings()
void setLeggings(@Nullable
                 ItemStack item)
item - the item to wear@NotNull ItemStack getChestplate()
void setChestplate(@Nullable
                   ItemStack item)
item - the item to wear@NotNull ItemStack getHelmet()
void setHelmet(@Nullable
               ItemStack item)
item - the item to wear@NotNull EulerAngle getBodyPose()
EulerAnglevoid setBodyPose(@NotNull
                 EulerAngle pose)
EulerAnglepose - the current pose@NotNull EulerAngle getLeftArmPose()
EulerAnglevoid setLeftArmPose(@NotNull
                    EulerAngle pose)
EulerAnglepose - the current pose@NotNull EulerAngle getRightArmPose()
EulerAnglevoid setRightArmPose(@NotNull
                     EulerAngle pose)
EulerAnglepose - the current pose@NotNull EulerAngle getLeftLegPose()
EulerAnglevoid setLeftLegPose(@NotNull
                    EulerAngle pose)
EulerAnglepose - the current pose@NotNull EulerAngle getRightLegPose()
EulerAnglevoid setRightLegPose(@NotNull
                     EulerAngle pose)
EulerAnglepose - the current pose@NotNull EulerAngle getHeadPose()
EulerAnglevoid setHeadPose(@NotNull
                 EulerAngle pose)
EulerAnglepose - the current poseboolean hasBasePlate()
void setBasePlate(boolean basePlate)
basePlate - whether is has a base plateboolean isVisible()
void setVisible(boolean visible)
visible - whether the stand is visible or notboolean hasArms()
void setArms(boolean arms)
arms - whether this has arms or notboolean isSmall()
void setSmall(boolean small)
small - whether this is scaled downboolean isMarker()
void setMarker(boolean marker)
marker - whether this is a markerboolean canMove()
The default value is true.
true if this armour stand can move, false otherwisevoid setCanMove(boolean move)
move - true if this armour stand can move, false otherwiseboolean canTick()
The default value is defined in paper.yml.
true if this armour stand can tick, false otherwisevoid setCanTick(boolean tick)
tick - true if this armour stand can tick, false otherwise@NotNull ItemStack getItem(@NotNull EquipmentSlot slot)
slot - the equipment slot to getvoid setItem(@NotNull
             EquipmentSlot slot,
             @Nullable
             ItemStack item)
slot - the equipment slot to setitem - the item to hold@NotNull Set<EquipmentSlot> getDisabledSlots()
void setDisabledSlots(@NotNull
                      EquipmentSlot... slots)
slots - var-arg array of slots to lockvoid addDisabledSlots(@NotNull
                      EquipmentSlot... slots)
slots - var-arg array of slots to lockvoid removeDisabledSlots(@NotNull
                         EquipmentSlot... slots)
slots - var-arg array of slots to unlockboolean isSlotDisabled(@NotNull
                       EquipmentSlot slot)
slot - The slot to checktrue if the slot is disabled, else false.Copyright © 2020. All rights reserved.