It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import crafttweaker.api.entity.LivingEntity;

Extending Entity

Link to extending-entity

LivingEntity extends Entity. That means all methods available in Entity are also available in LivingEntity

Name: addEffect

Return Type: boolean

ZenScript
Copy
LivingEntity.addEffect(effectInstance as MobEffectInstance) as boolean
参数类型描述
参数
effectInstance
类型
MobEffectInstance
描述
No Description Provided

Name: addEffect

Return Type: boolean

ZenScript
Copy
LivingEntity.addEffect(effectInstance as MobEffectInstance, entity as Entity) as boolean
参数类型描述
参数
effectInstance
类型
MobEffectInstance
描述
No Description Provided
参数
entity
类型
Entity
描述
No Description Provided

Name: attackable

Return Type: boolean

ZenScript
Copy
// LivingEntity.attackable() as boolean

myLivingEntity.attackable();

Name: canAttack

Return Type: boolean

ZenScript
Copy
LivingEntity.canAttack(target as LivingEntity) as boolean
参数类型描述
参数
target
类型
LivingEntity
描述
No Description Provided

Name: canBeAffected

Return Type: boolean

ZenScript
Copy
LivingEntity.canBeAffected(effectInstance as MobEffectInstance) as boolean
参数类型描述
参数
effectInstance
类型
MobEffectInstance
描述
No Description Provided

Link to canBeSeenAsEnemy

Name: canBeSeenAsEnemy

Return Type: boolean

ZenScript
Copy
// LivingEntity.canBeSeenAsEnemy() as boolean

myLivingEntity.canBeSeenAsEnemy();

Link to canBeSeenByAnyone

Name: canBeSeenByAnyone

Return Type: boolean

ZenScript
Copy
// LivingEntity.canBeSeenByAnyone() as boolean

myLivingEntity.canBeSeenByAnyone();

Link to canBreatheUnderwater

Name: canBreatheUnderwater

Return Type: boolean

ZenScript
Copy
// LivingEntity.canBreatheUnderwater() as boolean

myLivingEntity.canBreatheUnderwater();

Link to canSpawnSoulSpeedParticle

Name: canSpawnSoulSpeedParticle

Return Type: boolean

ZenScript
Copy
// LivingEntity.canSpawnSoulSpeedParticle() as boolean

myLivingEntity.canSpawnSoulSpeedParticle();

Name: canStandOnFluid

Return Type: boolean

ZenScript
Copy
LivingEntity.canStandOnFluid(fluid as Fluid) as boolean
参数类型描述
参数
fluid
类型
Fluid
描述
No Description Provided

Name: canTakeItem

Return Type: boolean

ZenScript
Copy
LivingEntity.canTakeItem(stack as ItemStack) as boolean
参数类型描述
参数
堆叠
类型
物品应用
描述
No Description Provided

Link to clearSleepingPos

Name: clearSleepingPos

Return Type: void

ZenScript
Copy
// LivingEntity.clearSleepingPos() as void

myLivingEntity.clearSleepingPos();

Name: die

Return Type: void

ZenScript
Copy
LivingEntity.die(source as DamageSource) as void
参数类型描述
参数
来源
类型
DamageSource
描述
No Description Provided

Name: doHurtTarget

Return Type: boolean

ZenScript
Copy
LivingEntity.doHurtTarget(entity as Entity) as boolean
参数类型描述
参数
entity
类型
Entity
描述
No Description Provided

Name: eat

Return Type: ItemStack

ZenScript
Copy
LivingEntity.eat(level as Level, stack as ItemStack) as ItemStack
参数类型描述
参数
level
类型
Level
描述
No Description Provided
参数
堆叠
类型
物品应用
描述
No Description Provided

Name: forceAddEffect

Return Type: void

ZenScript
Copy
LivingEntity.forceAddEffect(effectInstance as MobEffectInstance, entity as Entity) as void
参数类型描述
参数
effectInstance
类型
MobEffectInstance
描述
No Description Provided
参数
entity
类型
Entity
描述
No Description Provided

