public interface ArmorStand extends LivingEntity
Entity.Spigot
Modifier and Type | Method and Description |
---|---|
boolean |
canMove()
Tests if this armor stand can move.
|
boolean |
canTick()
Tests if this armor stand can tick.
|
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 |
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 |
setCanMove(boolean move)
Sets if this armor stand can move.
|
void |
setCanTick(boolean tick)
Sets if this armor stand can tick.
|
void |
setChestplate(ItemStack item)
Sets the item currently being worn
by the armor stand on its chest
|
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
|
addPotionEffect, addPotionEffect, addPotionEffects, getActiveItem, getActivePotionEffects, getArrowsStuck, getCanPickupItems, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getHandRaisedTime, getItemUseRemainingTime, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getShieldBlockingDelay, getTargetBlock, hasAI, hasLineOfSight, hasPotionEffect, isCollidable, isGliding, isHandRaised, isLeashed, playAnimation, removePotionEffect, setAI, setArrowsStuck, setCanPickupItems, setCollidable, setGliding, setKiller, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setShieldBlockingDelay
getAttribute
damage, damage, damage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealth
addPassenger, addScoreboardTag, eject, fromMobSpawner, getChunk, getEntityId, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPortalCooldown, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
getName, sendMessage, sendMessage, sendMessage, sendMessage
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
isOp, setOp
getCustomName, setCustomName
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 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 markerboolean canMove()
The default value is true
.
true
if this armour stand can move, false
otherwisevoid setCanMove(boolean move)
move
- true
if this armour stand can move, false
otherwiseboolean canTick()
The default value is defined in paper.yml
.
true
if this armour stand can tick, false
otherwisevoid setCanTick(boolean tick)
tick
- true
if this armour stand can tick, false
otherwiseCopyright © 2021. All rights reserved.