public interface ArmorStand extends LivingEntity
Entity.Spigot
Modifier and Type | Method and Description |
---|---|
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
|
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 |
getItemInHand()
Returns the item the armor stand is
currently holding
|
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 |
hasGravity()
Returns whether gravity applies to
this armor stand
|
boolean |
isMarker()
Returns whether this armor stand is a marker,
meaning it has a very small collision box
|
boolean |
isSmall()
Returns whether this armor stand is scaled
down
|
boolean |
isVisible()
Returns whether the armor stand should be
visible or not
|
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 |
setChestplate(ItemStack item)
Sets the item currently being worn
by the armor stand on its chest
|
void |
setGravity(boolean gravity)
Sets whether gravity applies to
this 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 |
setItemInHand(ItemStack item)
Sets the item the armor stand is currently
holding
|
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
|
_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
_INVALID_damage, _INVALID_damage, _INVALID_getHealth, _INVALID_getMaxHealth, _INVALID_setHealth, _INVALID_setMaxHealth, damage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealth
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
getMetadata, hasMetadata, removeMetadata, setMetadata
getName, sendMessage, sendMessage
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
isOp, setOp
launchProjectile, launchProjectile
ItemStack getItemInHand()
void setItemInHand(ItemStack item)
item
- the item to holdItemStack 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()
EulerAngle
void setBodyPose(EulerAngle pose)
EulerAngle
pose
- the current poseEulerAngle getLeftArmPose()
EulerAngle
void setLeftArmPose(EulerAngle pose)
EulerAngle
pose
- the current poseEulerAngle getRightArmPose()
EulerAngle
void setRightArmPose(EulerAngle pose)
EulerAngle
pose
- the current poseEulerAngle getLeftLegPose()
EulerAngle
void setLeftLegPose(EulerAngle pose)
EulerAngle
pose
- the current poseEulerAngle getRightLegPose()
EulerAngle
void setRightLegPose(EulerAngle pose)
EulerAngle
pose
- the current poseEulerAngle getHeadPose()
EulerAngle
void setHeadPose(EulerAngle pose)
EulerAngle
pose
- the current poseboolean hasBasePlate()
void setBasePlate(boolean basePlate)
basePlate
- whether is has a base plateboolean hasGravity()
void setGravity(boolean gravity)
gravity
- whether gravity should applyboolean 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 markerCopyright © 2022. All rights reserved.