Link to getAbsorptionAmount

Name: getAbsorptionAmount

Return Type: float

ZenScript
Copy
// LivingEntity.getAbsorptionAmount() as float

myLivingEntity.getAbsorptionAmount();

Link to getActiveEffects

Name: getActiveEffects

Return Type: Collection<MobEffectInstance>

ZenScript
Copy
// LivingEntity.getActiveEffects() as Collection<MobEffectInstance>

myLivingEntity.getActiveEffects();

Link to getActiveEffectsMap

Name: getActiveEffectsMap

Return Type: MobEffectInstance[MobEffect]

ZenScript
Copy
// LivingEntity.getActiveEffectsMap() as MobEffectInstance[MobEffect]

myLivingEntity.getActiveEffectsMap();

Link to getArmorCoverPercentage

Name: getArmorCoverPercentage

Return Type: float

ZenScript
Copy
// LivingEntity.getArmorCoverPercentage() as float

myLivingEntity.getArmorCoverPercentage();

Name: getArmorValue

Return Type: int

ZenScript
Copy
// LivingEntity.getArmorValue() as int

myLivingEntity.getArmorValue();

Name: getArrowCount

Return Type: int

ZenScript
Copy
// LivingEntity.getArrowCount() as int

myLivingEntity.getArrowCount();

Name: getAttribute

Return Type: AttributeInstance

ZenScript
Copy
LivingEntity.getAttribute(attribute as Attribute) as AttributeInstance
参数类型描述
参数
attribute
类型
Attribute
描述
No Description Provided

Link to getAttributeBaseValue

Name: getAttributeBaseValue

Return Type: double

ZenScript
Copy
LivingEntity.getAttributeBaseValue(attribute as Attribute) as double
参数类型描述
参数
attribute
类型
Attribute
描述
No Description Provided

Link to getAttributeValue

Name: getAttributeValue

Return Type: double

ZenScript
Copy
LivingEntity.getAttributeValue(attribute as Attribute) as double
参数类型描述
参数
attribute
类型
Attribute
描述
No Description Provided

Link to getBedOrientation

Name: getBedOrientation

Return Type: Direction

ZenScript
Copy
// LivingEntity.getBedOrientation() as Direction

myLivingEntity.getBedOrientation();

Name: getEffect

Return Type: MobEffectInstance

ZenScript
Copy
LivingEntity.getEffect(effect as MobEffect) as MobEffectInstance
参数类型描述
参数
effect
类型
MobEffect
描述
No Description Provided

Link to getFallFlyingTicks

Name: getFallFlyingTicks

Return Type: int

ZenScript
Copy
// LivingEntity.getFallFlyingTicks() as int

myLivingEntity.getFallFlyingTicks();

Name: getHealth

Return Type: float

ZenScript
Copy
// LivingEntity.getHealth() as float

myLivingEntity.getHealth();

Name: getItemBySlot

Return Type: ItemStack

ZenScript
Copy
LivingEntity.getItemBySlot(slot as EquipmentSlot) as ItemStack
参数类型描述
参数
slot
类型
EquipmentSlot
描述
No Description Provided

Name: getItemInHand

Return Type: ItemStack

ZenScript
Copy
LivingEntity.getItemInHand(hand as InteractionHand) as ItemStack
参数类型描述
参数
hand
类型
InteractionHand
描述
No Description Provided

Link to getJumpBoostPower

Name: getJumpBoostPower

Return Type: double

ZenScript
Copy
// LivingEntity.getJumpBoostPower() as double

myLivingEntity.getJumpBoostPower();

Name: getKillCredit

Return Type: LivingEntity

ZenScript
Copy
// LivingEntity.getKillCredit() as LivingEntity

myLivingEntity.getKillCredit();

Link to getLastClimbablePos

Name: getLastClimbablePos

Return Type: BlockPos

ZenScript
Copy
// LivingEntity.getLastClimbablePos() as BlockPos

myLivingEntity.getLastClimbablePos();

Link to getLastDamageSource

