Home Commands Examples Getting Started With Scripts Global Keywords

LivingEntity

Importing the class

If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.

script.zs
import crafttweaker.api.entity.LivingEntity;

Extends

LivingEntity extends Entity.

Implements

LivingEntity implements the following interfaces:

Nameable,EntityAccess,CommandSource,IAttachmentHolder

Undocumented Interfaces

Attackable,ILivingEntityExtension,ScoreHolder,IEntityExtension,INBTSerializable<CompoundTag>

Members

Getter
script.zs
// LivingEntity.absorptionAmount as float
myLivingEntity.absorptionAmount

Return Type: float

absorptionAmount() as float
script.zs
// LivingEntity.absorptionAmount() as float;
myLivingEntity.absorptionAmount();

Return Type: float

Getter
script.zs
// LivingEntity.acceptsFailure as bool
myLivingEntity.acceptsFailure

Return Type: bool

acceptsFailure() as bool
script.zs
// LivingEntity.acceptsFailure() as bool;
myLivingEntity.acceptsFailure();

Return Type: bool

Getter
script.zs
// LivingEntity.acceptsSuccess as bool
myLivingEntity.acceptsSuccess

Return Type: bool

acceptsSuccess() as bool
script.zs
// LivingEntity.acceptsSuccess() as bool;
myLivingEntity.acceptsSuccess();

Return Type: bool

Getter
script.zs
// LivingEntity.activeEffects as Collection<MobEffectInstance>
myLivingEntity.activeEffects

Return Type: Collection<MobEffectInstance>

activeEffects() as Collection<MobEffectInstance>
script.zs
// LivingEntity.activeEffects() as Collection<MobEffectInstance>;
myLivingEntity.activeEffects();

Return Type: Collection<MobEffectInstance>

Getter
script.zs
// LivingEntity.activeEFfectsMap as MobEffectInstance[MobEffect]
myLivingEntity.activeEFfectsMap

Return Type: MobEffectInstance[MobEffect]

activeEFfectsMap() as MobEffectInstance[MobEffect]
script.zs
// LivingEntity.activeEFfectsMap() as MobEffectInstance[MobEffect];
myLivingEntity.activeEFfectsMap();

Return Type: MobEffectInstance[MobEffect]

addEffect(effectInstance as MobEffectInstance) as bool
script.zs
// LivingEntity.addEffect(effectInstance as MobEffectInstance) as bool;
myLivingEntity.addEffect(myMobEffectInstance);

Parameters:

effectInstance Type: MobEffectInstance

Return Type: bool

addEffect(effectInstance as MobEffectInstance, entity as Entity) as bool
script.zs
// LivingEntity.addEffect(effectInstance as MobEffectInstance, entity as Entity) as bool;
myLivingEntity.addEffect(myMobEffectInstance, myEntity);

Parameters:

effectInstance Type: MobEffectInstance
entity Type: Entity

Return Type: bool

addTag(tagName as string) as bool
script.zs
// LivingEntity.addTag(tagName as string) as bool;
myLivingEntity.addTag(myString);

Parameters:

tagName Type: string

Return Type: bool

Getter
script.zs
// LivingEntity.airSupply as int
myLivingEntity.airSupply

Return Type: int

airSupply() as int
script.zs
// LivingEntity.airSupply() as int;
myLivingEntity.airSupply();

Return Type: int

Getter
script.zs
// LivingEntity.allSlots as Iterable<ItemStack>
myLivingEntity.allSlots

Return Type: Iterable<ItemStack>

allSlots() as Iterable<ItemStack>
script.zs
// LivingEntity.allSlots() as Iterable<ItemStack>;
myLivingEntity.allSlots();

Return Type: Iterable<ItemStack>

Getter
script.zs
// LivingEntity.alwaysAccepts as bool
myLivingEntity.alwaysAccepts

Return Type: bool

alwaysAccepts() as bool
script.zs
// LivingEntity.alwaysAccepts() as bool;
myLivingEntity.alwaysAccepts();

Return Type: bool

Getter
script.zs
// LivingEntity.armorCoverPercentage as float
myLivingEntity.armorCoverPercentage

Return Type: float

armorCoverPercentage() as float
script.zs
// LivingEntity.armorCoverPercentage() as float;
myLivingEntity.armorCoverPercentage();

Return Type: float

Getter
script.zs
// LivingEntity.armorSlots as Iterable<ItemStack>
myLivingEntity.armorSlots

Return Type: Iterable<ItemStack>

armorSlots() as Iterable<ItemStack>
script.zs
// LivingEntity.armorSlots() as Iterable<ItemStack>;
myLivingEntity.armorSlots();

Return Type: Iterable<ItemStack>

Getter
script.zs
// LivingEntity.armorValue as int
myLivingEntity.armorValue

Return Type: int

armorValue() as int
script.zs
// LivingEntity.armorValue() as int;
myLivingEntity.armorValue();

Return Type: int

Getter
script.zs
// LivingEntity.arrowCount as int
myLivingEntity.arrowCount

Return Type: int

arrowCount() as int
script.zs
// LivingEntity.arrowCount() as int;
myLivingEntity.arrowCount();

Return Type: int

Getter
script.zs
// LivingEntity.attackable as bool
myLivingEntity.attackable

Return Type: bool

attackable() as bool
script.zs
// LivingEntity.attackable() as bool;
myLivingEntity.attackable();

Return Type: bool

Getter
script.zs
// LivingEntity.bbHeight as float
myLivingEntity.bbHeight

Return Type: float

bbHeight() as float
script.zs
// LivingEntity.bbHeight() as float;
myLivingEntity.bbHeight();

Return Type: float

Getter
script.zs
// LivingEntity.bbWidth as float
myLivingEntity.bbWidth

Return Type: float

bbWidth() as float
script.zs
// LivingEntity.bbWidth() as float;
myLivingEntity.bbWidth();

Return Type: float

Getter
script.zs
// LivingEntity.bedOrientation as Direction
myLivingEntity.bedOrientation

Return Type: Direction

bedOrientation() as Direction
script.zs
// LivingEntity.bedOrientation() as Direction;
myLivingEntity.bedOrientation();

Return Type: Direction

Getter
script.zs
// LivingEntity.blockPosiion as BlockPos
myLivingEntity.blockPosiion

Return Type: BlockPos

blockPosiion() as BlockPos
script.zs
// LivingEntity.blockPosiion() as BlockPos;
myLivingEntity.blockPosiion();

Return Type: BlockPos

Getter
script.zs
// LivingEntity.blockPosition as BlockPos
myLivingEntity.blockPosition

Return Type: BlockPos

blockPosition() as BlockPos
script.zs
// LivingEntity.blockPosition() as BlockPos;
myLivingEntity.blockPosition();

Return Type: BlockPos

Getter
script.zs
// LivingEntity.blockX as int
myLivingEntity.blockX

Return Type: int

blockX() as int
script.zs
// LivingEntity.blockX() as int;
myLivingEntity.blockX();

Return Type: int

Getter
script.zs
// LivingEntity.blockY as int
myLivingEntity.blockY

Return Type: int

blockY() as int
script.zs
// LivingEntity.blockY() as int;
myLivingEntity.blockY();

Return Type: int

Getter
script.zs
// LivingEntity.blockZ as int
myLivingEntity.blockZ

Return Type: int

blockZ() as int
script.zs
// LivingEntity.blockZ() as int;
myLivingEntity.blockZ();

Return Type: int

Getter
script.zs
// LivingEntity.boundingBox as AABB
myLivingEntity.boundingBox

Return Type: AABB

boundingBox() as AABB
script.zs
// LivingEntity.boundingBox() as AABB;
myLivingEntity.boundingBox();

Return Type: AABB

Getter
script.zs
// LivingEntity.boundingBoxForCulling as AABB
myLivingEntity.boundingBoxForCulling

Return Type: AABB

boundingBoxForCulling() as AABB
script.zs
// LivingEntity.boundingBoxForCulling() as AABB;
myLivingEntity.boundingBoxForCulling();

Return Type: AABB

canAttack(target as LivingEntity) as bool
script.zs
// LivingEntity.canAttack(target as LivingEntity) as bool;
myLivingEntity.canAttack(myLivingEntity);

Parameters:

target Type: LivingEntity

Return Type: bool

canBeAffected(effectInstance as MobEffectInstance) as bool
script.zs
// LivingEntity.canBeAffected(effectInstance as MobEffectInstance) as bool;
myLivingEntity.canBeAffected(myMobEffectInstance);

Parameters:

effectInstance Type: MobEffectInstance

Return Type: bool

Getter
script.zs
// LivingEntity.canBeCollidedWith as bool
myLivingEntity.canBeCollidedWith

Return Type: bool

canBeCollidedWith() as bool
script.zs
// LivingEntity.canBeCollidedWith() as bool;
myLivingEntity.canBeCollidedWith();

Return Type: bool

Getter
script.zs
// LivingEntity.canBeSeenAsEnemy as bool
myLivingEntity.canBeSeenAsEnemy

Return Type: bool

canBeSeenAsEnemy() as bool
script.zs
// LivingEntity.canBeSeenAsEnemy() as bool;
myLivingEntity.canBeSeenAsEnemy();

Return Type: bool

Getter
script.zs
// LivingEntity.canBeSeenByAnyone as bool
myLivingEntity.canBeSeenByAnyone

Return Type: bool

