Attributable, CommandSender, Damageable, Entity, LivingEntity, Metadatable, Nameable, Permissible, 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 | 
| java.util.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, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealthaddPassenger, addScoreboardTag, eject, fromMobSpawner, getChunk, getEntityId, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, 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, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleportaddPotionEffect, addPotionEffect, addPotionEffects, getActiveItem, getActivePotionEffects, getArrowsStuck, getCanPickupItems, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getHandRaisedTime, getItemUseRemainingTime, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getShieldBlockingDelay, getTargetBlock, hasAI, hasLineOfSight, hasPotionEffect, isCollidable, isGliding, isHandRaised, isLeashed, isRiptiding, isSwimming, removePotionEffect, setAI, setArrowsStuck, setCanPickupItems, setCollidable, setGliding, setKiller, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setShieldBlockingDelay, setSwimminggetMetadata, hasMetadata, removeMetadata, setMetadatagetCustomName, setCustomNameaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentlaunchProjectile, launchProjectileisOp, setOp@Deprecated ItemStack getItemInHand()
getItem(EquipmentSlot) instead// Paper end@Deprecated void setItemInHand(ItemStack item)
setItem(EquipmentSlot, ItemStack) insteaditem - the item to hold
     // Paper start - Deprecate in favor of setItemInMainHand// Paper endItemStack getBoots()
void setBoots(ItemStack item)
item - the item to wearItemStack getLeggings()
void setLeggings(ItemStack item)
item - the item to wearItemStack getChestplate()
void setChestplate(ItemStack item)
item - the item to wearItemStack getHelmet()
void setHelmet(ItemStack item)
item - the item to wearEulerAngle getBodyPose()
EulerAnglevoid setBodyPose(EulerAngle pose)
EulerAnglepose - the current poseEulerAngle getLeftArmPose()
EulerAnglevoid setLeftArmPose(EulerAngle pose)
EulerAnglepose - the current poseEulerAngle getRightArmPose()
EulerAnglevoid setRightArmPose(EulerAngle pose)
EulerAnglepose - the current poseEulerAngle getLeftLegPose()
EulerAnglevoid setLeftLegPose(EulerAngle pose)
EulerAnglepose - the current poseEulerAngle getRightLegPose()
EulerAnglevoid setRightLegPose(EulerAngle pose)
EulerAnglepose - the current poseEulerAngle getHeadPose()
EulerAnglevoid setHeadPose(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 otherwiseItemStack getItem(EquipmentSlot slot)
slot - the equipment slot to getvoid setItem(EquipmentSlot slot, ItemStack item)
slot - the equipment slot to setitem - the item to holdjava.util.Set<EquipmentSlot> getDisabledSlots()
void setDisabledSlots(EquipmentSlot... slots)
slots - var-arg array of slots to lockvoid addDisabledSlots(EquipmentSlot... slots)
slots - var-arg array of slots to lockvoid removeDisabledSlots(EquipmentSlot... slots)
slots - var-arg array of slots to unlockboolean isSlotDisabled(EquipmentSlot slot)
slot - The slot to checktrue if the slot is disabled, else false.Copyright © 2018. All rights reserved.