Name: getLastDamageSource

Return Type: DamageSource

ZenScript
Copy
// LivingEntity.getLastDamageSource() as DamageSource

myLivingEntity.getLastDamageSource();

Link to getLastHurtByMob

Name: getLastHurtByMob

Return Type: LivingEntity

ZenScript
Copy
// LivingEntity.getLastHurtByMob() as LivingEntity

myLivingEntity.getLastHurtByMob();

Link to getLastHurtByMobTimestamp

Name: getLastHurtByMobTimestamp

Return Type: int

ZenScript
Copy
// LivingEntity.getLastHurtByMobTimestamp() as int

myLivingEntity.getLastHurtByMobTimestamp();

Name: getLastHurtMob

Return Type: LivingEntity

ZenScript
Copy
// LivingEntity.getLastHurtMob() as LivingEntity

myLivingEntity.getLastHurtMob();

Link to getLastHurtMobTimestamp

Name: getLastHurtMobTimestamp

Return Type: int

ZenScript
Copy
// LivingEntity.getLastHurtMobTimestamp() as int

myLivingEntity.getLastHurtMobTimestamp();

Name: getLootTable

Return Type: ResourceLocation

ZenScript
Copy
// LivingEntity.getLootTable() as ResourceLocation

myLivingEntity.getLootTable();

Name: getMainArm

Return Type: HumanoidArm

ZenScript
Copy
// LivingEntity.getMainArm() as HumanoidArm

myLivingEntity.getMainArm();

Name: getMainHandItem

Return Type: ItemStack

ZenScript
Copy
// LivingEntity.getMainHandItem() as ItemStack

myLivingEntity.getMainHandItem();

Name: getMaxHealth

Return Type: float

ZenScript
Copy
// LivingEntity.getMaxHealth() as float

myLivingEntity.getMaxHealth();

Name: getMobType

Return Type: MobType

ZenScript
Copy
// LivingEntity.getMobType() as MobType

myLivingEntity.getMobType();

Name: getNoActionTime

Return Type: int

ZenScript
Copy
// LivingEntity.getNoActionTime() as int

myLivingEntity.getNoActionTime();

Name: getOffhandItem

Return Type: ItemStack

ZenScript
Copy
// LivingEntity.getOffhandItem() as ItemStack

myLivingEntity.getOffhandItem();

Name: getRandom

Return Type: Random

ZenScript
Copy
// LivingEntity.getRandom() as Random

myLivingEntity.getRandom();

Name: getScale

Return Type: float

ZenScript
Copy
// LivingEntity.getScale() as float

myLivingEntity.getScale();

Name: getSleepingPos

Return Type: BlockPos

ZenScript
Copy
// LivingEntity.getSleepingPos() as BlockPos

myLivingEntity.getSleepingPos();

Name: getSpeed

Return Type: float

ZenScript
Copy
// LivingEntity.getSpeed() as float

myLivingEntity.getSpeed();

Name: getStingerCount

Return Type: int

ZenScript
Copy
// LivingEntity.getStingerCount() as int

myLivingEntity.getStingerCount();

Name: getSwimAmount

Return Type: float

ZenScript
Copy
LivingEntity.getSwimAmount(partialTicks as float) as float
参数类型描述
参数
partialTicks
类型
浮点数
描述
No Description Provided

Link to getTicksUsingItem

Name: getTicksUsingItem

Return Type: int

ZenScript
Copy
// LivingEntity.getTicksUsingItem() as int

myLivingEntity.getTicksUsingItem();

Name: getUseItem

Return Type: ItemStack

ZenScript
Copy
// LivingEntity.getUseItem() as ItemStack

myLivingEntity.getUseItem();

Link to getUseItemRemainingTicks

Name: getUseItemRemainingTicks

Return Type: int

ZenScript
Copy
// LivingEntity.getUseItemRemainingTicks() as int

myLivingEntity.getUseItemRemainingTicks();

Name: getUsedItemHand

Return Type: InteractionHand

ZenScript
Copy
// LivingEntity.getUsedItemHand() as InteractionHand