canBeSeenByAnyone() as bool
script.zs
// LivingEntity.canBeSeenByAnyone() as bool;
myLivingEntity.canBeSeenByAnyone();

Return Type: bool

Getter
script.zs
// LivingEntity.canBreatheUnderwater as bool
myLivingEntity.canBreatheUnderwater

Return Type: bool

Getter
script.zs
// LivingEntity.canBreatheUnderwater as bool
myLivingEntity.canBreatheUnderwater

Return Type: bool

canBreatheUnderwater() as bool
script.zs
// LivingEntity.canBreatheUnderwater() as bool;
myLivingEntity.canBreatheUnderwater();

Return Type: bool

canBreatheUnderwater() as bool
script.zs
// LivingEntity.canBreatheUnderwater() as bool;
myLivingEntity.canBreatheUnderwater();

Return Type: bool

canCollideWith(other as Entity) as bool
script.zs
// LivingEntity.canCollideWith(other as Entity) as bool;
myLivingEntity.canCollideWith(myEntity);

Parameters:

other Type: Entity

Return Type: bool

Getter
script.zs
// LivingEntity.canFreeze as bool
myLivingEntity.canFreeze

Return Type: bool

canFreeze() as bool
script.zs
// LivingEntity.canFreeze() as bool;
myLivingEntity.canFreeze();

Return Type: bool

canStandOnFluid(fluid as Fluid) as bool
script.zs
// LivingEntity.canStandOnFluid(fluid as Fluid) as bool;
myLivingEntity.canStandOnFluid(myFluid);

Parameters:

fluid Type: Fluid

Return Type: bool

canTakeItem(stack as ItemStack) as bool
script.zs
// LivingEntity.canTakeItem(stack as ItemStack) as bool;
myLivingEntity.canTakeItem(myItemStack);

Parameters:

stack Type: ItemStack

Return Type: bool

clearFire()
script.zs
// LivingEntity.clearFire();
myLivingEntity.clearFire();
clearSleepingPos()
script.zs
// LivingEntity.clearSleepingPos();
myLivingEntity.clearSleepingPos();
closerThan(other as Entity, distance as double) as bool
script.zs
// LivingEntity.closerThan(other as Entity, distance as double) as bool;
myLivingEntity.closerThan(myEntity, myDouble);

Parameters:

other Type: Entity
distance Type: double

Return Type: bool

Getter
script.zs
// LivingEntity.commandSenderWorld as Level
myLivingEntity.commandSenderWorld

Return Type: Level

commandSenderWorld() as Level
script.zs
// LivingEntity.commandSenderWorld() as Level;
myLivingEntity.commandSenderWorld();

Return Type: Level

Getter
script.zs
// LivingEntity.controllingPassenger as Entity
myLivingEntity.controllingPassenger

Return Type: Entity

controllingPassenger() as Entity
script.zs
// LivingEntity.controllingPassenger() as Entity;
myLivingEntity.controllingPassenger();

Return Type: Entity

Getter
Gets the custom NBT data for this Entity.
script.zs
// LivingEntity.customData as MapData
myLivingEntity.customData

Return Type: MapData

customData() as MapData
Gets the custom NBT data for this Entity.

Returns: The custom data for this Entity.

script.zs
// LivingEntity.customData() as MapData;
myLivingEntity.customData();

Return Type: MapData

Getter
script.zs
// LivingEntity.customName as Component
myLivingEntity.customName

Return Type: Component

Getter
script.zs
// LivingEntity.customName as Component
myLivingEntity.customName

Return Type: Component

customName() as Component
script.zs
// LivingEntity.customName() as Component;
myLivingEntity.customName();

Return Type: Component

customName() as Component
script.zs
// LivingEntity.customName() as Component;
myLivingEntity.customName();

Return Type: Component

Getter
script.zs
// LivingEntity.dampensVibrations as bool
myLivingEntity.dampensVibrations

Return Type: bool

dampensVibrations() as bool
script.zs
// LivingEntity.dampensVibrations() as bool;
myLivingEntity.dampensVibrations();

Return Type: bool

Getter
Gets the NBT data of this Entity.
script.zs
// LivingEntity.data as MapData
myLivingEntity.data

Return Type: MapData

data() as MapData
Gets the NBT data of this Entity.

Returns: The NBT data of this Entity.

script.zs
// LivingEntity.data() as MapData;
myLivingEntity.data();

Return Type: MapData

Getter
script.zs
// LivingEntity.deltaMovement as Vec3
myLivingEntity.deltaMovement

Return Type: Vec3

Setter
script.zs
// LivingEntity.deltaMovement = (deltaMovement as Vec3);
myLivingEntity.deltaMovement = myVec3;

Parameters:

deltaMovement Type: Vec3
deltaMovement() as Vec3
script.zs
// LivingEntity.deltaMovement() as Vec3;
myLivingEntity.deltaMovement();

Return Type: Vec3

deltaMovement(deltaMovement as Vec3)
script.zs
// LivingEntity.deltaMovement(deltaMovement as Vec3);
myLivingEntity.deltaMovement(myVec3);

Parameters:

deltaMovement Type: Vec3
die(source as DamageSource)
script.zs
// LivingEntity.die(source as DamageSource);
myLivingEntity.die(myDamageSource);

Parameters:

source Type: DamageSource
Getter
script.zs
// LivingEntity.dimensionChangingDelay as int
myLivingEntity.dimensionChangingDelay

Return Type: int

dimensionChangingDelay() as int
script.zs
// LivingEntity.dimensionChangingDelay() as int;
myLivingEntity.dimensionChangingDelay();

Return Type: int

Getter
script.zs
// LivingEntity.direction as Direction
myLivingEntity.direction

Return Type: Direction

direction() as Direction
script.zs
// LivingEntity.direction() as Direction;
myLivingEntity.direction();

Return Type: Direction

discard()
script.zs
// LivingEntity.discard();
myLivingEntity.discard();
Getter
script.zs
// LivingEntity.dismountsUnderwater as bool
myLivingEntity.dismountsUnderwater

Return Type: bool

Getter
script.zs
// LivingEntity.displayName as Component
myLivingEntity.displayName

Return Type: Component

Getter
script.zs
// LivingEntity.displayName as Component
myLivingEntity.displayName

Return Type: Component

displayName() as Component
script.zs
// LivingEntity.displayName() as Component;
myLivingEntity.displayName();

Return Type: Component

displayName() as Component
script.zs
// LivingEntity.displayName() as Component;
myLivingEntity.displayName();

Return Type: Component

distanceTo(entity as Entity) as float
script.zs
// LivingEntity.distanceTo(entity as Entity) as float;
myLivingEntity.distanceTo(myEntity);

Parameters:

entity Type: Entity

Return Type: float

distanceToSqr(x as double, y as double, z as double) as double
script.zs
// LivingEntity.distanceToSqr(x as double, y as double, z as double) as double;
myLivingEntity.distanceToSqr(myDouble, myDouble, myDouble);

Parameters:

x Type: double
y Type: double
z Type: double

Return Type: double

distanceToSqr(entity as Entity) as double
script.zs
// LivingEntity.distanceToSqr(entity as Entity) as double;
myLivingEntity.distanceToSqr(myEntity);

Parameters:

entity Type: Entity

Return Type: double

distanceToSqr(vec as Vec3) as double
script.zs
// LivingEntity.distanceToSqr(vec as Vec3) as double;
myLivingEntity.distanceToSqr(myVec3);

Parameters:

vec Type: Vec3

Return Type: double

