Package org.bukkit.entity
Interface ArmorStand
- All Superinterfaces:
CommandSender
,Damageable
,Entity
,LivingEntity
,Metadatable
,Permissible
,ProjectileSource
,ServerOperator
public interface ArmorStand extends LivingEntity
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description EulerAngle
getBodyPose()
Returns the armor stand's body's current pose as aEulerAngle
ItemStack
getBoots()
Returns the item currently being worn by the armor stand on its feetItemStack
getChestplate()
Returns the item currently being worn by the armor stand on its chestEulerAngle
getHeadPose()
Returns the armor stand's head's current pose as aEulerAngle
ItemStack
getHelmet()
Returns the item currently being worn by the armor stand on its headItemStack
getItemInHand()
Returns the item the armor stand is currently holdingEulerAngle
getLeftArmPose()
Returns the armor stand's left arm's current pose as aEulerAngle
EulerAngle
getLeftLegPose()
Returns the armor stand's left leg's current pose as aEulerAngle
ItemStack
getLeggings()
Returns the item currently being worn by the armor stand on its legsEulerAngle
getRightArmPose()
Returns the armor stand's right arm's current pose as aEulerAngle
EulerAngle
getRightLegPose()
Returns the armor stand's right leg's current pose as aEulerAngle
boolean
hasArms()
Returns whether this armor stand has armsboolean
hasBasePlate()
Returns whether the armor stand has a base plateboolean
hasGravity()
Returns whether gravity applies to this armor standboolean
isMarker()
Returns whether this armor stand is a marker, meaning it has a very small collision boxboolean
isSmall()
Returns whether this armor stand is scaled downboolean
isVisible()
Returns whether the armor stand should be visible or notvoid
setArms(boolean arms)
Sets whether this armor stand has armsvoid
setBasePlate(boolean basePlate)
Sets whether the armor stand has a base platevoid
setBodyPose(EulerAngle pose)
Sets the armor stand's body's current pose as aEulerAngle
void
setBoots(ItemStack item)
Sets the item currently being worn by the armor stand on its feetvoid
setChestplate(ItemStack item)
Sets the item currently being worn by the armor stand on its chestvoid
setGravity(boolean gravity)
Sets whether gravity applies to this armor standvoid
setHeadPose(EulerAngle pose)
Sets the armor stand's head's current pose as aEulerAngle
void
setHelmet(ItemStack item)
Sets the item currently being worn by the armor stand on its headvoid
setItemInHand(ItemStack item)
Sets the item the armor stand is currently holdingvoid
setLeftArmPose(EulerAngle pose)
Sets the armor stand's left arm's current pose as aEulerAngle
void
setLeftLegPose(EulerAngle pose)
Sets the armor stand's left leg's current pose as aEulerAngle
void
setLeggings(ItemStack item)
Sets the item currently being worn by the armor stand on its legsvoid
setMarker(boolean marker)
Sets whether this armor stand is a marker, meaning it has a very small collision boxvoid
setRightArmPose(EulerAngle pose)
Sets the armor stand's right arm's current pose as aEulerAngle
void
setRightLegPose(EulerAngle pose)
Sets the armor stand's right leg's current pose as aEulerAngle
void
setSmall(boolean small)
Sets whether this armor stand is scaled downvoid
setVisible(boolean visible)
Sets whether the armor stand should be visible or notMethods inherited from interface org.bukkit.entity.Damageable
_INVALID_damage, _INVALID_damage, _INVALID_getHealth, _INVALID_getMaxHealth, _INVALID_setHealth, _INVALID_setMaxHealth, damage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealth
Methods inherited from interface org.bukkit.entity.Entity
eject, getCustomName, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWorld, isCustomNameVisible, isDead, isEmpty, isInsideVehicle, isOnGround, isValid, leaveVehicle, playEffect, remove, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setLastDamageCause, setPassenger, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleport
Methods inherited from interface org.bukkit.entity.LivingEntity
_INVALID_getLastDamage, _INVALID_setLastDamage, addPotionEffect, addPotionEffect, addPotionEffects, getActivePotionEffects, getCanPickupItems, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getKiller, getLastDamage, getLastTwoTargetBlocks, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getNoDamageTicks, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, getTargetBlock, hasLineOfSight, hasPotionEffect, isLeashed, removePotionEffect, setCanPickupItems, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, shootArrow, throwEgg, throwSnowball
Methods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
Methods inherited from interface org.bukkit.permissions.Permissible
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
Methods inherited from interface org.bukkit.projectiles.ProjectileSource
launchProjectile, launchProjectile
-
Method Details
-
getItemInHand
ItemStack getItemInHand()Returns the item the armor stand is currently holding- Returns:
- the held item
-
setItemInHand
Sets the item the armor stand is currently holding- Parameters:
item
- the item to hold
-
getBoots
ItemStack getBoots()Returns the item currently being worn by the armor stand on its feet- Returns:
- the worn item
-
setBoots
Sets the item currently being worn by the armor stand on its feet- Parameters:
item
- the item to wear
-
getLeggings
ItemStack getLeggings()Returns the item currently being worn by the armor stand on its legs- Returns:
- the worn item
-
setLeggings
Sets the item currently being worn by the armor stand on its legs- Parameters:
item
- the item to wear
-
getChestplate
ItemStack getChestplate()Returns the item currently being worn by the armor stand on its chest- Returns:
- the worn item
-
setChestplate
Sets the item currently being worn by the armor stand on its chest- Parameters:
item
- the item to wear
-
getHelmet
ItemStack getHelmet()Returns the item currently being worn by the armor stand on its head- Returns:
- the worn item
-
setHelmet
Sets the item currently being worn by the armor stand on its head- Parameters:
item
- the item to wear
-
getBodyPose
EulerAngle getBodyPose()Returns the armor stand's body's current pose as aEulerAngle
- Returns:
- the current pose
-
setBodyPose
Sets the armor stand's body's current pose as aEulerAngle
- Parameters:
pose
- the current pose
-
getLeftArmPose
EulerAngle getLeftArmPose()Returns the armor stand's left arm's current pose as aEulerAngle
- Returns:
- the current pose
-
setLeftArmPose
Sets the armor stand's left arm's current pose as aEulerAngle
- Parameters:
pose
- the current pose
-
getRightArmPose
EulerAngle getRightArmPose()Returns the armor stand's right arm's current pose as aEulerAngle
- Returns:
- the current pose
-
setRightArmPose
Sets the armor stand's right arm's current pose as aEulerAngle
- Parameters:
pose
- the current pose
-
getLeftLegPose
EulerAngle getLeftLegPose()Returns the armor stand's left leg's current pose as aEulerAngle
- Returns:
- the current pose
-
setLeftLegPose
Sets the armor stand's left leg's current pose as aEulerAngle
- Parameters:
pose
- the current pose
-
getRightLegPose
EulerAngle getRightLegPose()Returns the armor stand's right leg's current pose as aEulerAngle
- Returns:
- the current pose
-
setRightLegPose
Sets the armor stand's right leg's current pose as aEulerAngle
- Parameters:
pose
- the current pose
-
getHeadPose
EulerAngle getHeadPose()Returns the armor stand's head's current pose as aEulerAngle
- Returns:
- the current pose
-
setHeadPose
Sets the armor stand's head's current pose as aEulerAngle
- 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
-
hasGravity
boolean hasGravity()Returns whether gravity applies to this armor stand- Returns:
- whether gravity applies
-
setGravity
void setGravity(boolean gravity)Sets whether gravity applies to this armor stand- Parameters:
gravity
- whether gravity should apply
-
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
-