myLivingEntity.getUsedItemHand();

Link to getVisibilityPercent

Name: getVisibilityPercent

Return Type: double

ZenScript
Copy
LivingEntity.getVisibilityPercent(lookingEntity as Entity) as double
参数类型描述
参数
lookingEntity
类型
Entity
描述
No Description Provided

Name: getVoicePitch

Return Type: float

ZenScript
Copy
// LivingEntity.getVoicePitch() as float

myLivingEntity.getVoicePitch();

Name: hasEffect

Return Type: boolean

ZenScript
Copy
LivingEntity.hasEffect(effect as MobEffect) as boolean
参数类型描述
参数
effect
类型
MobEffect
描述
No Description Provided

Name: hasItemInSlot

Return Type: boolean

ZenScript
Copy
LivingEntity.hasItemInSlot(slot as EquipmentSlot) as boolean
参数类型描述
参数
slot
类型
EquipmentSlot
描述
No Description Provided

Name: hasLineOfSight

Return Type: boolean

ZenScript
Copy
LivingEntity.hasLineOfSight(entity as Entity) as boolean
参数类型描述
参数
entity
类型
Entity
描述
No Description Provided

Name: heal

Return Type: void

ZenScript
Copy
LivingEntity.heal(amount as float) as void
参数类型描述
参数
amount
类型
浮点数
描述
No Description Provided

Link to isAffectedByPotions

Name: isAffectedByPotions

Return Type: boolean

ZenScript
Copy
// LivingEntity.isAffectedByPotions() as boolean

myLivingEntity.isAffectedByPotions();

Link to isAutoSpinAttack

Name: isAutoSpinAttack

Return Type: boolean

ZenScript
Copy
// LivingEntity.isAutoSpinAttack() as boolean

myLivingEntity.isAutoSpinAttack();

Name: isBaby

Return Type: boolean

ZenScript
Copy
// LivingEntity.isBaby() as boolean

myLivingEntity.isBaby();

Name: isBlocking

Return Type: boolean

ZenScript
Copy
// LivingEntity.isBlocking() as boolean

myLivingEntity.isBlocking();

Link to isCurrentlyGlowing

Name: isCurrentlyGlowing

Return Type: boolean

ZenScript
Copy
// LivingEntity.isCurrentlyGlowing() as boolean

myLivingEntity.isCurrentlyGlowing();

Link to isDamageSourceBlocked

Name: isDamageSourceBlocked

Return Type: boolean

ZenScript
Copy
LivingEntity.isDamageSourceBlocked(source as DamageSource) as boolean
参数类型描述
参数
来源
类型
DamageSource
描述
No Description Provided

Name: isDeadOrDying

Return Type: boolean

ZenScript
Copy
// LivingEntity.isDeadOrDying() as boolean

myLivingEntity.isDeadOrDying();

Name: isFallFlying

Return Type: boolean

ZenScript
Copy
// LivingEntity.isFallFlying() as boolean

myLivingEntity.isFallFlying();

Name: isHolding

Return Type: boolean

ZenScript
Copy
LivingEntity.isHolding(item as ItemDefinition) as boolean
参数类型描述
参数
item
类型
ItemDefinition
描述
No Description Provided

Name: isHolding

Return Type: boolean

ZenScript
Copy
LivingEntity.isHolding(predicate as Predicate<ItemStack>) as boolean
参数类型描述
参数
predicate
类型
Predicate<ItemStack>
描述
No Description Provided

Link to isInvertedHealAndHarm

Name: isInvertedHealAndHarm

Return Type: boolean

ZenScript
Copy
// LivingEntity.isInvertedHealAndHarm() as boolean

myLivingEntity.isInvertedHealAndHarm();

Link to isSensitiveToWater

Name: isSensitiveToWater

Return Type: boolean

ZenScript
Copy
// LivingEntity.isSensitiveToWater() as boolean

myLivingEntity.isSensitiveToWater();

Name: isSleeping

Return Type: boolean