doHurtTarget(entity as Entity) as bool
script.zs
// LivingEntity.doHurtTarget(entity as Entity) as bool;
myLivingEntity.doHurtTarget(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

eat(level as Level, stack as ItemStack) as ItemStack
script.zs
// LivingEntity.eat(level as Level, stack as ItemStack) as ItemStack;
myLivingEntity.eat(myLevel, myItemStack);

Parameters:

level Type: Level
stack Type: ItemStack

Return Type: ItemStack

ejectPassengers()
script.zs
// LivingEntity.ejectPassengers();
myLivingEntity.ejectPassengers();
Getter
script.zs
// LivingEntity.eyeHeight as float
myLivingEntity.eyeHeight

Return Type: float

eyeHeight() as float
script.zs
// LivingEntity.eyeHeight() as float;
myLivingEntity.eyeHeight();

Return Type: float

Getter
script.zs
// LivingEntity.eyePosition as Vec3
myLivingEntity.eyePosition

Return Type: Vec3

eyePosition() as Vec3
script.zs
// LivingEntity.eyePosition() as Vec3;
myLivingEntity.eyePosition();

Return Type: Vec3

Getter
script.zs
// LivingEntity.eyeY as double
myLivingEntity.eyeY

Return Type: double

eyeY() as double
script.zs
// LivingEntity.eyeY() as double;
myLivingEntity.eyeY();

Return Type: double

Getter
script.zs
// LivingEntity.fallFlyingTicks as int
myLivingEntity.fallFlyingTicks

Return Type: int

fallFlyingTicks() as int
script.zs
// LivingEntity.fallFlyingTicks() as int;
myLivingEntity.fallFlyingTicks();

Return Type: int

Getter
script.zs
// LivingEntity.feetBlockState as BlockState
myLivingEntity.feetBlockState

Return Type: BlockState

feetBlockState() as BlockState
script.zs
// LivingEntity.feetBlockState() as BlockState;
myLivingEntity.feetBlockState();

Return Type: BlockState

Getter
script.zs
// LivingEntity.fireImmune as bool
myLivingEntity.fireImmune

Return Type: bool

fireImmune() as bool
script.zs
// LivingEntity.fireImmune() as bool;
myLivingEntity.fireImmune();

Return Type: bool

Getter
script.zs
// LivingEntity.firstPassenger as Entity
myLivingEntity.firstPassenger

Return Type: Entity

firstPassenger() as Entity
script.zs
// LivingEntity.firstPassenger() as Entity;
myLivingEntity.firstPassenger();

Return Type: Entity

Getter
script.zs
// LivingEntity.fluidJumpThreshold as double
myLivingEntity.fluidJumpThreshold

Return Type: double

fluidJumpThreshold() as double
script.zs
// LivingEntity.fluidJumpThreshold() as double;
myLivingEntity.fluidJumpThreshold();

Return Type: double

forceAddEffect(effectInstance as MobEffectInstance, entity as Entity)
script.zs
// LivingEntity.forceAddEffect(effectInstance as MobEffectInstance, entity as Entity);
myLivingEntity.forceAddEffect(myMobEffectInstance, myEntity);

Parameters:

effectInstance Type: MobEffectInstance
entity Type: Entity
Getter
script.zs
// LivingEntity.forward as Vec3
myLivingEntity.forward

Return Type: Vec3

forward() as Vec3
script.zs
// LivingEntity.forward() as Vec3;
myLivingEntity.forward();

Return Type: Vec3

getAttachmentData(type as AttachmentType<T>) as T
script.zs
// LivingEntity.getAttachmentData<T>(type as AttachmentType<T>) as T;
myLivingEntity.getAttachmentData<T>(myAttachmentType);

Parameters:

type Type: AttachmentType<T>

Return Type: T

getAttachmentData(type as Supplier<AttachmentType<T>>) as T
script.zs
// LivingEntity.getAttachmentData<T>(type as Supplier<AttachmentType<T>>) as T;
myLivingEntity.getAttachmentData<T>(mySupplier);

Parameters:

type Type: Supplier<AttachmentType<T>>

Return Type: T

getAttribute(attribute as Attribute) as AttributeInstance
script.zs
// LivingEntity.getAttribute(attribute as Attribute) as AttributeInstance;
myLivingEntity.getAttribute(myAttribute);

Parameters:

attribute Type: Attribute

Return Type: AttributeInstance

getAttributeBaseValue(attribute as Attribute) as double
script.zs
// LivingEntity.getAttributeBaseValue(attribute as Attribute) as double;
myLivingEntity.getAttributeBaseValue(myAttribute);

Parameters:

attribute Type: Attribute

Return Type: double

getAttributeValue(attribute as Attribute) as double
script.zs
// LivingEntity.getAttributeValue(attribute as Attribute) as double;
myLivingEntity.getAttributeValue(myAttribute);

Parameters:

attribute Type: Attribute

Return Type: double

getEffect(effect as MobEffect) as MobEffectInstance
script.zs
// LivingEntity.getEffect(effect as MobEffect) as MobEffectInstance;
myLivingEntity.getEffect(myMobEffect);

Parameters:

effect Type: MobEffect

Return Type: MobEffectInstance

getEyePosition(partialTicks as float) as Vec3
script.zs
// LivingEntity.getEyePosition(partialTicks as float) as Vec3;
myLivingEntity.getEyePosition(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getItemBySlot(slot as EquipmentSlot) as ItemStack
script.zs
// LivingEntity.getItemBySlot(slot as EquipmentSlot) as ItemStack;
myLivingEntity.getItemBySlot(myEquipmentSlot);

Parameters:

Return Type: ItemStack

getItemInHand(hand as InteractionHand) as ItemStack
script.zs
// LivingEntity.getItemInHand(hand as InteractionHand) as ItemStack;
myLivingEntity.getItemInHand(myInteractionHand);

Parameters:

Return Type: ItemStack

getPosition(partialTicks as float) as Vec3
script.zs
// LivingEntity.getPosition(partialTicks as float) as Vec3;
myLivingEntity.getPosition(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getSwimAmount(partialTicks as float) as float
script.zs
// LivingEntity.getSwimAmount(partialTicks as float) as float;
myLivingEntity.getSwimAmount(myFloat);

Parameters:

partialTicks Type: float

Return Type: float

getUpVector(partialTicks as float) as Vec3
script.zs
// LivingEntity.getUpVector(partialTicks as float) as Vec3;
myLivingEntity.getUpVector(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getViewVector(partialTicks as float) as Vec3
script.zs
// LivingEntity.getViewVector(partialTicks as float) as Vec3;
myLivingEntity.getViewVector(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getVisibilityPercent(lookingEntity as Entity) as double
script.zs
// LivingEntity.getVisibilityPercent(lookingEntity as Entity) as double;
myLivingEntity.getVisibilityPercent(myEntity);

Parameters:

lookingEntity Type: Entity

Return Type: double

getX(scale as double) as double
script.zs
// LivingEntity.getX(scale as double) as double;
myLivingEntity.getX(myDouble);

Parameters:

scale Type: double

Return Type: double

getY(scale as double) as double
script.zs
// LivingEntity.getY(scale as double) as double;
myLivingEntity.getY(myDouble);

Parameters:

scale Type: double

Return Type: double

getZ(scale as double) as double
script.zs
// LivingEntity.getZ(scale as double) as double;
myLivingEntity.getZ(myDouble);

Parameters:

scale Type: double

Return Type: double

Getter
script.zs
// LivingEntity.handSlots as Iterable<ItemStack>
myLivingEntity.handSlots

Return Type: Iterable<ItemStack>

handSlots() as Iterable<ItemStack>
script.zs
// LivingEntity.handSlots() as Iterable<ItemStack>;
myLivingEntity.handSlots();

Return Type: Iterable<ItemStack>

hasAttachmentData(type as AttachmentType<T>) as bool
script.zs
// LivingEntity.hasAttachmentData<T>(type as AttachmentType<T>) as bool;
myLivingEntity.hasAttachmentData<T>(myAttachmentType);

Parameters:

type Type: AttachmentType<T>

Return Type: bool

hasAttachmentData(type as Supplier<AttachmentType<T>>) as bool
script.zs
// LivingEntity.hasAttachmentData<T>(type as Supplier<AttachmentType<T>>) as bool;
myLivingEntity.hasAttachmentData<T>(mySupplier);

Parameters:

type Type: Supplier<AttachmentType<T>>

Return Type: bool

Getter
script.zs
// LivingEntity.hasCustomName as bool
myLivingEntity.hasCustomName

Return Type: bool

Getter
script.zs
// LivingEntity.hasCustomName as bool
myLivingEntity.hasCustomName

Return Type: bool

hasCustomName() as bool
script.zs
// LivingEntity.hasCustomName() as bool;
myLivingEntity.hasCustomName();

Return Type: bool

hasCustomName() as bool
script.zs
// LivingEntity.hasCustomName() as bool;
myLivingEntity.hasCustomName();

Return Type: bool

hasEffect(effect as MobEffect) as bool
script.zs
// LivingEntity.hasEffect(effect as MobEffect) as bool;
myLivingEntity.hasEffect(myMobEffect);

Parameters:

effect Type: MobEffect

Return Type: bool

Getter
script.zs
// LivingEntity.hasExactlyOnePlayerPassenger as bool
myLivingEntity.hasExactlyOnePlayerPassenger

Return Type: bool

hasExactlyOnePlayerPassenger() as bool
script.zs
// LivingEntity.hasExactlyOnePlayerPassenger() as bool;
myLivingEntity.hasExactlyOnePlayerPassenger();

Return Type: bool

Getter
script.zs
// LivingEntity.hasGlowingTag as bool
myLivingEntity.hasGlowingTag

Return Type: bool

hasGlowingTag() as bool
script.zs
// LivingEntity.hasGlowingTag() as bool;
myLivingEntity.hasGlowingTag();

Return Type: bool

hasIndirectPassenger(entity as Entity) as bool
script.zs
// LivingEntity.hasIndirectPassenger(entity as Entity) as bool;
myLivingEntity.hasIndirectPassenger(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

hasItemInSlot(slot as EquipmentSlot) as bool
script.zs
// LivingEntity.hasItemInSlot(slot as EquipmentSlot) as bool;
myLivingEntity.hasItemInSlot(myEquipmentSlot);

Parameters:

Return Type: bool

hasLineOfSight(entity as Entity) as bool
script.zs
// LivingEntity.hasLineOfSight(entity as Entity) as bool;
myLivingEntity.hasLineOfSight(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

hasPassenger(entity as Entity) as bool
script.zs
// LivingEntity.hasPassenger(entity as Entity) as bool;
myLivingEntity.hasPassenger(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

hasPassenger(predicate as function(t as Entity) as bool) as bool
script.zs
// LivingEntity.hasPassenger(predicate as function(t as Entity) as bool) as bool;
myLivingEntity.hasPassenger(myPredicate);

Parameters:

predicate Type: function(t as Entity) as bool

Return Type: bool

heal(amount as float)
script.zs
// LivingEntity.heal(amount as float);
myLivingEntity.heal(myFloat);

Parameters:

amount Type: float
Getter
script.zs
// LivingEntity.health as float
myLivingEntity.health

Return Type: float

health() as float
script.zs
// LivingEntity.health() as float;
myLivingEntity.health();

Return Type: float

hurt(source as DamageSource, amount as float) as bool
script.zs
// LivingEntity.hurt(source as DamageSource, amount as float) as bool;
myLivingEntity.hurt(myDamageSource, myFloat);

Parameters:

source Type: DamageSource
amount Type: float

Return Type: bool

Getter
script.zs
// LivingEntity.id as int
myLivingEntity.id

Return Type: int

id() as int
script.zs
// LivingEntity.id() as int;
myLivingEntity.id();

Return Type: int

Getter
script.zs
// LivingEntity.isAffectedByPotions as bool
myLivingEntity.isAffectedByPotions

Return Type: bool

isAffectedByPotions() as bool
script.zs
// LivingEntity.isAffectedByPotions() as bool;
myLivingEntity.isAffectedByPotions();

Return Type: bool

Getter
script.zs
// LivingEntity.isAlive as bool
myLivingEntity.isAlive

Return Type: bool

isAlive() as bool
script.zs
// LivingEntity.isAlive() as bool;
myLivingEntity.isAlive();

Return Type: bool

Getter
script.zs
// LivingEntity.isAlwaysTicking as bool
myLivingEntity.isAlwaysTicking

Return Type: bool

isAlwaysTicking() as bool
script.zs
// LivingEntity.isAlwaysTicking() as bool;
myLivingEntity.isAlwaysTicking();

Return Type: bool

Getter
script.zs
// LivingEntity.isAttackable as bool
myLivingEntity.isAttackable

Return Type: bool

isAttackable() as bool
script.zs
// LivingEntity.isAttackable() as bool;
myLivingEntity.isAttackable();

Return Type: bool

Getter
script.zs
// LivingEntity.isAutoSpinAttack as bool
myLivingEntity.isAutoSpinAttack

Return Type: bool

isAutoSpinAttack() as bool
script.zs
// LivingEntity.isAutoSpinAttack() as bool;
myLivingEntity.isAutoSpinAttack();

Return Type: bool

Getter
script.zs
// LivingEntity.isBaby as bool
myLivingEntity.isBaby

Return Type: bool

isBaby() as bool
script.zs
// LivingEntity.isBaby() as bool;
myLivingEntity.isBaby();

Return Type: bool

Getter
script.zs
// LivingEntity.isBlocking as bool
myLivingEntity.isBlocking

Return Type: bool

isBlocking() as bool
script.zs
// LivingEntity.isBlocking() as bool;
myLivingEntity.isBlocking();

Return Type: bool

isColliding(pos as BlockPos, state as BlockState) as bool
script.zs
// LivingEntity.isColliding(pos as BlockPos, state as BlockState) as bool;
myLivingEntity.isColliding(myBlockPos, myBlockState);

Parameters:

pos Type: BlockPos
state Type: BlockState

Return Type: bool

Getter
script.zs
// LivingEntity.isCrouching as bool
myLivingEntity.isCrouching

Return Type: bool

isCrouching() as bool
script.zs
// LivingEntity.isCrouching() as bool;
myLivingEntity.isCrouching();

Return Type: bool

Getter
script.zs
// LivingEntity.isCurrentlyGlowing as bool
myLivingEntity.isCurrentlyGlowing

Return Type: bool

isCurrentlyGlowing() as bool
script.zs
// LivingEntity.isCurrentlyGlowing() as bool;
myLivingEntity.isCurrentlyGlowing();

Return Type: bool

Getter
script.zs
// LivingEntity.isCustomNameVisible as bool
myLivingEntity.isCustomNameVisible

Return Type: bool

isCustomNameVisible() as bool
script.zs
// LivingEntity.isCustomNameVisible() as bool;
myLivingEntity.isCustomNameVisible();

Return Type: bool

isDamageSourceBlocked(source as DamageSource) as bool
script.zs
// LivingEntity.isDamageSourceBlocked(source as DamageSource) as bool;
myLivingEntity.isDamageSourceBlocked(myDamageSource);

Parameters:

source Type: DamageSource

Return Type: bool

Getter
script.zs
// LivingEntity.isDeadOrDying as bool
myLivingEntity.isDeadOrDying

Return Type: bool

isDeadOrDying() as bool
script.zs
// LivingEntity.isDeadOrDying() as bool;
myLivingEntity.isDeadOrDying();

Return Type: bool

Getter
script.zs
// LivingEntity.isDescending as bool
myLivingEntity.isDescending

Return Type: bool

isDescending() as bool
script.zs
// LivingEntity.isDescending() as bool;
myLivingEntity.isDescending();

Return Type: bool

Getter
script.zs
// LivingEntity.isDiscrete as bool
myLivingEntity.isDiscrete

Return Type: bool

isDiscrete() as bool
script.zs
// LivingEntity.isDiscrete() as bool;
myLivingEntity.isDiscrete();

Return Type: bool

Getter
script.zs
// LivingEntity.isFallFlying as bool
myLivingEntity.isFallFlying

Return Type: bool

isFallFlying() as bool
script.zs
// LivingEntity.isFallFlying() as bool;
myLivingEntity.isFallFlying();

Return Type: bool

isFree(x as double, y as double, z as double) as bool
script.zs
// LivingEntity.isFree(x as double, y as double, z as double) as bool;
myLivingEntity.isFree(myDouble, myDouble, myDouble);

Parameters:

x Type: double
y Type: double
z Type: double

Return Type: bool

Getter
script.zs
// LivingEntity.isFullyFrozen as bool
myLivingEntity.isFullyFrozen

Return Type: bool

isFullyFrozen() as bool
script.zs
// LivingEntity.isFullyFrozen() as bool;
myLivingEntity.isFullyFrozen();

Return Type: bool

isHolding(item as Item) as bool
script.zs
// LivingEntity.isHolding(item as ItemDefinition) as bool;
myLivingEntity.isHolding(myItem);

Parameters:

Return Type: bool

isHolding(predicate as function(t as ItemStack) as bool) as bool
script.zs
// LivingEntity.isHolding(predicate as function(t as ItemStack) as bool) as bool;
myLivingEntity.isHolding(myPredicate);

Parameters:

predicate Type: function(t as ItemStack) as bool

Return Type: bool

Getter
script.zs
// LivingEntity.isInLava as bool
myLivingEntity.isInLava

Return Type: bool

isInLava() as bool
script.zs
// LivingEntity.isInLava() as bool;
myLivingEntity.isInLava();

Return Type: bool

Getter
script.zs
// LivingEntity.isInvertedHealAndHarm as bool
myLivingEntity.isInvertedHealAndHarm

Return Type: bool

isInvertedHealAndHarm() as bool
script.zs
// LivingEntity.isInvertedHealAndHarm() as bool;
myLivingEntity.isInvertedHealAndHarm();

Return Type: bool

Getter
script.zs
// LivingEntity.isInvisible as bool
myLivingEntity.isInvisible

Return Type: bool

isInvisible() as bool
script.zs
// LivingEntity.isInvisible() as bool;
myLivingEntity.isInvisible();

Return Type: bool

isInvisibleTo(player as Player) as bool
script.zs
// LivingEntity.isInvisibleTo(player as Player) as bool;
myLivingEntity.isInvisibleTo(myPlayer);

Parameters:

player Type: Player

Return Type: bool

Getter
script.zs
// LivingEntity.isInvulnerable as bool
myLivingEntity.isInvulnerable

Return Type: bool

isInvulnerable() as bool
script.zs
// LivingEntity.isInvulnerable() as bool;
myLivingEntity.isInvulnerable();

Return Type: bool

isInvulnerableTo(source as DamageSource) as bool
script.zs
// LivingEntity.isInvulnerableTo(source as DamageSource) as bool;
myLivingEntity.isInvulnerableTo(myDamageSource);

Parameters:

source Type: DamageSource

Return Type: bool

Getter
script.zs
// LivingEntity.isInWall as bool
myLivingEntity.isInWall

Return Type: bool

isInWall() as bool
script.zs
// LivingEntity.isInWall() as bool;
myLivingEntity.isInWall();

Return Type: bool

Getter
script.zs
// LivingEntity.isInWater as bool
myLivingEntity.isInWater

Return Type: bool

isInWater() as bool
script.zs
// LivingEntity.isInWater() as bool;
myLivingEntity.isInWater();

Return Type: bool

Getter
script.zs
// LivingEntity.isInWaterOrBubble as bool
myLivingEntity.isInWaterOrBubble

Return Type: bool

isInWaterOrBubble() as bool
script.zs
// LivingEntity.isInWaterOrBubble() as bool;
myLivingEntity.isInWaterOrBubble();

Return Type: bool

Getter
script.zs
// LivingEntity.isInWaterOrRain as bool
myLivingEntity.isInWaterOrRain

Return Type: bool

isInWaterOrRain() as bool
script.zs
// LivingEntity.isInWaterOrRain() as bool;
myLivingEntity.isInWaterOrRain();

Return Type: bool

Getter
script.zs
// LivingEntity.isInWaterRainOrBubble as bool
myLivingEntity.isInWaterRainOrBubble

Return Type: bool

isInWaterRainOrBubble() as bool
script.zs
// LivingEntity.isInWaterRainOrBubble() as bool;
myLivingEntity.isInWaterRainOrBubble();

Return Type: bool

Getter
script.zs
// LivingEntity.isNoGravity as bool
myLivingEntity.isNoGravity

Return Type: bool

isNoGravity() as bool
script.zs
// LivingEntity.isNoGravity() as bool;
myLivingEntity.isNoGravity();

Return Type: bool

Getter
script.zs
// LivingEntity.isOnFire as bool
myLivingEntity.isOnFire

Return Type: bool

isOnFire() as bool
script.zs
// LivingEntity.isOnFire() as bool;
myLivingEntity.isOnFire();

Return Type: bool

Getter
script.zs
// LivingEntity.isOnPortalCooldown as bool
myLivingEntity.isOnPortalCooldown

Return Type: bool

isOnPortalCooldown() as bool
script.zs
// LivingEntity.isOnPortalCooldown() as bool;
myLivingEntity.isOnPortalCooldown();

Return Type: bool

Getter
script.zs
// LivingEntity.isPassenger as bool
myLivingEntity.isPassenger

Return Type: bool

isPassenger() as bool
script.zs
// LivingEntity.isPassenger() as bool;
myLivingEntity.isPassenger();

Return Type: bool

isPassengerOfSameVehicle(entity as Entity) as bool
script.zs
// LivingEntity.isPassengerOfSameVehicle(entity as Entity) as bool;
myLivingEntity.isPassengerOfSameVehicle(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

Getter
script.zs
// LivingEntity.isPickable as bool
myLivingEntity.isPickable

Return Type: bool

isPickable() as bool
script.zs
// LivingEntity.isPickable() as bool;
myLivingEntity.isPickable();

Return Type: bool

Getter
script.zs
// LivingEntity.isPushable as bool
myLivingEntity.isPushable

Return Type: bool

isPushable() as bool
script.zs
// LivingEntity.isPushable() as bool;
myLivingEntity.isPushable();

Return Type: bool

Getter
script.zs
// LivingEntity.isPushedByFluid as bool
myLivingEntity.isPushedByFluid

Return Type: bool

isPushedByFluid() as bool
script.zs
// LivingEntity.isPushedByFluid() as bool;
myLivingEntity.isPushedByFluid();

Return Type: bool

Getter
script.zs
// LivingEntity.isRemoved as bool
myLivingEntity.isRemoved

Return Type: bool

isRemoved() as bool
script.zs
// LivingEntity.isRemoved() as bool;
myLivingEntity.isRemoved();

Return Type: bool

Getter
script.zs
// LivingEntity.isSensitiveToWater as bool
myLivingEntity.isSensitiveToWater

Return Type: bool

isSensitiveToWater() as bool
script.zs
// LivingEntity.isSensitiveToWater() as bool;
myLivingEntity.isSensitiveToWater();

Return Type: bool

Getter
script.zs
// LivingEntity.isShiftKeyDown as bool
myLivingEntity.isShiftKeyDown

Return Type: bool

isShiftKeyDown() as bool
script.zs
// LivingEntity.isShiftKeyDown() as bool;
myLivingEntity.isShiftKeyDown();

Return Type: bool

Getter
script.zs
// LivingEntity.isSilent as bool
myLivingEntity.isSilent

Return Type: bool

isSilent() as bool
script.zs
// LivingEntity.isSilent() as bool;
myLivingEntity.isSilent();

Return Type: bool

Getter
script.zs
// LivingEntity.isSleeping as bool
myLivingEntity.isSleeping

Return Type: bool

isSleeping() as bool
script.zs
// LivingEntity.isSleeping() as bool;
myLivingEntity.isSleeping();

Return Type: bool

Getter
script.zs
// LivingEntity.isSpectator as bool
myLivingEntity.isSpectator

Return Type: bool

isSpectator() as bool
script.zs
// LivingEntity.isSpectator() as bool;
myLivingEntity.isSpectator();

Return Type: bool

Getter
script.zs
// LivingEntity.isSprinting as bool
myLivingEntity.isSprinting

Return Type: bool

isSprinting() as bool
script.zs
// LivingEntity.isSprinting() as bool;
myLivingEntity.isSprinting();

Return Type: bool

Getter
script.zs
// LivingEntity.isSteppingCarefully as bool
myLivingEntity.isSteppingCarefully

Return Type: bool

isSteppingCarefully() as bool
script.zs
// LivingEntity.isSteppingCarefully() as bool;
myLivingEntity.isSteppingCarefully();

Return Type: bool

Getter
script.zs
// LivingEntity.isSuppressingBounce as bool
myLivingEntity.isSuppressingBounce

Return Type: bool

isSuppressingBounce() as bool
script.zs
// LivingEntity.isSuppressingBounce() as bool;
myLivingEntity.isSuppressingBounce();

Return Type: bool

Getter
script.zs
// LivingEntity.isSuppressingSlidingDownLadder as bool
myLivingEntity.isSuppressingSlidingDownLadder

Return Type: bool

isSuppressingSlidingDownLadder() as bool
script.zs
// LivingEntity.isSuppressingSlidingDownLadder() as bool;
myLivingEntity.isSuppressingSlidingDownLadder();

Return Type: bool

Getter
script.zs
// LivingEntity.isSwimming as bool
myLivingEntity.isSwimming

Return Type: bool

isSwimming() as bool
script.zs
// LivingEntity.isSwimming() as bool;
myLivingEntity.isSwimming();

Return Type: bool

Getter
script.zs
// LivingEntity.isUnderWater as bool
myLivingEntity.isUnderWater

Return Type: bool

isUnderWater() as bool
script.zs
// LivingEntity.isUnderWater() as bool;
myLivingEntity.isUnderWater();

Return Type: bool

Getter
script.zs
// LivingEntity.isUsingItem as bool
myLivingEntity.isUsingItem

Return Type: bool

isUsingItem() as bool
script.zs
// LivingEntity.isUsingItem() as bool;
myLivingEntity.isUsingItem();

Return Type: bool

Getter
script.zs
// LivingEntity.isVehicle as bool
myLivingEntity.isVehicle

Return Type: bool

isVehicle() as bool
script.zs
// LivingEntity.isVehicle() as bool;
myLivingEntity.isVehicle();

Return Type: bool

Getter
script.zs
// LivingEntity.isVisuallyCrawling as bool
myLivingEntity.isVisuallyCrawling

Return Type: bool

isVisuallyCrawling() as bool
script.zs
// LivingEntity.isVisuallyCrawling() as bool;
myLivingEntity.isVisuallyCrawling();

Return Type: bool

Getter
script.zs
// LivingEntity.isVisuallySwimming as bool
myLivingEntity.isVisuallySwimming

Return Type: bool

isVisuallySwimming() as bool
script.zs
// LivingEntity.isVisuallySwimming() as bool;
myLivingEntity.isVisuallySwimming();

Return Type: bool

Getter
script.zs
// LivingEntity.jumpBoostPower as double
myLivingEntity.jumpBoostPower

Return Type: double

jumpBoostPower() as double
script.zs
// LivingEntity.jumpBoostPower() as double;
myLivingEntity.jumpBoostPower();

Return Type: double

kill()
script.zs
// LivingEntity.kill();
myLivingEntity.kill();
Getter
script.zs
// LivingEntity.killCredit as LivingEntity
myLivingEntity.killCredit

Return Type: LivingEntity

killCredit() as LivingEntity
script.zs
// LivingEntity.killCredit() as LivingEntity;
myLivingEntity.killCredit();

Return Type: LivingEntity

knockback(x as double, y as double, z as double)
script.zs
// LivingEntity.knockback(x as double, y as double, z as double);
myLivingEntity.knockback(myDouble, myDouble, myDouble);

Parameters:

x Type: double
y Type: double
z Type: double
Getter
script.zs
// LivingEntity.lastClimbablePos as BlockPos
myLivingEntity.lastClimbablePos

Return Type: BlockPos

lastClimbablePos() as BlockPos
script.zs
// LivingEntity.lastClimbablePos() as BlockPos;
myLivingEntity.lastClimbablePos();

Return Type: BlockPos

Getter
script.zs
// LivingEntity.lastDamageSource as DamageSource
myLivingEntity.lastDamageSource

Return Type: DamageSource

lastDamageSource() as DamageSource
script.zs
// LivingEntity.lastDamageSource() as DamageSource;
myLivingEntity.lastDamageSource();

Return Type: DamageSource

Getter
script.zs
// LivingEntity.lastHurtByMob as LivingEntity
myLivingEntity.lastHurtByMob

Return Type: LivingEntity

lastHurtByMob() as LivingEntity
script.zs
// LivingEntity.lastHurtByMob() as LivingEntity;
myLivingEntity.lastHurtByMob();

Return Type: LivingEntity

Getter
script.zs
// LivingEntity.lastHurtByMobTimestamp as int
myLivingEntity.lastHurtByMobTimestamp

Return Type: int

lastHurtByMobTimestamp() as int
script.zs
// LivingEntity.lastHurtByMobTimestamp() as int;
myLivingEntity.lastHurtByMobTimestamp();

Return Type: int

Getter
script.zs
// LivingEntity.lastHurtMob as LivingEntity
myLivingEntity.lastHurtMob

Return Type: LivingEntity

lastHurtMob() as LivingEntity
script.zs
// LivingEntity.lastHurtMob() as LivingEntity;
myLivingEntity.lastHurtMob();

Return Type: LivingEntity

Getter
script.zs
// LivingEntity.lastHurtMobTimestamp as int
myLivingEntity.lastHurtMobTimestamp

Return Type: int

lastHurtMobTimestamp() as int
script.zs
// LivingEntity.lastHurtMobTimestamp() as int;
myLivingEntity.lastHurtMobTimestamp();

Return Type: int

lavaHurt()
script.zs
// LivingEntity.lavaHurt();
myLivingEntity.lavaHurt();
Getter
script.zs
// LivingEntity.level as Level
myLivingEntity.level

Return Type: Level

Getter
script.zs
// LivingEntity.lookAngle as Vec3
myLivingEntity.lookAngle

Return Type: Vec3

lookAngle() as Vec3
script.zs
// LivingEntity.lookAngle() as Vec3;
myLivingEntity.lookAngle();

Return Type: Vec3

Getter
script.zs
// LivingEntity.lootTable as ResourceLocation
myLivingEntity.lootTable

Return Type: ResourceLocation

lootTable() as ResourceLocation
script.zs
// LivingEntity.lootTable() as ResourceLocation;
myLivingEntity.lootTable();

Return Type: ResourceLocation

Getter
Gets the seed used when generating loot from this entity.
script.zs
// LivingEntity.lootTableSeed as long
myLivingEntity.lootTableSeed

Return Type: long

Getter
script.zs
// LivingEntity.mainArm as HumanoidArm
myLivingEntity.mainArm

Return Type: HumanoidArm

mainArm() as HumanoidArm
script.zs
// LivingEntity.mainArm() as HumanoidArm;
myLivingEntity.mainArm();

Return Type: HumanoidArm

Getter
script.zs
// LivingEntity.mainHandItem as ItemStack
myLivingEntity.mainHandItem

Return Type: ItemStack

mainHandItem() as ItemStack
script.zs
// LivingEntity.mainHandItem() as ItemStack;
myLivingEntity.mainHandItem();

Return Type: ItemStack

Getter
script.zs
// LivingEntity.maxAirSupply as int
myLivingEntity.maxAirSupply

Return Type: int

maxAirSupply() as int
script.zs
// LivingEntity.maxAirSupply() as int;
myLivingEntity.maxAirSupply();

Return Type: int

Getter
script.zs
// LivingEntity.maxFallDistance as int
myLivingEntity.maxFallDistance

Return Type: int

maxFallDistance() as int
script.zs
// LivingEntity.maxFallDistance() as int;
myLivingEntity.maxFallDistance();

Return Type: int

Getter
script.zs
// LivingEntity.maxHealth as float
myLivingEntity.maxHealth

Return Type: float

maxHealth() as float
script.zs
// LivingEntity.maxHealth() as float;
myLivingEntity.maxHealth();

Return Type: float

Getter
script.zs
// LivingEntity.mobType as MobType
myLivingEntity.mobType

Return Type: MobType

mobType() as MobType
script.zs
// LivingEntity.mobType() as MobType;
myLivingEntity.mobType();

Return Type: MobType

Getter
script.zs
// LivingEntity.motionDirection as Direction
myLivingEntity.motionDirection

Return Type: Direction

motionDirection() as Direction
script.zs
// LivingEntity.motionDirection() as Direction;
myLivingEntity.motionDirection();

Return Type: Direction

moveRelative(amount as float, relative as Vec3)
script.zs
// LivingEntity.moveRelative(amount as float, relative as Vec3);
myLivingEntity.moveRelative(myFloat, myVec3);

Parameters:

amount Type: float
relative Type: Vec3
moveTo(vec as Vec3)
script.zs
// LivingEntity.moveTo(vec as Vec3);
myLivingEntity.moveTo(myVec3);

Parameters:

vec Type: Vec3
moveTo(x as double, y as double, z as double)
script.zs
// LivingEntity.moveTo(x as double, y as double, z as double);
myLivingEntity.moveTo(myDouble, myDouble, myDouble);

Parameters:

x Type: double
y Type: double
z Type: double
moveTo(pos as BlockPos, yaw as float, pitch as float)
script.zs
// LivingEntity.moveTo(pos as BlockPos, yaw as float, pitch as float);
myLivingEntity.moveTo(myBlockPos, myFloat, myFloat);

Parameters:

pos Type: BlockPos
yaw Type: float
pitch Type: float
moveTo(x as double, y as double, z as double, yaw as float, pitch as float)
script.zs
// LivingEntity.moveTo(x as double, y as double, z as double, yaw as float, pitch as float);
myLivingEntity.moveTo(myDouble, myDouble, myDouble, myFloat, myFloat);

Parameters:

x Type: double
y Type: double
z Type: double
yaw Type: float
pitch Type: float
Getter
script.zs
// LivingEntity.name as Component
myLivingEntity.name

Return Type: Component

Getter
script.zs
// LivingEntity.name as Component
myLivingEntity.name

Return Type: Component

name() as Component
script.zs
// LivingEntity.name() as Component;
myLivingEntity.name();

Return Type: Component

name() as Component
script.zs
// LivingEntity.name() as Component;
myLivingEntity.name();

Return Type: Component

Getter
script.zs
// LivingEntity.noActionTime as int
myLivingEntity.noActionTime

Return Type: int

noActionTime() as int
script.zs
// LivingEntity.noActionTime() as int;
myLivingEntity.noActionTime();

Return Type: int

Getter
script.zs
// LivingEntity.offHandItem as ItemStack
myLivingEntity.offHandItem

Return Type: ItemStack

offHandItem() as ItemStack
script.zs
// LivingEntity.offHandItem() as ItemStack;
myLivingEntity.offHandItem();

Return Type: ItemStack

Getter
script.zs
// LivingEntity.onGround as bool
myLivingEntity.onGround

Return Type: bool

Getter
script.zs
// LivingEntity.onPos as BlockPos
myLivingEntity.onPos

Return Type: BlockPos

onPos() as BlockPos
script.zs
// LivingEntity.onPos() as BlockPos;
myLivingEntity.onPos();

Return Type: BlockPos

Getter
script.zs
// LivingEntity.passengers as List<Entity>
myLivingEntity.passengers

Return Type: List<Entity>

passengers() as List<Entity>
script.zs
// LivingEntity.passengers() as List<Entity>;
myLivingEntity.passengers();

Return Type: List<Entity>

Getter
script.zs
// LivingEntity.percentFrozen as float
myLivingEntity.percentFrozen

Return Type: float

percentFrozen() as float
script.zs
// LivingEntity.percentFrozen() as float;
myLivingEntity.percentFrozen();

Return Type: float

Getter
script.zs
// LivingEntity.pistonPushReaction as PushReaction
myLivingEntity.pistonPushReaction

Return Type: PushReaction

pistonPushReaction() as PushReaction
script.zs
// LivingEntity.pistonPushReaction() as PushReaction;
myLivingEntity.pistonPushReaction();

Return Type: PushReaction

playSound(sound as SoundEvent, volume as float, pitch as float)
script.zs
// LivingEntity.playSound(sound as SoundEvent, volume as float, pitch as float);
myLivingEntity.playSound(mySoundEvent, myFloat, myFloat);

Parameters:

sound Type: SoundEvent
volume Type: float
pitch Type: float
Getter
script.zs
// LivingEntity.portalWaitTime as int
myLivingEntity.portalWaitTime

Return Type: int

portalWaitTime() as int
script.zs
// LivingEntity.portalWaitTime() as int;
myLivingEntity.portalWaitTime();

Return Type: int

Getter
script.zs
// LivingEntity.position as Vec3
myLivingEntity.position

Return Type: Vec3

position() as Vec3
script.zs
// LivingEntity.position() as Vec3;
myLivingEntity.position();

Return Type: Vec3

positionRider(entity as Entity)
script.zs
// LivingEntity.positionRider(entity as Entity);
myLivingEntity.positionRider(myEntity);

Parameters:

entity Type: Entity
Getter
script.zs
// LivingEntity.random as RandomSource
myLivingEntity.random

Return Type: RandomSource

random() as RandomSource
script.zs
// LivingEntity.random() as RandomSource;
myLivingEntity.random();

Return Type: RandomSource

Getter
script.zs
// LivingEntity.registryName as ResourceLocation
myLivingEntity.registryName

Return Type: ResourceLocation

registryName() as ResourceLocation
script.zs
// LivingEntity.registryName() as ResourceLocation;
myLivingEntity.registryName();

Return Type: ResourceLocation

releaseUsingItem()
script.zs
// LivingEntity.releaseUsingItem();
myLivingEntity.releaseUsingItem();
Getter
script.zs
// LivingEntity.remainingFireTicks as int
myLivingEntity.remainingFireTicks

Return Type: int

remainingFireTicks() as int
script.zs
// LivingEntity.remainingFireTicks() as int;
myLivingEntity.remainingFireTicks();

Return Type: int

removeAllEffects() as bool
script.zs
// LivingEntity.removeAllEffects() as bool;
myLivingEntity.removeAllEffects();

Return Type: bool

removeEffect(effect as MobEffect) as bool
script.zs
// LivingEntity.removeEffect(effect as MobEffect) as bool;
myLivingEntity.removeEffect(myMobEffect);

Parameters:

effect Type: MobEffect

Return Type: bool

removeEffectNoUpdate(effect as MobEffect) as MobEffectInstance
script.zs
// LivingEntity.removeEffectNoUpdate(effect as MobEffect) as MobEffectInstance;
myLivingEntity.removeEffectNoUpdate(myMobEffect);

Parameters:

effect Type: MobEffect

Return Type: MobEffectInstance

removeTag(tagName as string) as bool
script.zs
// LivingEntity.removeTag(tagName as string) as bool;
myLivingEntity.removeTag(myString);

Parameters:

tagName Type: string

Return Type: bool

removeVehicle()
script.zs
// LivingEntity.removeVehicle();
myLivingEntity.removeVehicle();
Getter
script.zs
// LivingEntity.rootVehicle as Entity
myLivingEntity.rootVehicle

Return Type: Entity

rootVehicle() as Entity
script.zs
// LivingEntity.rootVehicle() as Entity;
myLivingEntity.rootVehicle();

Return Type: Entity

Getter
script.zs
// LivingEntity.scale as float
myLivingEntity.scale

Return Type: float

scale() as float
script.zs
// LivingEntity.scale() as float;
myLivingEntity.scale();

Return Type: float

sendMessage(component as Component)
script.zs
// LivingEntity.sendMessage(component as Component);
myLivingEntity.sendMessage(myComponent);

Parameters:

component Type: Component
setAbsorptionAmount(absorption as float)
script.zs
// LivingEntity.setAbsorptionAmount(absorption as float);
myLivingEntity.setAbsorptionAmount(myFloat);

Parameters:

absorption Type: float
setAirSupply(air as int)
script.zs
// LivingEntity.setAirSupply(air as int);
myLivingEntity.setAirSupply(myInt);

Parameters:

air Type: int
setArrowCount(count as int)
script.zs
// LivingEntity.setArrowCount(count as int);
myLivingEntity.setArrowCount(myInt);

Parameters:

count Type: int
setAttachmentData(type as AttachmentType<T>, data as T) as T?
script.zs
// LivingEntity.setAttachmentData<T>(type as AttachmentType<T>, data as T) as T?;
myLivingEntity.setAttachmentData<T>(myAttachmentType, myT);

Parameters:

type Type: AttachmentType<T>
data Type: T

Return Type: T?

setAttachmentData(type as Supplier<AttachmentType<T>>, data as T) as T?
script.zs
// LivingEntity.setAttachmentData<T>(type as Supplier<AttachmentType<T>>, data as T) as T?;
myLivingEntity.setAttachmentData<T>(mySupplier, myT);

Parameters:

type Type: Supplier<AttachmentType<T>>
data Type: T

Return Type: T?

setCustomName(name as Component)
script.zs
// LivingEntity.setCustomName(name as Component);
myLivingEntity.setCustomName(myComponent);

Parameters:

name Type: Component
setCustomNameVisible(visible as bool)
script.zs
// LivingEntity.setCustomNameVisible(visible as bool);
myLivingEntity.setCustomNameVisible(myBool);

Parameters:

visible Type: bool
setDeltaMovement(xDelta as double, yDelta as double, zDelta as double)
script.zs
// LivingEntity.setDeltaMovement(xDelta as double, yDelta as double, zDelta as double);
myLivingEntity.setDeltaMovement(myDouble, myDouble, myDouble);

Parameters:

xDelta Type: double
yDelta Type: double
zDelta Type: double
setDiscardFriction(discardFriction as bool)
script.zs
// LivingEntity.setDiscardFriction(discardFriction as bool);
myLivingEntity.setDiscardFriction(myBool);

Parameters:

discardFriction Type: bool
setGlowingTag(glowing as bool)
script.zs
// LivingEntity.setGlowingTag(glowing as bool);
myLivingEntity.setGlowingTag(myBool);

Parameters:

glowing Type: bool
setHealth(health as float)
script.zs
// LivingEntity.setHealth(health as float);
myLivingEntity.setHealth(myFloat);

Parameters:

health Type: float
setInvisible(invisible as bool)
script.zs
// LivingEntity.setInvisible(invisible as bool);
myLivingEntity.setInvisible(myBool);

Parameters:

invisible Type: bool
setInvulnerable(invulnerable as bool)
script.zs
// LivingEntity.setInvulnerable(invulnerable as bool);
myLivingEntity.setInvulnerable(myBool);

Parameters:

invulnerable Type: bool
setIsInPowderSnow(inPowderSnow as bool)
script.zs
// LivingEntity.setIsInPowderSnow(inPowderSnow as bool);
myLivingEntity.setIsInPowderSnow(myBool);

Parameters:

inPowderSnow Type: bool
setItemInHand(hand as InteractionHand, stack as ItemStack)
script.zs
// LivingEntity.setItemInHand(hand as InteractionHand, stack as ItemStack);
myLivingEntity.setItemInHand(myInteractionHand, myItemStack);

Parameters:

setItemSlot(slot as EquipmentSlot, stack as ItemStack)
script.zs
// LivingEntity.setItemSlot(slot as EquipmentSlot, stack as ItemStack);
myLivingEntity.setItemSlot(myEquipmentSlot, myItemStack);

Parameters:

stack Type: ItemStack
setJumping(jumping as bool)
script.zs
// LivingEntity.setJumping(jumping as bool);
myLivingEntity.setJumping(myBool);

Parameters:

jumping Type: bool
setLastHurtByMob(entity as LivingEntity)
script.zs
// LivingEntity.setLastHurtByMob(entity as LivingEntity);
myLivingEntity.setLastHurtByMob(myLivingEntity);

Parameters:

entity Type: LivingEntity
setLastHurtByPlayer(player as Player)
script.zs
// LivingEntity.setLastHurtByPlayer(player as Player);
myLivingEntity.setLastHurtByPlayer(myPlayer);

Parameters:

player Type: Player
setLastHurtMob(entity as Entity)
script.zs
// LivingEntity.setLastHurtMob(entity as Entity);
myLivingEntity.setLastHurtMob(myEntity);

Parameters:

entity Type: Entity
setNoActionTime(idleTime as int)
script.zs
// LivingEntity.setNoActionTime(idleTime as int);
myLivingEntity.setNoActionTime(myInt);

Parameters:

idleTime Type: int
setNoGravity(noGravity as bool)
script.zs
// LivingEntity.setNoGravity(noGravity as bool);
myLivingEntity.setNoGravity(myBool);

Parameters:

noGravity Type: bool
setOldPosAndRot()
script.zs
// LivingEntity.setOldPosAndRot();
myLivingEntity.setOldPosAndRot();
setOnGround(onGround as bool)
script.zs
// LivingEntity.setOnGround(onGround as bool);
myLivingEntity.setOnGround(myBool);

Parameters:

onGround Type: bool
setPortalCooldown()
script.zs
// LivingEntity.setPortalCooldown();
myLivingEntity.setPortalCooldown();
setPos(position as Vec3)
script.zs
// LivingEntity.setPos(position as Vec3);
myLivingEntity.setPos(myVec3);

Parameters:

position Type: Vec3
setPos(x as double, y as double, z as double)
script.zs
// LivingEntity.setPos(x as double, y as double, z as double);
myLivingEntity.setPos(myDouble, myDouble, myDouble);

Parameters:

x Type: double
y Type: double
z Type: double
setPosRaw(x as double, y as double, z as double)
script.zs
// LivingEntity.setPosRaw(x as double, y as double, z as double);
myLivingEntity.setPosRaw(myDouble, myDouble, myDouble);

Parameters:

x Type: double
y Type: double
z Type: double
setRemainingFireTicks(ticks as int)
script.zs
// LivingEntity.setRemainingFireTicks(ticks as int);
myLivingEntity.setRemainingFireTicks(myInt);

Parameters:

ticks Type: int
setRemoved(var1 as RemovalReason)
script.zs
// LivingEntity.setRemoved(var1 as RemovalReason);
myLivingEntity.setRemoved(myRemovalReason);

Parameters:

setSecondsOnFire(seconds as int)
script.zs
// LivingEntity.setSecondsOnFire(seconds as int);
myLivingEntity.setSecondsOnFire(myInt);

Parameters:

seconds Type: int
setShiftKeyDown(keyDown as bool)
script.zs
// LivingEntity.setShiftKeyDown(keyDown as bool);
myLivingEntity.setShiftKeyDown(myBool);

Parameters:

keyDown Type: bool
setSilent(silent as bool)
script.zs
// LivingEntity.setSilent(silent as bool);
myLivingEntity.setSilent(myBool);

Parameters:

silent Type: bool
setSleepingPos(pos as BlockPos)
script.zs
// LivingEntity.setSleepingPos(pos as BlockPos);
myLivingEntity.setSleepingPos(myBlockPos);

Parameters:

pos Type: BlockPos
setSpeed(speed as float)
script.zs
// LivingEntity.setSpeed(speed as float);
myLivingEntity.setSpeed(myFloat);

Parameters:

speed Type: float
setSprinting(sprinting as bool)
script.zs
// LivingEntity.setSprinting(sprinting as bool);
myLivingEntity.setSprinting(myBool);

Parameters:

sprinting Type: bool
setStingerCount(count as int)
script.zs
// LivingEntity.setStingerCount(count as int);
myLivingEntity.setStingerCount(myInt);

Parameters:

count Type: int
setSwimming(swimming as bool)
script.zs
// LivingEntity.setSwimming(swimming as bool);
myLivingEntity.setSwimming(myBool);

Parameters:

swimming Type: bool
setTicksFrozen(ticks as int)
script.zs
// LivingEntity.setTicksFrozen(ticks as int);
myLivingEntity.setTicksFrozen(myInt);

Parameters:

ticks Type: int
Getter
script.zs
// LivingEntity.shouldBeSaved as bool
myLivingEntity.shouldBeSaved

Return Type: bool

shouldBeSaved() as bool
script.zs
// LivingEntity.shouldBeSaved() as bool;
myLivingEntity.shouldBeSaved();

Return Type: bool

Getter
script.zs
// LivingEntity.shouldDiscardFriction as bool
myLivingEntity.shouldDiscardFriction

Return Type: bool

shouldDiscardFriction() as bool
script.zs
// LivingEntity.shouldDiscardFriction() as bool;
myLivingEntity.shouldDiscardFriction();

Return Type: bool

Getter
script.zs
// LivingEntity.shouldInformAdmins as bool
myLivingEntity.shouldInformAdmins

Return Type: bool

shouldInformAdmins() as bool
script.zs
// LivingEntity.shouldInformAdmins() as bool;
myLivingEntity.shouldInformAdmins();

Return Type: bool

Getter
script.zs
// LivingEntity.shouldShowName as bool
myLivingEntity.shouldShowName

Return Type: bool

shouldShowName() as bool
script.zs
// LivingEntity.shouldShowName() as bool;
myLivingEntity.shouldShowName();

Return Type: bool

Getter
script.zs
// LivingEntity.showVehicleHealth as bool
myLivingEntity.showVehicleHealth

Return Type: bool

showVehicleHealth() as bool
script.zs
// LivingEntity.showVehicleHealth() as bool;
myLivingEntity.showVehicleHealth();

Return Type: bool

Getter
script.zs
// LivingEntity.sleepingPos as BlockPos
myLivingEntity.sleepingPos

Return Type: BlockPos

sleepingPos() as BlockPos
script.zs
// LivingEntity.sleepingPos() as BlockPos;
myLivingEntity.sleepingPos();

Return Type: BlockPos

Getter
script.zs
// LivingEntity.soundSource as SoundSource
myLivingEntity.soundSource

Return Type: SoundSource

soundSource() as SoundSource
script.zs
// LivingEntity.soundSource() as SoundSource;
myLivingEntity.soundSource();

Return Type: SoundSource

Getter
script.zs
// LivingEntity.speed as float
myLivingEntity.speed

Return Type: float

speed() as float
script.zs
// LivingEntity.speed() as float;
myLivingEntity.speed();

Return Type: float

startRiding(entity as Entity) as bool
script.zs
// LivingEntity.startRiding(entity as Entity) as bool;
myLivingEntity.startRiding(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

startRiding(entity as Entity, force as bool) as bool
script.zs
// LivingEntity.startRiding(entity as Entity, force as bool) as bool;
myLivingEntity.startRiding(myEntity, myBool);

Parameters:

entity Type: Entity
force Type: bool

Return Type: bool

startSleeping(pos as BlockPos)
script.zs
// LivingEntity.startSleeping(pos as BlockPos);
myLivingEntity.startSleeping(myBlockPos);

Parameters:

pos Type: BlockPos
startUsingItem(param0 as InteractionHand)
script.zs
// LivingEntity.startUsingItem(param0 as InteractionHand);
myLivingEntity.startUsingItem(myInteractionHand);

Parameters:

Getter
script.zs
// LivingEntity.stingerCount as int
myLivingEntity.stingerCount

Return Type: int

stingerCount() as int
script.zs
// LivingEntity.stingerCount() as int;
myLivingEntity.stingerCount();

Return Type: int

stopRiding()
script.zs
// LivingEntity.stopRiding();
myLivingEntity.stopRiding();
stopSleeping()
script.zs
// LivingEntity.stopSleeping();
myLivingEntity.stopSleeping();
stopUsingItem()
script.zs
// LivingEntity.stopUsingItem();
myLivingEntity.stopUsingItem();
Getter
script.zs
// LivingEntity.stringUUID as string
myLivingEntity.stringUUID

Return Type: string

stringUUID() as string
script.zs
// LivingEntity.stringUUID() as string;
myLivingEntity.stringUUID();

Return Type: string

swing(hand as InteractionHand)
script.zs
// LivingEntity.swing(hand as InteractionHand);
myLivingEntity.swing(myInteractionHand);

Parameters:

swing(hand as InteractionHand, updateSelf as bool)
script.zs
// LivingEntity.swing(hand as InteractionHand, updateSelf as bool);
myLivingEntity.swing(myInteractionHand, myBool);

Parameters:

updateSelf Type: bool
Getter
script.zs
// LivingEntity.tags as Set<string>
myLivingEntity.tags

Return Type: Set<string>

tags() as Set<string>
script.zs
// LivingEntity.tags() as Set<string>;
myLivingEntity.tags();

Return Type: Set<string>

Getter
script.zs
// LivingEntity.teamColor as int
myLivingEntity.teamColor

Return Type: int

teamColor() as int
script.zs
// LivingEntity.teamColor() as int;
myLivingEntity.teamColor();

Return Type: int

teleportTo(x as double, y as double, z as double)
script.zs
// LivingEntity.teleportTo(x as double, y as double, z as double);
myLivingEntity.teleportTo(myDouble, myDouble, myDouble);

Parameters:

x Type: double
y Type: double
z Type: double
Getter
script.zs
// LivingEntity.ticksFrozen as int
myLivingEntity.ticksFrozen

Return Type: int

ticksFrozen() as int
script.zs
// LivingEntity.ticksFrozen() as int;
myLivingEntity.ticksFrozen();

Return Type: int

Getter
script.zs
// LivingEntity.ticksRequiredToFreeze as int
myLivingEntity.ticksRequiredToFreeze

Return Type: int

ticksRequiredToFreeze() as int
script.zs
// LivingEntity.ticksRequiredToFreeze() as int;
myLivingEntity.ticksRequiredToFreeze();

Return Type: int

Getter
script.zs
// LivingEntity.ticksUsingItem as int
myLivingEntity.ticksUsingItem

Return Type: int

ticksUsingItem() as int
script.zs
// LivingEntity.ticksUsingItem() as int;
myLivingEntity.ticksUsingItem();

Return Type: int

travel(vec as Vec3)
script.zs
// LivingEntity.travel(vec as Vec3);
myLivingEntity.travel(myVec3);

Parameters:

vec Type: Vec3
turn(yaw as double, pitch as double)
script.zs
// LivingEntity.turn(yaw as double, pitch as double);
myLivingEntity.turn(myDouble, myDouble);

Parameters:

yaw Type: double
pitch Type: double
Getter
script.zs
// LivingEntity.type as EntityType<Entity>
myLivingEntity.type

Return Type: EntityType<Entity>

type() as EntityType<Entity>
script.zs
// LivingEntity.type() as EntityType<Entity>;
myLivingEntity.type();

Return Type: EntityType<Entity>

unRide()
script.zs
// LivingEntity.unRide();
myLivingEntity.unRide();
updateCustomData(data as MapData)
Updates the custom NBT data for this Entity.
script.zs
// LivingEntity.updateCustomData(data as MapData);
myLivingEntity.updateCustomData({custom: "data"});

Parameters:

data Type: MapData - The custom data to store.
updateCustomEntityTag(level as Level, player as Player, data as MapData)
script.zs
// LivingEntity.updateCustomEntityTag(level as Level, player as Player, data as MapData);
myLivingEntity.updateCustomEntityTag(myLevel, myPlayer, myMapData);

Parameters:

level Type: Level
player Type: Player
data Type: MapData
updateData(data as MapData)
Updates the NBT data of this Entity.
script.zs
// LivingEntity.updateData(data as MapData);
myLivingEntity.updateData({key: "value"});

Parameters:

data Type: MapData - The new Data for this Entity
Getter
script.zs
// LivingEntity.usedItemHand as InteractionHand
myLivingEntity.usedItemHand

Return Type: InteractionHand

usedItemHand() as InteractionHand
script.zs
// LivingEntity.usedItemHand() as InteractionHand;
myLivingEntity.usedItemHand();

Return Type: InteractionHand

Getter
script.zs
// LivingEntity.useItem as ItemStack
myLivingEntity.useItem

Return Type: ItemStack

useItem() as ItemStack
script.zs
// LivingEntity.useItem() as ItemStack;
myLivingEntity.useItem();

Return Type: ItemStack

Getter
script.zs
// LivingEntity.useItemRemainingTicks as int
myLivingEntity.useItemRemainingTicks

Return Type: int

useItemRemainingTicks() as int
script.zs
// LivingEntity.useItemRemainingTicks() as int;
myLivingEntity.useItemRemainingTicks();

Return Type: int

Getter
script.zs
// LivingEntity.uuid as UUID
myLivingEntity.uuid

Return Type: UUID

uuid() as UUID
script.zs
// LivingEntity.uuid() as UUID;
myLivingEntity.uuid();

Return Type: UUID

Getter
script.zs
// LivingEntity.vehicle as Entity
myLivingEntity.vehicle

Return Type: Entity

vehicle() as Entity
script.zs
// LivingEntity.vehicle() as Entity;
myLivingEntity.vehicle();

Return Type: Entity

Getter
script.zs
// LivingEntity.voicePitch as float
myLivingEntity.voicePitch

Return Type: float

voicePitch() as float
script.zs
// LivingEntity.voicePitch() as float;
myLivingEntity.voicePitch();

Return Type: float

Getter
script.zs
// LivingEntity.x as double
myLivingEntity.x

Return Type: double

x() as double
script.zs
// LivingEntity.x() as double;
myLivingEntity.x();

Return Type: double

Getter
script.zs
// LivingEntity.y as double
myLivingEntity.y

Return Type: double

y() as double
script.zs
// LivingEntity.y() as double;
myLivingEntity.y();

Return Type: double

Getter
script.zs
// LivingEntity.z as double
myLivingEntity.z

Return Type: double

z() as double
script.zs
// LivingEntity.z() as double;
myLivingEntity.z();

Return Type: double