Package org.bukkit.entity
Interface ArmorStand
- All Superinterfaces:
- Attributable,- CommandSender,- Damageable,- Entity,- LivingEntity,- Metadatable,- Nameable,- Permissible,- PersistentDataHolder,- ProjectileSource,- ServerOperator
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic enumRepresents types of locking mechanisms for ArmorStand equipment.Nested classes/interfaces inherited from interface org.bukkit.entity.EntityEntity.Spigot
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddEquipmentLock(EquipmentSlot slot, ArmorStand.LockType lockType) Locks the equipment slot with the specifiedlocking mechanism.Returns the armor stand's body's current pose as aEulerAngle.getBoots()Deprecated.Deprecated.Returns the armor stand's head's current pose as aEulerAngle.Deprecated.preferEntityEquipment.getHelmet()Deprecated.Returns the armor stand's left arm's current pose as aEulerAngle.Returns the armor stand's left leg's current pose as aEulerAngle.Deprecated.Returns the armor stand's right arm's current pose as aEulerAngle.Returns the armor stand's right leg's current pose as aEulerAngle.booleanhasArms()Returns whether this armor stand has arms.booleanReturns whether the armor stand has a base plate.booleanhasEquipmentLock(EquipmentSlot slot, ArmorStand.LockType lockType) Returns if the ArmorStand has the specifiedlocking mechanism.booleanisMarker()Returns whether this armor stand is a marker, meaning it has a very small collision box.booleanisSmall()Returns whether this armor stand is scaled down.booleanReturns whether the armor stand should be visible or not.voidremoveEquipmentLock(EquipmentSlot slot, ArmorStand.LockType lockType) Remove alocking mechanism.voidsetArms(boolean arms) Sets whether this armor stand has arms.voidsetBasePlate(boolean basePlate) Sets whether the armor stand has a base plate.voidsetBodyPose(EulerAngle pose) Sets the armor stand's body's current pose as aEulerAngle.voidDeprecated.voidsetChestplate(ItemStack item) Deprecated.voidsetHeadPose(EulerAngle pose) Sets the armor stand's head's current pose as aEulerAngle.voidDeprecated.voidsetItemInHand(ItemStack item) Deprecated.voidsetLeftArmPose(EulerAngle pose) Sets the armor stand's left arm's current pose as aEulerAngle.voidsetLeftLegPose(EulerAngle pose) Sets the armor stand's left leg's current pose as aEulerAngle.voidsetLeggings(ItemStack item) Deprecated.voidsetMarker(boolean marker) Sets whether this armor stand is a marker, meaning it has a very small collision box.voidsetRightArmPose(EulerAngle pose) Sets the armor stand's right arm's current pose as aEulerAngle.voidsetRightLegPose(EulerAngle pose) Sets the armor stand's right leg's current pose as aEulerAngle.voidsetSmall(boolean small) Sets whether this armor stand is scaled down.voidsetVisible(boolean visible) Sets whether the armor stand should be visible or not.Methods inherited from interface org.bukkit.attribute.AttributablegetAttributeMethods inherited from interface org.bukkit.command.CommandSendergetName, sendMessage, sendMessage, sendMessage, sendMessageMethods inherited from interface org.bukkit.entity.Damageabledamage, damage, damage, getAbsorptionAmount, getHealth, getMaxHealth, resetMaxHealth, setAbsorptionAmount, setHealth, setMaxHealthMethods inherited from interface org.bukkit.entity.EntityaddPassenger, addScoreboardTag, copy, copy, createSnapshot, eject, getAsString, getBoundingBox, getEntityId, getFacing, getFallDistance, getFireTicks, getFreezeTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getMaxFreezeTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getSpawnCategory, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTicksLived, getTrackedBy, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isFrozen, isGlowing, isInsideVehicle, isInvulnerable, isInWater, isInWorld, isOnGround, isPersistent, isSilent, isValid, isVisibleByDefault, isVisualFire, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setFreezeTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, setVelocity, setVisibleByDefault, setVisualFire, spigot, teleport, teleport, teleport, teleportMethods inherited from interface org.bukkit.entity.LivingEntityaddPotionEffect, addPotionEffect, addPotionEffects, attack, canBreatheUnderwater, getActivePotionEffects, getArrowCooldown, getArrowsInBody, getCanPickupItems, getCategory, getCollidableExemptions, getDeathSound, getDrinkingSound, getEatingSound, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getFallDamageSound, getFallDamageSoundBig, getFallDamageSoundSmall, getHurtSound, getItemInUse, getItemInUseTicks, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getMemory, getNoActionTicks, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, getTargetBlockExact, getTargetBlockExact, hasAI, hasLineOfSight, hasPotionEffect, isClimbing, isCollidable, isGliding, isInvisible, isLeashed, isRiptiding, isSleeping, isSwimming, playHurtAnimation, rayTraceBlocks, rayTraceBlocks, removePotionEffect, setAI, setArrowCooldown, setArrowsInBody, setCanPickupItems, setCollidable, setGliding, setInvisible, setItemInUseTicks, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setMemory, setNoActionTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setRiptiding, setSwimming, swingMainHand, swingOffHandMethods inherited from interface org.bukkit.metadata.MetadatablegetMetadata, hasMetadata, removeMetadata, setMetadataMethods inherited from interface org.bukkit.NameablegetCustomName, setCustomNameMethods inherited from interface org.bukkit.permissions.PermissibleaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentMethods inherited from interface org.bukkit.persistence.PersistentDataHoldergetPersistentDataContainerMethods inherited from interface org.bukkit.projectiles.ProjectileSourcelaunchProjectile, launchProjectileMethods inherited from interface org.bukkit.permissions.ServerOperatorisOp, setOp
- 
Method Details- 
getItemInHandDeprecated.Returns the item the armor stand is currently holding.- Returns:
- the held item
- See Also:
 