ZenScript
Copy
// LivingEntity.isSleeping() as boolean

myLivingEntity.isSleeping();

Link to isSuppressingSlidingDownLadder

Name: isSuppressingSlidingDownLadder

Return Type: boolean

ZenScript
Copy
// LivingEntity.isSuppressingSlidingDownLadder() as boolean

myLivingEntity.isSuppressingSlidingDownLadder();

Name: isUsingItem

Return Type: boolean

ZenScript
Copy
// LivingEntity.isUsingItem() as boolean

myLivingEntity.isUsingItem();

Link to isVisuallySwimming

Name: isVisuallySwimming

Return Type: boolean

ZenScript
Copy
// LivingEntity.isVisuallySwimming() as boolean

myLivingEntity.isVisuallySwimming();

Name: knockback

Return Type: void

ZenScript
Copy
LivingEntity.knockback(x as double, y as double, z as double) as void
参数类型描述
参数
x
类型
双精度
描述
No Description Provided
参数
y
类型
双精度
描述
No Description Provided
参数
z
类型
双精度
描述
No Description Provided

Link to releaseUsingItem

Name: releaseUsingItem

Return Type: void

ZenScript
Copy
// LivingEntity.releaseUsingItem() as void

myLivingEntity.releaseUsingItem();

Link to removeAllEffects

Name: removeAllEffects

Return Type: boolean

ZenScript
Copy
// LivingEntity.removeAllEffects() as boolean

myLivingEntity.removeAllEffects();

Name: removeEffect

Return Type: boolean

ZenScript
Copy
LivingEntity.removeEffect(effect as MobEffect) as boolean
参数类型描述
参数
effect
类型
MobEffect
描述
No Description Provided

Link to removeEffectNoUpdate

Name: removeEffectNoUpdate

Return Type: MobEffectInstance

ZenScript
Copy
LivingEntity.removeEffectNoUpdate(effect as MobEffect) as MobEffectInstance
参数类型描述
参数
effect
类型
MobEffect
描述
No Description Provided

Link to setAbsorptionAmount

Name: setAbsorptionAmount

Return Type: void

ZenScript
Copy
LivingEntity.setAbsorptionAmount(absorption as float) as void
参数类型描述
参数
absorption
类型
浮点数
描述
No Description Provided

Name: setArrowCount

Return Type: void

ZenScript
Copy
LivingEntity.setArrowCount(count as int) as void
参数类型描述
参数
count
类型
int
描述
No Description Provided

Link to setDiscardFriction

Name: setDiscardFriction

Return Type: void

ZenScript
Copy
LivingEntity.setDiscardFriction(discardFriction as boolean) as void
参数类型描述
参数
discardFriction
类型
布尔值
描述
No Description Provided

Name: setHealth

Return Type: void

ZenScript
Copy
LivingEntity.setHealth(health as float) as void
参数类型描述
参数
health
类型
浮点数
描述
No Description Provided

Name: setItemInHand

Return Type: void

ZenScript
Copy
LivingEntity.setItemInHand(hand as InteractionHand, stack as ItemStack) as void
参数类型描述
参数
hand
类型
InteractionHand
描述
No Description Provided
参数
堆叠
类型
物品应用
描述
No Description Provided

Name: setJumping

Return Type: void

ZenScript
Copy
LivingEntity.setJumping(jumping as boolean) as void
参数类型描述
参数
jumping
类型
布尔值
描述
No Description Provided

Link to setLastHurtByMob

Name: setLastHurtByMob

Return Type: void

ZenScript
Copy
LivingEntity.setLastHurtByMob(entity as LivingEntity) as void
参数类型描述
参数
entity
类型
LivingEntity
描述
No Description Provided

Link to setLastHurtByPlayer

Name: setLastHurtByPlayer

Return Type: void

ZenScript
Copy
LivingEntity.setLastHurtByPlayer(player as Player) as void
参数类型描述
参数
player
类型
Player
描述
No Description Provided

Name: setLastHurtMob

Return Type: void

