public interface ArmorStand extends LivingEntity
限定符和类型 | 方法和说明 |
---|---|
EulerAngle |
getBodyPose()
以
EulerAngle 的形式返回盔甲架身体的姿势. |
ItemStack |
getBoots()
返回盔甲架当前穿在脚上的物品.
|
ItemStack |
getChestplate()
返回盔甲架当前穿在胸上的物品.
|
EulerAngle |
getHeadPose()
以
EulerAngle 的形式返回盔甲架头的姿势. |
ItemStack |
getHelmet()
返回盔甲架当前戴在头上的物品.
|
ItemStack |
getItemInHand()
返回盔甲架当前握持的物品.
|
EulerAngle |
getLeftArmPose()
以
EulerAngle 的形式返回盔甲架左臂的姿势. |
EulerAngle |
getLeftLegPose()
以
EulerAngle 的形式返回盔甲架左腿的姿势. |
ItemStack |
getLeggings()
返回盔甲架当前穿在腿上的物品.
|
EulerAngle |
getRightArmPose()
以
EulerAngle 的形式返回盔甲架右臂的姿势. |
EulerAngle |
getRightLegPose()
以
EulerAngle 的形式返回盔甲架右腿的姿势. |
boolean |
hasArms()
返回盔甲架是否有双臂.
|
boolean |
hasBasePlate()
返回盔甲架是否有底盘.
|
boolean |
isMarker()
返回盔甲架的marker属性,即是否具有非常小的碰撞箱.
|
boolean |
isSmall()
返回盔甲架是否被缩小了.
|
boolean |
isVisible()
返回盔甲架是否可视.
|
void |
setArms(boolean arms)
设置盔甲架是否有双臂.
|
void |
setBasePlate(boolean basePlate)
设置盔甲架是否有底盘.
|
void |
setBodyPose(EulerAngle pose)
以
EulerAngle 的形式设置盔甲架身体的姿势. |
void |
setBoots(ItemStack item)
设置盔甲架当前穿在脚上的物品.
|
void |
setChestplate(ItemStack item)
设置盔甲架当前穿在胸上的物品.
|
void |
setHeadPose(EulerAngle pose)
以
EulerAngle 的形式设置盔甲架头的姿势. |
void |
setHelmet(ItemStack item)
设置盔甲架当前戴在头上的物品.
|
void |
setItemInHand(ItemStack item)
设置盔甲架当前握持的物品.
|
void |
setLeftArmPose(EulerAngle pose)
以
EulerAngle 的形式设置盔甲架左臂的姿势. |
void |
setLeftLegPose(EulerAngle pose)
以
EulerAngle 的形式设置盔甲架身左腿的姿势. |
void |
setLeggings(ItemStack item)
设置盔甲架当前穿在腿上的物品.
|
void |
setMarker(boolean marker)
设置盔甲架的marker属性,即是否具有非常小的碰撞箱.
|
void |
setRightArmPose(EulerAngle pose)
以
EulerAngle 的形式设置盔甲架右臂的姿势. |
void |
setRightLegPose(EulerAngle pose)
以
EulerAngle 的形式设置盔甲架右腿的姿势. |
void |
setSmall(boolean small)
设置盔甲架是否被缩小.
|
void |
setVisible(boolean visible)
设置盔甲架是否可视.
|
addPotionEffect, addPotionEffect, addPotionEffects, getActivePotionEffects, getCanPickupItems, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, hasAI, hasLineOfSight, hasPotionEffect, isCollidable, isGliding, isLeashed, removePotionEffect, setAI, setCanPickupItems, setCollidable, setGliding, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway
getAttribute
damage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealth
addPassenger, addScoreboardTag, eject, getEntityId, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, 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, teleport, teleport, teleport, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
getName, sendMessage, sendMessage
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
isOp, setOp
getCustomName, setCustomName
launchProjectile, launchProjectile
ItemStack getItemInHand()
原文: Returns the item the armor stand is currently holding
void setItemInHand(ItemStack item)
原文: Sets the item the armor stand is currently holding
item
- 盔甲架当前握持的物品ItemStack getBoots()
原文: Returns the item currently being worn by the armor stand on its feet
void setBoots(ItemStack item)
原文: Sets the item currently being worn by the armor stand on its feet
item
- 穿戴的物品ItemStack getLeggings()
原文: Returns the item currently being worn by the armor stand on its legs
void setLeggings(ItemStack item)
原文: Sets the item currently being worn by the armor stand on its legs
item
- 穿戴的物品ItemStack getChestplate()
原文: Returns the item currently being worn by the armor stand on its chest
void setChestplate(ItemStack item)
原文: Sets the item currently being worn by the armor stand on its chest
item
- 穿戴的物品ItemStack getHelmet()
原文: Returns the item currently being worn by the armor stand on its head
void setHelmet(ItemStack item)
原文: Sets the item currently being worn by the armor stand on its head
item
- 穿戴的物品EulerAngle getBodyPose()
EulerAngle
的形式返回盔甲架身体的姿势.
原文:
Returns the armor stand's body's
current pose as a EulerAngle
void setBodyPose(EulerAngle pose)
EulerAngle
的形式设置盔甲架身体的姿势.
原文:
Sets the armor stand's body's
current pose as a EulerAngle
pose
- 当前姿势EulerAngle getLeftArmPose()
EulerAngle
的形式返回盔甲架左臂的姿势.
原文:
Returns the armor stand's left arm's
current pose as a EulerAngle
void setLeftArmPose(EulerAngle pose)
EulerAngle
的形式设置盔甲架左臂的姿势.
原文:
Sets the armor stand's left arm's
current pose as a EulerAngle
pose
- 当前姿势EulerAngle getRightArmPose()
EulerAngle
的形式返回盔甲架右臂的姿势.
原文:
Returns the armor stand's right arm's
current pose as a EulerAngle
void setRightArmPose(EulerAngle pose)
EulerAngle
的形式设置盔甲架右臂的姿势.
原文:
Sets the armor stand's right arm's
current pose as a EulerAngle
pose
- 当前姿势EulerAngle getLeftLegPose()
EulerAngle
的形式返回盔甲架左腿的姿势.
原文:
Returns the armor stand's left leg's
current pose as a EulerAngle
void setLeftLegPose(EulerAngle pose)
EulerAngle
的形式设置盔甲架身左腿的姿势.
原文:
Sets the armor stand's left leg's
current pose as a EulerAngle
pose
- 当前姿势EulerAngle getRightLegPose()
EulerAngle
的形式返回盔甲架右腿的姿势.
原文:
Returns the armor stand's right leg's
current pose as a EulerAngle
void setRightLegPose(EulerAngle pose)
EulerAngle
的形式设置盔甲架右腿的姿势.
原文:
Sets the armor stand's right leg's
current pose as a EulerAngle
pose
- 当前姿势EulerAngle getHeadPose()
EulerAngle
的形式返回盔甲架头的姿势.
原文:
Returns the armor stand's head's
current pose as a EulerAngle
void setHeadPose(EulerAngle pose)
EulerAngle
的形式设置盔甲架头的姿势.
原文:
Sets the armor stand's head's
current pose as a EulerAngle
pose
- 当前姿势boolean hasBasePlate()
原文: Returns whether the armor stand has a base plate
void setBasePlate(boolean basePlate)
原文: Sets whether the armor stand has a base plate
basePlate
- 是否有底盘boolean isVisible()
原文: Returns whether the armor stand should be visible or not
void setVisible(boolean visible)
原文: Sets whether the armor stand should be visible or not
visible
- 盔甲架是否可视boolean hasArms()
原文: Returns whether this armor stand has arms
void setArms(boolean arms)
原文: Sets whether this armor stand has arms
arms
- 是否有双臂boolean isSmall()
原文: Returns whether this armor stand is scaled down
void setSmall(boolean small)
原文: Sets whether this armor stand is scaled down
small
- 是否被缩小boolean isMarker()
原文: Returns whether this armor stand is a marker, meaning it has a very small collision box
void setMarker(boolean marker)
原文: Sets whether this armor stand is a marker, meaning it has a very small collision box
marker
- 盔甲架的marker属性