Package org.bukkit.entity
Interface ArmorStand
-
- All Superinterfaces:
Attributable,CommandSender,Damageable,Entity,LivingEntity,Metadatable,Nameable,Permissible,PersistentDataHolder,ProjectileSource,ServerOperator
public interface ArmorStand extends LivingEntity
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.bukkit.entity.Entity
Entity.Spigot
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EulerAnglegetBodyPose()Returns the armor stand's body's current pose as aEulerAngleItemStackgetBoots()Returns the item currently being worn by the armor stand on its feetItemStackgetChestplate()Returns the item currently being worn by the armor stand on its chestEulerAnglegetHeadPose()Returns the armor stand's head's current pose as aEulerAngleItemStackgetHelmet()Returns the item currently being worn by the armor stand on its headItemStackgetItemInHand()Returns the item the armor stand is currently holdingEulerAnglegetLeftArmPose()Returns the armor stand's left arm's current pose as aEulerAngleEulerAnglegetLeftLegPose()Returns the armor stand's left leg's current pose as aEulerAngleItemStackgetLeggings()Returns the item currently being worn by the armor stand on its legsEulerAnglegetRightArmPose()Returns the armor stand's right arm's current pose as aEulerAngleEulerAnglegetRightLegPose()Returns the armor stand's right leg's current pose as aEulerAnglebooleanhasArms()Returns whether this armor stand has armsbooleanhasBasePlate()Returns whether the armor stand has a base platebooleanisMarker()Returns whether this armor stand is a marker, meaning it has a very small collision boxbooleanisSmall()Returns whether this armor stand is scaled downbooleanisVisible()Returns whether the armor stand should be visible or notvoidsetArms(boolean arms)Sets whether this armor stand has armsvoidsetBasePlate(boolean basePlate)Sets whether the armor stand has a base platevoidsetBodyPose(EulerAngle pose)Sets the armor stand's body's current pose as aEulerAnglevoidsetBoots(ItemStack item)Sets the item currently being worn by the armor stand on its feetvoidsetChestplate(ItemStack item)Sets the item currently being worn by the armor stand on its chestvoidsetHeadPose(EulerAngle pose)Sets the armor stand's head's current pose as aEulerAnglevoidsetHelmet(ItemStack item)Sets the item currently being worn by the armor stand on its headvoidsetItemInHand(ItemStack item)Sets the item the armor stand is currently holdingvoidsetLeftArmPose(EulerAngle pose)Sets the armor stand's left arm's current pose as aEulerAnglevoidsetLeftLegPose(EulerAngle pose)Sets the armor stand's left leg's current pose as aEulerAnglevoidsetLeggings(ItemStack item)Sets the item currently being worn by the armor stand on its legsvoidsetMarker(boolean marker)Sets whether this armor stand is a marker, meaning it has a very small collision boxvoidsetRightArmPose(EulerAngle pose)Sets the armor stand's right arm's current pose as aEulerAnglevoidsetRightLegPose(EulerAngle pose)Sets the armor stand's right leg's current pose as aEulerAnglevoidsetSmall(boolean small)Sets whether this armor stand is scaled downvoidsetVisible(boolean visible)Sets whether the armor stand should be visible or not-
Methods inherited from interface org.bukkit.attribute.Attributable
getAttribute
-
Methods inherited from interface org.bukkit.command.CommandSender
getName, sendMessage, sendMessage
-
Methods inherited from interface org.bukkit.entity.Damageable
damage, damage, getAbsorptionAmount, getHealth, getMaxHealth, resetMaxHealth, setAbsorptionAmount, setHealth, setMaxHealth
-
Methods inherited from interface org.bukkit.entity.Entity
addPassenger, addScoreboardTag, eject, getBoundingBox, getEntityId, getFacing, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, 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
-
Methods inherited from interface org.bukkit.entity.LivingEntity
addPotionEffect, addPotionEffect, addPotionEffects, getActivePotionEffects, getCanPickupItems, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getMemory, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, getTargetBlockExact, getTargetBlockExact, hasAI, hasLineOfSight, hasPotionEffect, isCollidable, isGliding, isLeashed, isRiptiding, isSleeping, isSwimming, rayTraceBlocks, rayTraceBlocks, removePotionEffect, setAI, setCanPickupItems, setCollidable, setGliding, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setMemory, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setSwimming
-
Methods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
-
Methods inherited from interface org.bukkit.Nameable
getCustomName, setCustomName
-
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.persistence.PersistentDataHolder
getPersistentDataContainer
-
Methods inherited from interface org.bukkit.projectiles.ProjectileSource
launchProjectile, launchProjectile
-
Methods inherited from interface org.bukkit.permissions.ServerOperator
isOp, setOp
-
-
-
-
Method Detail
-
getItemInHand
@NotNull ItemStack getItemInHand()
Returns the item the armor stand is currently holding- Returns:
- the held item
-
setItemInHand
void setItemInHand(@Nullable ItemStack item)Sets the item the armor stand is currently holding- Parameters:
item- the item to hold
-
getBoots
@NotNull ItemStack getBoots()
Returns the item currently being worn by the armor stand on its feet- Returns:
- the worn item
-
setBoots
void setBoots(@Nullable ItemStack item)Sets the item currently being worn by the armor stand on its feet- Parameters:
item- the item to wear
-
getLeggings
@NotNull ItemStack getLeggings()
Returns the item currently being worn by the armor stand on its legs- Returns:
- the worn item
-
setLeggings
void setLeggings(@Nullable ItemStack item)Sets the item currently being worn by the armor stand on its legs- Parameters:
item- the item to wear
-
getChestplate
@NotNull ItemStack getChestplate()
Returns the item currently being worn by the armor stand on its chest- Returns:
- the worn item
-
setChestplate
void setChestplate(@Nullable ItemStack item)Sets the item currently being worn by the armor stand on its chest- Parameters:
item- the item to wear
-
getHelmet
@NotNull ItemStack getHelmet()
Returns the item currently being worn by the armor stand on its head- Returns:
- the worn item
-
setHelmet
void setHelmet(@Nullable ItemStack item)Sets the item currently being worn by the armor stand on its head- Parameters:
item- the item to wear
-
getBodyPose
@NotNull EulerAngle getBodyPose()
Returns the armor stand's body's current pose as aEulerAngle- Returns:
- the current pose
-
setBodyPose
void setBodyPose(@NotNull EulerAngle pose)Sets the armor stand's body's current pose as aEulerAngle- Parameters:
pose- the current pose
-
getLeftArmPose
@NotNull EulerAngle getLeftArmPose()
Returns the armor stand's left arm's current pose as aEulerAngle- Returns:
- the current pose
-
setLeftArmPose
void setLeftArmPose(@NotNull EulerAngle pose)Sets the armor stand's left arm's current pose as aEulerAngle- Parameters:
pose- the current pose
-
getRightArmPose
@NotNull EulerAngle getRightArmPose()
Returns the armor stand's right arm's current pose as aEulerAngle- Returns:
- the current pose
-
setRightArmPose
void setRightArmPose(@NotNull EulerAngle pose)Sets the armor stand's right arm's current pose as aEulerAngle- Parameters:
pose- the current pose
-
getLeftLegPose
@NotNull EulerAngle getLeftLegPose()
Returns the armor stand's left leg's current pose as aEulerAngle- Returns:
- the current pose
-
setLeftLegPose
void setLeftLegPose(@NotNull EulerAngle pose)Sets the armor stand's left leg's current pose as aEulerAngle- Parameters:
pose- the current pose
-
getRightLegPose
@NotNull EulerAngle getRightLegPose()
Returns the armor stand's right leg's current pose as aEulerAngle- Returns:
- the current pose
-
setRightLegPose
void setRightLegPose(@NotNull EulerAngle pose)Sets the armor stand's right leg's current pose as aEulerAngle- Parameters:
pose- the current pose
-
getHeadPose
@NotNull EulerAngle getHeadPose()
Returns the armor stand's head's current pose as aEulerAngle- Returns:
- the current pose
-
setHeadPose
void setHeadPose(@NotNull EulerAngle pose)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
-
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
-
-