ZenScript
Copy
LivingEntity.setLastHurtMob(entity as Entity) as void
参数类型描述
参数
entity
类型
Entity
描述
No Description Provided

Name: setNoActionTime

Return Type: void

ZenScript
Copy
LivingEntity.setNoActionTime(idleTime as int) as void
参数类型描述
参数
idleTime
类型
int
描述
No Description Provided

Name: setSleepingPos

Return Type: void

ZenScript
Copy
LivingEntity.setSleepingPos(pos as BlockPos) as void
参数类型描述
参数
类型
BlockPos
描述
No Description Provided

Name: setSpeed

Return Type: void

ZenScript
Copy
LivingEntity.setSpeed(speed as float) as void
参数类型描述
参数
speed
类型
浮点数
描述
No Description Provided

Name: setStingerCount

Return Type: void

ZenScript
Copy
LivingEntity.setStingerCount(count as int) as void
参数类型描述
参数
count
类型
int
描述
No Description Provided

Link to shouldDiscardFriction

Name: shouldDiscardFriction

Return Type: boolean

ZenScript
Copy
// LivingEntity.shouldDiscardFriction() as boolean

myLivingEntity.shouldDiscardFriction();

Name: startSleeping

Return Type: void

ZenScript
Copy
LivingEntity.startSleeping(pos as BlockPos) as void
参数类型描述
参数
类型
BlockPos
描述
No Description Provided

Name: startUsingItem

Return Type: void

ZenScript
Copy
LivingEntity.startUsingItem(param0 as InteractionHand) as void
参数类型描述
参数
param0
类型
InteractionHand
描述
No Description Provided

Name: stopSleeping

Return Type: void

ZenScript
Copy
// LivingEntity.stopSleeping() as void

myLivingEntity.stopSleeping();

Name: stopUsingItem

Return Type: void

ZenScript
Copy
// LivingEntity.stopUsingItem() as void

myLivingEntity.stopUsingItem();

Name: swing

Return Type: void

ZenScript
Copy
LivingEntity.swing(hand as InteractionHand) as void
参数类型描述
参数
hand
类型
InteractionHand
描述
No Description Provided

Name: swing

Return Type: void

ZenScript
Copy
LivingEntity.swing(hand as InteractionHand, updateSelf as boolean) as void
参数类型描述
参数
hand
类型
InteractionHand
描述
No Description Provided
参数
updateSelf
类型
布尔值
描述
No Description Provided

Name: travel

Return Type: void

