Attributable
, CommandSender
, Damageable
, Entity
, LivingEntity
, Metadatable
, Nameable
, Permissible
, PersistentDataHolder
, ProjectileSource
, ServerOperator
public interface ArmorStand extends LivingEntity
Entity.Spigot
Modifier and Type | Method | Description |
---|---|---|
@NotNull EulerAngle |
getBodyPose() |
Returns the armor stand's body's current pose as a
EulerAngle . |
@NotNull ItemStack |
getBoots() |
Deprecated.
prefer
EntityEquipment.getBoots() |
@NotNull ItemStack |
getChestplate() |
Deprecated.
|
@NotNull EulerAngle |
getHeadPose() |
Returns the armor stand's head's current pose as a
EulerAngle . |
@NotNull ItemStack |
getHelmet() |
Deprecated.
prefer
EntityEquipment.getHelmet() |
@NotNull ItemStack |
getItemInHand() |
Deprecated.
|
@NotNull EulerAngle |
getLeftArmPose() |
Returns the armor stand's left arm's current pose as a
EulerAngle . |
@NotNull EulerAngle |
getLeftLegPose() |
Returns the armor stand's left leg's current pose as a
EulerAngle . |
@NotNull ItemStack |
getLeggings() |
Deprecated.
|
@NotNull EulerAngle |
getRightArmPose() |
Returns the armor stand's right arm's current pose as a
EulerAngle . |
@NotNull 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(@NotNull EulerAngle pose) |
Sets the armor stand's body's current pose as a
EulerAngle . |
void |
setBoots(@Nullable ItemStack item) |
Deprecated.
|
void |
setChestplate(@Nullable ItemStack item) |
Deprecated.
|
void |
setHeadPose(@NotNull EulerAngle pose) |
Sets the armor stand's head's current pose as a
EulerAngle . |
void |
setHelmet(@Nullable ItemStack item) |
Deprecated.
|
void |
setItemInHand(@Nullable ItemStack item) |
Deprecated.
|
void |
setLeftArmPose(@NotNull EulerAngle pose) |
Sets the armor stand's left arm's current pose as a
EulerAngle . |
void |
setLeftLegPose(@NotNull EulerAngle pose) |
Sets the armor stand's left leg's current pose as a
EulerAngle . |
void |
setLeggings(@Nullable ItemStack item) |
Deprecated.
|
void |
setMarker(boolean marker) |
Sets whether this armor stand is a marker, meaning it has a very small
collision box.
|
void |
setRightArmPose(@NotNull EulerAngle pose) |
Sets the armor stand's right arm's current pose as a
EulerAngle . |
void |
setRightLegPose(@NotNull 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.
|
getAttribute
getName, sendMessage, sendMessage
damage, damage, getAbsorptionAmount, getHealth, getMaxHealth, resetMaxHealth, setAbsorptionAmount, setHealth, setMaxHealth
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
addPotionEffect, addPotionEffect, addPotionEffects, attack, 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, swingMainHand, swingOffHand
getMetadata, hasMetadata, removeMetadata, setMetadata
getCustomName, setCustomName
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
getPersistentDataContainer
launchProjectile, launchProjectile
isOp, setOp
@NotNull @Deprecated @NotNull ItemStack getItemInHand()
EntityEquipment.getItemInHand()
LivingEntity.getEquipment()
@Deprecated void setItemInHand(@Nullable @Nullable ItemStack item)
EntityEquipment.setItemInHand(org.bukkit.inventory.ItemStack)
item
- the item to holdLivingEntity.getEquipment()
@NotNull @Deprecated @NotNull ItemStack getBoots()
EntityEquipment.getBoots()
LivingEntity.getEquipment()
@Deprecated void setBoots(@Nullable @Nullable ItemStack item)
EntityEquipment.setBoots(org.bukkit.inventory.ItemStack)
item
- the item to wearLivingEntity.getEquipment()
@NotNull @Deprecated @NotNull ItemStack getLeggings()
EntityEquipment.getLeggings()
LivingEntity.getEquipment()
@Deprecated void setLeggings(@Nullable @Nullable ItemStack item)
EntityEquipment.setLeggings(org.bukkit.inventory.ItemStack)
item
- the item to wearLivingEntity.getEquipment()
@NotNull @Deprecated @NotNull ItemStack getChestplate()
EntityEquipment.getChestplate()
LivingEntity.getEquipment()
@Deprecated void setChestplate(@Nullable @Nullable ItemStack item)
EntityEquipment.setChestplate(org.bukkit.inventory.ItemStack)
item
- the item to wearLivingEntity.getEquipment()
@NotNull @Deprecated @NotNull ItemStack getHelmet()
EntityEquipment.getHelmet()
LivingEntity.getEquipment()
@Deprecated void setHelmet(@Nullable @Nullable ItemStack item)
EntityEquipment.setHelmet(org.bukkit.inventory.ItemStack)
item
- the item to wearLivingEntity.getEquipment()
@NotNull @NotNull EulerAngle getBodyPose()
EulerAngle
.void setBodyPose(@NotNull @NotNull EulerAngle pose)
EulerAngle
.pose
- the current pose@NotNull @NotNull EulerAngle getLeftArmPose()
EulerAngle
.void setLeftArmPose(@NotNull @NotNull EulerAngle pose)
EulerAngle
.pose
- the current pose@NotNull @NotNull EulerAngle getRightArmPose()
EulerAngle
.void setRightArmPose(@NotNull @NotNull EulerAngle pose)
EulerAngle
.pose
- the current pose@NotNull @NotNull EulerAngle getLeftLegPose()
EulerAngle
.void setLeftLegPose(@NotNull @NotNull EulerAngle pose)
EulerAngle
.pose
- the current pose@NotNull @NotNull EulerAngle getRightLegPose()
EulerAngle
.void setRightLegPose(@NotNull @NotNull EulerAngle pose)
EulerAngle
.pose
- the current pose@NotNull @NotNull EulerAngle getHeadPose()
EulerAngle
.void setHeadPose(@NotNull @NotNull 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 markerCopyright © 2020. All rights reserved.