public interface ArmorStand extends Living, ArmorEquipable
Modifier and Type | Method and Description |
---|---|
boolean |
doesShowArms()
Returns whether this armor stand shows arms or not.
|
default BodyPartRotationalData |
getBodyPartRotationalData()
Gets a copy of the current
BodyPartRotationalData used by this
ArmorStand . |
boolean |
hasBasePlate()
Gets whether this armor stand has a visible base plate or not.
|
boolean |
hasGravity()
Returns whether this armor stand is affected by gravity or not.
|
boolean |
isSmall()
Returns whether this armor stand is a small armor stand or not.
|
void |
setGravity(boolean gravity)
Sets whether this armor stand is affected by gravity or not.
|
void |
setHasBasePlate(boolean baseplate)
Sets this armor stand to have a base plate or not.
|
void |
setShowArms(boolean showArms)
Sets whether this armor stand will show its arms or not.
|
void |
setSmall(boolean small)
Sets this armor stand to be small or not.
|
getHealthData, getMortalData
createSnapshot, damage, getLocation, getRotation, getScale, getTransform, getType, getWorld, isLoaded, isOnGround, isRemoved, remove, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setRotation, setScale, setTransform, transferToWorld, transferToWorld
setRawData, validateRawData
toContainer
getApplicableProperties, getProperty
copyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, supports, transform, undo
copy, get, getKeys, getOrElse, getOrNull, getValue, getValues, supports, supports
getTeamRepresentation
getBoots, getChestplate, getHelmet, getItemInHand, getLeggings, setBoots, setChestplate, setHelmet, setItemInHand, setLeggings
canEquip, canEquip, equip, getEquipped
getUniqueId
getInventory
default BodyPartRotationalData getBodyPartRotationalData()
BodyPartRotationalData
used by this
ArmorStand
.boolean isSmall()
void setSmall(boolean small)
Small armor stands may have different bounding box sizes.
small
- Whether this is to be a small armor stand or notboolean hasGravity()
void setGravity(boolean gravity)
gravity
- Whether this armor stand is affected by gravityboolean doesShowArms()
Arms that do not show may also not show an item in hand.
void setShowArms(boolean showArms)
Arms that do not show may also not show an item in hand.
showArms
- Whether to show arms or notboolean hasBasePlate()
void setHasBasePlate(boolean baseplate)
baseplate
- Whether this armor stand is to have a base plate