ZenScript
Copy
LivingEntity.travel(vec as Vec3) as void
参数类型描述
参数
vec
类型
Vec3
描述
No Description Provided
名称类型可获得可设置描述
名称
absorptionAmount
类型
浮点数
可获得
true
可设置
false
描述
No Description Provided
名称
activeEFfectsMap
类型
MobEffectInstance[MobEffect]
可获得
true
可设置
false
描述
No Description Provided
名称
activeEffects
类型
Collection<MobEffectInstance>
可获得
true
可设置
false
描述
No Description Provided
名称
armorCoverPercentage
类型
浮点数
可获得
true
可设置
false
描述
No Description Provided
名称
armorValue
类型
int
可获得
true
可设置
false
描述
No Description Provided
名称
arrowCount
类型
int
可获得
true
可设置
false
描述
No Description Provided
名称
attackable #可攻击的
类型
布尔值
可获得
true
可设置
false
描述
No Description Provided
名称
bedOrientation
类型
Direction
可获得
true
可设置
false
描述
No Description Provided
名称
canBeSeenAsEnemy
类型
布尔值
可获得
true
可设置
false
描述
No Description Provided
名称
canBeSeenByAnyone
类型
布尔值
可获得
true
可设置
false
描述
No Description Provided
名称
canBreatheUnderwater #可以水下呼吸
类型
布尔值
可获得
true
可设置
false
描述
No Description Provided
名称
fallFlyingTicks
类型
int
可获得
true
可设置
false
描述
No Description Provided
名称
health
类型
浮点数
可获得
true
可设置
false
描述
No Description Provided
名称
isAffectedByPotions
类型
布尔值
可获得
true
可设置
false
描述
No Description Provided
名称
isAutoSpinAttack
类型
布尔值
可获得
true
可设置
false
描述
No Description Provided
名称
isBaby
类型
布尔值
可获得
true
可设置
false
描述
No Description Provided
名称
isBlocking
类型
布尔值
可获得
true
可设置
false
描述
No Description Provided
名称
isCurrentlyGlowing
类型
布尔值
可获得
true
可设置
false
描述
No Description Provided
名称
isDeadOrDying
类型
布尔值
可获得
true
可设置
false
描述
No Description Provided
名称
isFallFlying
类型
布尔值
可获得
true
可设置
false
描述
No Description Provided
名称
isInvertedHealAndHarm
类型
布尔值
可获得
true
可设置
false
描述
No Description Provided
名称
isSensitiveToWater
类型
布尔值
可获得
true
可设置
false
描述
No Description Provided
名称
isSleeping
类型
布尔值
可获得
true
可设置
false
描述
No Description Provided
名称
isSuppressingSlidingDownLadder
类型
布尔值
可获得
true
可设置
false
描述
No Description Provided
名称
isUsingItem
类型
布尔值
可获得
true
可设置
false
描述
No Description Provided
名称
isVisuallySwimming
类型
布尔值
可获得
true
可设置
false
描述
No Description Provided
名称
jumpBoostPower
类型
双精度
可获得
true
可设置
false
描述
No Description Provided
名称
killCredit
类型
LivingEntity
可获得
true
可设置
false
描述
No Description Provided
名称
lastClimbablePos
类型
BlockPos
可获得
true
可设置
false
描述
No Description Provided
名称
lastDamageSource
类型
DamageSource
可获得
true
可设置
false
描述
No Description Provided
名称
lastHurtByMob
类型
LivingEntity
可获得
true
可设置
false
描述
No Description Provided
名称
lastHurtByMobTimestamp
类型
int
可获得
true
可设置
false
描述
No Description Provided
名称
lastHurtMob
类型
LivingEntity
可获得
true
可设置
false
描述
No Description Provided
名称
lastHurtMobTimestamp
类型
int
可获得
true
可设置
false
描述
No Description Provided
名称
lootTable
类型
资源位置
可获得
true
可设置
false
描述
No Description Provided
名称
mainArm
类型
HumanoidArm
可获得
true
可设置
false
描述
No Description Provided
名称
mainHandItem
类型
物品应用
可获得
true
可设置
false
描述
No Description Provided
名称
maxHealth
类型
浮点数
可获得
true
可设置
false
描述
No Description Provided
名称
mobType
类型
MobType
可获得
true
可设置
false
描述
No Description Provided
名称
noActionTime
类型
int
可获得
true
可设置
false
描述
No Description Provided
名称
offHandItem
类型
物品应用
可获得
true
可设置
false
描述
No Description Provided
名称
random
类型
Random
可获得
true
可设置
false
描述
No Description Provided
名称
scale
类型
浮点数
可获得
true
可设置
false
描述
No Description Provided
名称
shouldDiscardFriction
类型
布尔值
可获得
true
可设置
false
描述
No Description Provided
名称
sleepingPos
类型
BlockPos
可获得
true
可设置
false
描述
No Description Provided
名称
speed
类型
浮点数
可获得
true
可设置
false
描述
No Description Provided
名称
stingerCount
类型
int
可获得
true
可设置
false
描述
No Description Provided
名称
ticksUsingItem
类型
int
可获得
true
可设置
false
描述
No Description Provided
名称
useItem
类型
物品应用
可获得
true
可设置
false
描述
No Description Provided
名称
useItemRemainingTicks
类型
int
可获得
true
可设置
false
描述
No Description Provided
名称
usedItemHand
类型
InteractionHand
可获得
true
可设置
false
描述
No Description Provided
名称
voicePitch
类型
浮点数
可获得
true
可设置
false
描述
No Description Provided