接口 ArmorStand
- 所有超级接口:
Attributable
,CommandSender
,Damageable
,Entity
,LivingEntity
,Metadatable
,Nameable
,Permissible
,ProjectileSource
,ServerOperator
-
方法概要
修饰符和类型方法说明以EulerAngle
的形式返回盔甲架身体的姿势.getBoots()
返回盔甲架当前穿在脚上的物品.返回盔甲架当前穿在胸上的物品.以EulerAngle
的形式返回盔甲架头的姿势.返回盔甲架当前戴在头上的物品.返回盔甲架当前握持的物品.以EulerAngle
的形式返回盔甲架左臂的姿势.以EulerAngle
的形式返回盔甲架左腿的姿势.返回盔甲架当前穿在腿上的物品.以EulerAngle
的形式返回盔甲架右臂的姿势.以EulerAngle
的形式返回盔甲架右腿的姿势.boolean
hasArms()
返回盔甲架是否有双臂.boolean
返回盔甲架是否有底盘.boolean
isMarker()
返回盔甲架的marker属性,即是否具有非常小的碰撞箱.boolean
isSmall()
返回盔甲架是否被缩小了.boolean
返回盔甲架是否可视.void
setArms
(boolean arms) 设置盔甲架是否有双臂.void
setBasePlate
(boolean basePlate) 设置盔甲架是否有底盘.void
setBodyPose
(EulerAngle pose) 以EulerAngle
的形式设置盔甲架身体的姿势.void
设置盔甲架当前穿在脚上的物品.void
setChestplate
(ItemStack item) 设置盔甲架当前穿在胸上的物品.void
setHeadPose
(EulerAngle pose) 以EulerAngle
的形式设置盔甲架头的姿势.void
设置盔甲架当前戴在头上的物品.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) 设置盔甲架是否可视.从接口继承的方法 org.bukkit.attribute.Attributable
getAttribute
从接口继承的方法 org.bukkit.command.CommandSender
getName, sendMessage, sendMessage
从接口继承的方法 org.bukkit.entity.Damageable
damage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealth
从接口继承的方法 org.bukkit.entity.Entity
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
从接口继承的方法 org.bukkit.entity.LivingEntity
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
从接口继承的方法 org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
从接口继承的方法 org.bukkit.Nameable
getCustomName, setCustomName
从接口继承的方法 org.bukkit.permissions.Permissible
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
从接口继承的方法 org.bukkit.projectiles.ProjectileSource
launchProjectile, launchProjectile
从接口继承的方法 org.bukkit.permissions.ServerOperator
isOp, setOp
-
方法详细资料
-
getItemInHand
ItemStack getItemInHand()返回盔甲架当前握持的物品.原文: Returns the item the armor stand is currently holding
- 返回:
- 盔甲架当前握持的物品
-
setItemInHand
设置盔甲架当前握持的物品.原文: Sets the item the armor stand is currently holding
- 参数:
item
- 盔甲架当前握持的物品
-
getBoots
ItemStack getBoots()返回盔甲架当前穿在脚上的物品.原文: Returns the item currently being worn by the armor stand on its feet
- 返回:
- 穿戴的物品
-
setBoots
设置盔甲架当前穿在脚上的物品.原文: Sets the item currently being worn by the armor stand on its feet
- 参数:
item
- 穿戴的物品
-
getLeggings
ItemStack getLeggings()返回盔甲架当前穿在腿上的物品.原文: Returns the item currently being worn by the armor stand on its legs
- 返回:
- 穿戴的物品
-
setLeggings
设置盔甲架当前穿在腿上的物品.原文: Sets the item currently being worn by the armor stand on its legs
- 参数:
item
- 穿戴的物品
-
getChestplate
ItemStack getChestplate()返回盔甲架当前穿在胸上的物品.原文: Returns the item currently being worn by the armor stand on its chest
- 返回:
- 穿戴的物品
-
setChestplate
设置盔甲架当前穿在胸上的物品.原文: Sets the item currently being worn by the armor stand on its chest
- 参数:
item
- 穿戴的物品
-
getHelmet
ItemStack getHelmet()返回盔甲架当前戴在头上的物品.原文: Returns the item currently being worn by the armor stand on its head
- 返回:
- 穿戴的物品
-
setHelmet
设置盔甲架当前戴在头上的物品.原文: Sets the item currently being worn by the armor stand on its head
- 参数:
item
- 穿戴的物品
-
getBodyPose
EulerAngle getBodyPose()以EulerAngle
的形式返回盔甲架身体的姿势.原文: Returns the armor stand's body's current pose as a
EulerAngle
- 返回:
- 当前姿势
-
setBodyPose
以EulerAngle
的形式设置盔甲架身体的姿势.原文: Sets the armor stand's body's current pose as a
EulerAngle
- 参数:
pose
- 当前姿势
-
getLeftArmPose
EulerAngle getLeftArmPose()以EulerAngle
的形式返回盔甲架左臂的姿势.原文: Returns the armor stand's left arm's current pose as a
EulerAngle
- 返回:
- 当前姿势
-
setLeftArmPose
以EulerAngle
的形式设置盔甲架左臂的姿势.原文: Sets the armor stand's left arm's current pose as a
EulerAngle
- 参数:
pose
- 当前姿势
-
getRightArmPose
EulerAngle getRightArmPose()以EulerAngle
的形式返回盔甲架右臂的姿势.原文: Returns the armor stand's right arm's current pose as a
EulerAngle
- 返回:
- 当前姿势
-
setRightArmPose
以EulerAngle
的形式设置盔甲架右臂的姿势.原文: Sets the armor stand's right arm's current pose as a
EulerAngle
- 参数:
pose
- 当前姿势
-
getLeftLegPose
EulerAngle getLeftLegPose()以EulerAngle
的形式返回盔甲架左腿的姿势.原文: Returns the armor stand's left leg's current pose as a
EulerAngle
- 返回:
- 当前姿势
-
setLeftLegPose
以EulerAngle
的形式设置盔甲架身左腿的姿势.原文: Sets the armor stand's left leg's current pose as a
EulerAngle
- 参数:
pose
- 当前姿势
-
getRightLegPose
EulerAngle getRightLegPose()以EulerAngle
的形式返回盔甲架右腿的姿势.原文: Returns the armor stand's right leg's current pose as a
EulerAngle
- 返回:
- 当前姿势
-
setRightLegPose
以EulerAngle
的形式设置盔甲架右腿的姿势.原文: Sets the armor stand's right leg's current pose as a
EulerAngle
- 参数:
pose
- 当前姿势
-
getHeadPose
EulerAngle getHeadPose()以EulerAngle
的形式返回盔甲架头的姿势.原文: Returns the armor stand's head's current pose as a
EulerAngle
- 返回:
- 当前姿势
-
setHeadPose
以EulerAngle
的形式设置盔甲架头的姿势.原文: Sets the armor stand's head's current pose as a
EulerAngle
- 参数:
pose
- 当前姿势
-
hasBasePlate
boolean hasBasePlate()返回盔甲架是否有底盘.原文: Returns whether the armor stand has a base plate
- 返回:
- 是否有底盘
-
setBasePlate
void setBasePlate(boolean basePlate) 设置盔甲架是否有底盘.原文: Sets whether the armor stand has a base plate
- 参数:
basePlate
- 是否有底盘
-
isVisible
boolean isVisible()返回盔甲架是否可视.原文: Returns whether the armor stand should be visible or not
- 返回:
- 盔甲架是否可视
-
setVisible
void setVisible(boolean visible) 设置盔甲架是否可视.原文: Sets whether the armor stand should be visible or not
- 参数:
visible
- 盔甲架是否可视
-
hasArms
boolean hasArms()返回盔甲架是否有双臂.原文: Returns whether this armor stand has arms
- 返回:
- 是否有双臂
-
setArms
void setArms(boolean arms) 设置盔甲架是否有双臂.原文: Sets whether this armor stand has arms
- 参数:
arms
- 是否有双臂
-
isSmall
boolean isSmall()返回盔甲架是否被缩小了.原文: Returns whether this armor stand is scaled down
- 返回:
- 是否被缩小
-
setSmall
void setSmall(boolean small) 设置盔甲架是否被缩小.原文: Sets whether this armor stand is scaled down
- 参数:
small
- 是否被缩小
-
isMarker
boolean isMarker()返回盔甲架的marker属性,即是否具有非常小的碰撞箱.原文: Returns whether this armor stand is a marker, meaning it has a very small collision box
- 返回:
- 盔甲架的marker属性
-
setMarker
void setMarker(boolean marker) 设置盔甲架的marker属性,即是否具有非常小的碰撞箱.原文: Sets whether this armor stand is a marker, meaning it has a very small collision box
- 参数:
marker
- 盔甲架的marker属性
-