- 
setItemInHandDeprecated.Sets the item the armor stand is currently holding.- Parameters:
- item- the item to hold
- See Also:
 
- 
getBootsDeprecated.preferEntityEquipment.getBoots()Returns the item currently being worn by the armor stand on its feet.- Returns:
- the worn item
- See Also:
 
- 
setBootsDeprecated.Sets the item currently being worn by the armor stand on its feet.- Parameters:
- item- the item to wear
- See Also:
 
- 
getLeggingsDeprecated.Returns the item currently being worn by the armor stand on its legs.- Returns:
- the worn item
- See Also:
 
- 
setLeggingsDeprecated.Sets the item currently being worn by the armor stand on its legs.- Parameters:
- item- the item to wear
- See Also:
 
- 
getChestplateDeprecated.Returns the item currently being worn by the armor stand on its chest.- Returns:
- the worn item
- See Also:
 
- 
setChestplateDeprecated.Sets the item currently being worn by the armor stand on its chest.- Parameters:
- item- the item to wear
- See Also:
 
- 
getHelmetDeprecated.preferEntityEquipment.getHelmet()Returns the item currently being worn by the armor stand on its head.- Returns:
- the worn item
- See Also:
 
- 
setHelmetDeprecated.Sets the item currently being worn by the armor stand on its head.- Parameters:
- item- the item to wear
- See Also:
 
- 
getBodyPoseReturns the armor stand's body's current pose as aEulerAngle.- Returns:
- the current pose
 
- 
setBodyPoseSets the armor stand's body's current pose as aEulerAngle.- Parameters:
- pose- the current pose
 
- 
getLeftArmPoseReturns the armor stand's left arm's current pose as aEulerAngle.- Returns:
- the current pose
 
- 
setLeftArmPoseSets the armor stand's left arm's current pose as aEulerAngle.- Parameters:
- pose- the current pose
 
- 
getRightArmPoseReturns the armor stand's right arm's current pose as aEulerAngle.- Returns:
- the current pose
 
- 
setRightArmPoseSets the armor stand's right arm's current pose as aEulerAngle.- Parameters:
- pose- the current pose
 
- 
getLeftLegPoseReturns the armor stand's left leg's current pose as aEulerAngle.- Returns:
- the current pose
 
- 
setLeftLegPoseSets the armor stand's left leg's current pose as aEulerAngle.- Parameters:
- pose- the current pose
 
- 
getRightLegPoseReturns the armor stand's right leg's current pose as aEulerAngle.- Returns:
- the current pose
 
- 
setRightLegPoseSets the armor stand's right leg's current pose as aEulerAngle.- Parameters:
- pose- the current pose
 
- 
getHeadPoseReturns the armor stand's head's current pose as aEulerAngle.- Returns:
- the current pose
 
- 
setHeadPoseSets the armor stand's head's current pose as aEulerAngle.- Parameters:
- pose- the current pose
 
- 
hasBasePlateboolean hasBasePlate()Returns whether the armor stand has a base plate.- Returns:
- whether it has a base plate
 
- 
setBasePlatevoid setBasePlate(boolean basePlate) Sets whether the armor stand has a base plate.- Parameters:
- basePlate- whether is has a base plate
 
- 
isVisibleboolean isVisible()Returns whether the armor stand should be visible or not.- Returns:
- whether the stand is visible or not
 
- 
setVisiblevoid setVisible(boolean visible) Sets whether the armor stand should be visible or not.- Parameters:
- visible- whether the stand is visible or not
 
- 
hasArmsboolean hasArms()Returns whether this armor stand has arms.- Returns:
- whether this has arms or not
 
- 
setArmsvoid setArms(boolean arms) Sets whether this armor stand has arms.- Parameters:
- arms- whether this has arms or not
 
- 
isSmallboolean isSmall()Returns whether this armor stand is scaled down.- Returns:
- whether this is scaled down
 
- 
setSmallvoid setSmall(boolean small) Sets whether this armor stand is scaled down.- Parameters:
- small- whether this is scaled down
 
- 
isMarkerboolean isMarker()Returns whether this armor stand is a marker, meaning it has a very small collision box.- Returns:
- whether this is a marker
 
- 
setMarkervoid 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
 
- 
addEquipmentLockLocks the equipment slot with the specifiedlocking mechanism.- Parameters:
- slot- the equipment slot to lock
- lockType- the LockType to lock the equipment slot with
 
- 
removeEquipmentLockRemove alocking mechanism.- Parameters:
- slot- the equipment slot to change
- lockType- the LockType to remove
 
- 
hasEquipmentLockReturns if the ArmorStand has the specifiedlocking mechanism.- Parameters:
- slot- the EquipmentSlot to test
- lockType- the LockType to test
- Returns:
- if the ArmorStand has been locked with the parameters specified
 
 
- 
EntityEquipment.getBoots()