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 |
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 |
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, 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, setSwimminggetAttributedamage, damage, getAbsorptionAmount, getHealth, getMaxHealth, resetMaxHealth, setAbsorptionAmount, setHealth, setMaxHealthaddPassenger, 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, teleportgetMetadata, hasMetadata, removeMetadata, setMetadatagetName, sendMessage, sendMessageaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentisOp, setOpgetCustomName, setCustomNamegetPersistentDataContainerlaunchProjectile, launchProjectile@NotNull ItemStack getItemInHand()
void setItemInHand(@Nullable
ItemStack item)
item - the item to hold@NotNull ItemStack getBoots()
void setBoots(@Nullable
ItemStack item)
item - the item to wear@NotNull ItemStack getLeggings()
void setLeggings(@Nullable
ItemStack item)
item - the item to wear@NotNull ItemStack getChestplate()
void setChestplate(@Nullable
ItemStack item)
item - the item to wear@NotNull ItemStack getHelmet()
void setHelmet(@Nullable
ItemStack item)
item - the item to wear@NotNull EulerAngle getBodyPose()
EulerAnglevoid setBodyPose(@NotNull
EulerAngle pose)
EulerAnglepose - the current pose@NotNull EulerAngle getLeftArmPose()
EulerAnglevoid setLeftArmPose(@NotNull
EulerAngle pose)
EulerAnglepose - the current pose@NotNull EulerAngle getRightArmPose()
EulerAnglevoid setRightArmPose(@NotNull
EulerAngle pose)
EulerAnglepose - the current pose@NotNull EulerAngle getLeftLegPose()
EulerAnglevoid setLeftLegPose(@NotNull
EulerAngle pose)
EulerAnglepose - the current pose@NotNull EulerAngle getRightLegPose()
EulerAnglevoid setRightLegPose(@NotNull
EulerAngle pose)
EulerAnglepose - the current pose@NotNull EulerAngle getHeadPose()
EulerAnglevoid setHeadPose(@NotNull
EulerAngle pose)
EulerAnglepose - 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 markerCopyright © 2022. All rights reserved.