AgeableMob

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.type.misc.AgeableMob;

Extends

AgeableMob extends PathfinderMob.

Implements

AgeableMob implements the following interfaces:

Nameable,EntityAccess,CommandSource,ICapabilityProviderImpl<ICapabilityProviderImpl>,ICapabilityProvider

Undocumented Interfaces

Targeting,Attackable,ILivingEntityExtension,IEntityExtension,ICapabilitySerializable<CompoundTag>,INBTSerializable<Tag>

Members

Getter
script.zs
// AgeableMob.absorptionAmount as float
myAgeableMob.absorptionAmount

Return Type: float

absorptionAmount() as float
script.zs
// AgeableMob.absorptionAmount() as float;
myAgeableMob.absorptionAmount();

Return Type: float

Getter
script.zs
// AgeableMob.acceptsFailure as bool
myAgeableMob.acceptsFailure

Return Type: bool

acceptsFailure() as bool
script.zs
// AgeableMob.acceptsFailure() as bool;
myAgeableMob.acceptsFailure();

Return Type: bool

Getter
script.zs
// AgeableMob.acceptsSuccess as bool
myAgeableMob.acceptsSuccess

Return Type: bool

acceptsSuccess() as bool
script.zs
// AgeableMob.acceptsSuccess() as bool;
myAgeableMob.acceptsSuccess();

Return Type: bool

Getter
script.zs
// AgeableMob.activeEffects as Collection<MobEffectInstance>
myAgeableMob.activeEffects

Return Type: Collection<MobEffectInstance>

activeEffects() as Collection<MobEffectInstance>
script.zs
// AgeableMob.activeEffects() as Collection<MobEffectInstance>;
myAgeableMob.activeEffects();

Return Type: Collection<MobEffectInstance>

Getter
script.zs
// AgeableMob.activeEFfectsMap as MobEffectInstance[MobEffect]
myAgeableMob.activeEFfectsMap

Return Type: MobEffectInstance[MobEffect]

activeEFfectsMap() as MobEffectInstance[MobEffect]
script.zs
// AgeableMob.activeEFfectsMap() as MobEffectInstance[MobEffect];
myAgeableMob.activeEFfectsMap();

Return Type: MobEffectInstance[MobEffect]

addEffect(effectInstance as MobEffectInstance) as bool
script.zs
// AgeableMob.addEffect(effectInstance as MobEffectInstance) as bool;
myAgeableMob.addEffect(myMobEffectInstance);

Parameters:

effectInstance Type: MobEffectInstance

Return Type: bool

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

Parameters:

effectInstance Type: MobEffectInstance
entity Type: Entity

Return Type: bool

addTag(tagName as string) as bool
script.zs
// AgeableMob.addTag(tagName as string) as bool;
myAgeableMob.addTag(myString);

Parameters:

tagName Type: string

Return Type: bool

Getter
script.zs
// AgeableMob.airSupply as int
myAgeableMob.airSupply

Return Type: int

airSupply() as int
script.zs
// AgeableMob.airSupply() as int;
myAgeableMob.airSupply();

Return Type: int

Getter
script.zs
// AgeableMob.allSlots as Iterable<ItemStack>
myAgeableMob.allSlots

Return Type: Iterable<ItemStack>

allSlots() as Iterable<ItemStack>
script.zs
// AgeableMob.allSlots() as Iterable<ItemStack>;
myAgeableMob.allSlots();

Return Type: Iterable<ItemStack>

Getter
script.zs
// AgeableMob.alwaysAccepts as bool
myAgeableMob.alwaysAccepts

Return Type: bool

alwaysAccepts() as bool
script.zs
// AgeableMob.alwaysAccepts() as bool;
myAgeableMob.alwaysAccepts();

Return Type: bool

Getter
script.zs
// AgeableMob.armorCoverPercentage as float
myAgeableMob.armorCoverPercentage

Return Type: float

armorCoverPercentage() as float
script.zs
// AgeableMob.armorCoverPercentage() as float;
myAgeableMob.armorCoverPercentage();

Return Type: float

Getter
script.zs
// AgeableMob.armorSlots as Iterable<ItemStack>
myAgeableMob.armorSlots

Return Type: Iterable<ItemStack>

armorSlots() as Iterable<ItemStack>
script.zs
// AgeableMob.armorSlots() as Iterable<ItemStack>;
myAgeableMob.armorSlots();

Return Type: Iterable<ItemStack>

Getter
script.zs
// AgeableMob.armorValue as int
myAgeableMob.armorValue

Return Type: int

armorValue() as int
script.zs
// AgeableMob.armorValue() as int;
myAgeableMob.armorValue();

Return Type: int

Getter
script.zs
// AgeableMob.arrowCount as int
myAgeableMob.arrowCount

Return Type: int

arrowCount() as int
script.zs
// AgeableMob.arrowCount() as int;
myAgeableMob.arrowCount();

Return Type: int

Getter
script.zs
// AgeableMob.attackable as bool
myAgeableMob.attackable

Return Type: bool

attackable() as bool
script.zs
// AgeableMob.attackable() as bool;
myAgeableMob.attackable();

Return Type: bool

Getter
script.zs
// AgeableMob.bbHeight as float
myAgeableMob.bbHeight

Return Type: float

bbHeight() as float
script.zs
// AgeableMob.bbHeight() as float;
myAgeableMob.bbHeight();

Return Type: float

Getter
script.zs
// AgeableMob.bbWidth as float
myAgeableMob.bbWidth

Return Type: float

bbWidth() as float
script.zs
// AgeableMob.bbWidth() as float;
myAgeableMob.bbWidth();

Return Type: float

Getter
script.zs
// AgeableMob.bedOrientation as Direction
myAgeableMob.bedOrientation

Return Type: Direction

bedOrientation() as Direction
script.zs
// AgeableMob.bedOrientation() as Direction;
myAgeableMob.bedOrientation();

Return Type: Direction

Getter
script.zs
// AgeableMob.blockPosiion as BlockPos
myAgeableMob.blockPosiion

Return Type: BlockPos

blockPosiion() as BlockPos
script.zs
// AgeableMob.blockPosiion() as BlockPos;
myAgeableMob.blockPosiion();

Return Type: BlockPos

Getter
script.zs
// AgeableMob.blockPosition as BlockPos
myAgeableMob.blockPosition

Return Type: BlockPos

blockPosition() as BlockPos
script.zs
// AgeableMob.blockPosition() as BlockPos;
myAgeableMob.blockPosition();

Return Type: BlockPos

Getter
script.zs
// AgeableMob.blockX as int
myAgeableMob.blockX

Return Type: int

blockX() as int
script.zs
// AgeableMob.blockX() as int;
myAgeableMob.blockX();

Return Type: int

Getter
script.zs
// AgeableMob.blockY as int
myAgeableMob.blockY

Return Type: int

blockY() as int
script.zs
// AgeableMob.blockY() as int;
myAgeableMob.blockY();

Return Type: int

Getter
script.zs
// AgeableMob.blockZ as int
myAgeableMob.blockZ

Return Type: int

blockZ() as int
script.zs
// AgeableMob.blockZ() as int;
myAgeableMob.blockZ();

Return Type: int

Getter
script.zs
// AgeableMob.boundingBox as AABB
myAgeableMob.boundingBox

Return Type: AABB

boundingBox() as AABB
script.zs
// AgeableMob.boundingBox() as AABB;
myAgeableMob.boundingBox();

Return Type: AABB

Getter
script.zs
// AgeableMob.boundingBoxForCulling as AABB
myAgeableMob.boundingBoxForCulling

Return Type: AABB

boundingBoxForCulling() as AABB
script.zs
// AgeableMob.boundingBoxForCulling() as AABB;
myAgeableMob.boundingBoxForCulling();

Return Type: AABB

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

Parameters:

target Type: LivingEntity

Return Type: bool

canBeAffected(effectInstance as MobEffectInstance) as bool
script.zs
// AgeableMob.canBeAffected(effectInstance as MobEffectInstance) as bool;
myAgeableMob.canBeAffected(myMobEffectInstance);

Parameters:

effectInstance Type: MobEffectInstance

Return Type: bool

Getter
script.zs
// AgeableMob.canBeCollidedWith as bool
myAgeableMob.canBeCollidedWith

Return Type: bool

canBeCollidedWith() as bool
script.zs
// AgeableMob.canBeCollidedWith() as bool;
myAgeableMob.canBeCollidedWith();

Return Type: bool

Getter
script.zs
// AgeableMob.canBeSeenAsEnemy as bool
myAgeableMob.canBeSeenAsEnemy

Return Type: bool

canBeSeenAsEnemy() as bool
script.zs
// AgeableMob.canBeSeenAsEnemy() as bool;
myAgeableMob.canBeSeenAsEnemy();

Return Type: bool

Getter
script.zs
// AgeableMob.canBeSeenByAnyone as bool
myAgeableMob.canBeSeenByAnyone

Return Type: bool

canBeSeenByAnyone() as bool
script.zs
// AgeableMob.canBeSeenByAnyone() as bool;
myAgeableMob.canBeSeenByAnyone();

Return Type: bool

Getter
script.zs
// AgeableMob.canBreatheUnderwater as bool
myAgeableMob.canBreatheUnderwater

Return Type: bool

Getter
script.zs
// AgeableMob.canBreatheUnderwater as bool
myAgeableMob.canBreatheUnderwater

Return Type: bool

canBreatheUnderwater() as bool
script.zs
// AgeableMob.canBreatheUnderwater() as bool;
myAgeableMob.canBreatheUnderwater();

Return Type: bool

canBreatheUnderwater() as bool
script.zs
// AgeableMob.canBreatheUnderwater() as bool;
myAgeableMob.canBreatheUnderwater();

Return Type: bool

canCollideWith(other as Entity) as bool
script.zs
// AgeableMob.canCollideWith(other as Entity) as bool;
myAgeableMob.canCollideWith(myEntity);

Parameters:

other Type: Entity

Return Type: bool

Getter
script.zs
// AgeableMob.canFreeze as bool
myAgeableMob.canFreeze

Return Type: bool

canFreeze() as bool
script.zs
// AgeableMob.canFreeze() as bool;
myAgeableMob.canFreeze();

Return Type: bool

canStandOnFluid(fluid as Fluid) as bool
script.zs
// AgeableMob.canStandOnFluid(fluid as Fluid) as bool;
myAgeableMob.canStandOnFluid(myFluid);

Parameters:

fluid Type: Fluid

Return Type: bool

canTakeItem(stack as ItemStack) as bool
script.zs
// AgeableMob.canTakeItem(stack as ItemStack) as bool;
myAgeableMob.canTakeItem(myItemStack);

Parameters:

stack Type: ItemStack

Return Type: bool

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

Parameters:

other Type: Entity
distance Type: double

Return Type: bool

Getter
script.zs
// AgeableMob.commandSenderWorld as Level
myAgeableMob.commandSenderWorld

Return Type: Level

commandSenderWorld() as Level
script.zs
// AgeableMob.commandSenderWorld() as Level;
myAgeableMob.commandSenderWorld();

Return Type: Level

Getter
script.zs
// AgeableMob.controllingPassenger as Entity
myAgeableMob.controllingPassenger

Return Type: Entity

controllingPassenger() as Entity
script.zs
// AgeableMob.controllingPassenger() as Entity;
myAgeableMob.controllingPassenger();

Return Type: Entity

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

Return Type: MapData

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

Returns: The custom data for this Entity.

script.zs
// AgeableMob.customData() as MapData;
myAgeableMob.customData();

Return Type: MapData

Getter
script.zs
// AgeableMob.customName as Component
myAgeableMob.customName

Return Type: Component

Getter
script.zs
// AgeableMob.customName as Component
myAgeableMob.customName

Return Type: Component

customName() as Component
script.zs
// AgeableMob.customName() as Component;
myAgeableMob.customName();

Return Type: Component

customName() as Component
script.zs
// AgeableMob.customName() as Component;
myAgeableMob.customName();

Return Type: Component

Getter
script.zs
// AgeableMob.dampensVibrations as bool
myAgeableMob.dampensVibrations

Return Type: bool

dampensVibrations() as bool
script.zs
// AgeableMob.dampensVibrations() as bool;
myAgeableMob.dampensVibrations();

Return Type: bool

Getter
Gets the NBT data of this Entity.
script.zs
// AgeableMob.data as MapData
myAgeableMob.data

Return Type: MapData

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

Returns: The NBT data of this Entity.

script.zs
// AgeableMob.data() as MapData;
myAgeableMob.data();

Return Type: MapData

Getter
script.zs
// AgeableMob.deltaMovement as Vec3
myAgeableMob.deltaMovement

Return Type: Vec3

Setter
script.zs
// AgeableMob.deltaMovement = (deltaMovement as Vec3);
myAgeableMob.deltaMovement = myVec3;

Parameters:

deltaMovement Type: Vec3
deltaMovement() as Vec3
script.zs
// AgeableMob.deltaMovement() as Vec3;
myAgeableMob.deltaMovement();

Return Type: Vec3

deltaMovement(deltaMovement as Vec3)
script.zs
// AgeableMob.deltaMovement(deltaMovement as Vec3);
myAgeableMob.deltaMovement(myVec3);

Parameters:

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

Parameters:

source Type: DamageSource
Getter
script.zs
// AgeableMob.dimensionChangingDelay as int
myAgeableMob.dimensionChangingDelay

Return Type: int

dimensionChangingDelay() as int
script.zs
// AgeableMob.dimensionChangingDelay() as int;
myAgeableMob.dimensionChangingDelay();

Return Type: int

Getter
script.zs
// AgeableMob.direction as Direction
myAgeableMob.direction

Return Type: Direction

direction() as Direction
script.zs
// AgeableMob.direction() as Direction;
myAgeableMob.direction();

Return Type: Direction

discard()
script.zs
// AgeableMob.discard();
myAgeableMob.discard();
Getter
script.zs
// AgeableMob.dismountsUnderwater as bool
myAgeableMob.dismountsUnderwater

Return Type: bool

Getter
script.zs
// AgeableMob.displayName as Component
myAgeableMob.displayName

Return Type: Component

Getter
script.zs
// AgeableMob.displayName as Component
myAgeableMob.displayName

Return Type: Component

displayName() as Component
script.zs
// AgeableMob.displayName() as Component;
myAgeableMob.displayName();

Return Type: Component

displayName() as Component
script.zs
// AgeableMob.displayName() as Component;
myAgeableMob.displayName();

Return Type: Component

distanceTo(entity as Entity) as float
script.zs
// AgeableMob.distanceTo(entity as Entity) as float;
myAgeableMob.distanceTo(myEntity);

Parameters:

entity Type: Entity

Return Type: float

distanceToSqr(x as double, y as double, z as double) as double
script.zs
// AgeableMob.distanceToSqr(x as double, y as double, z as double) as double;
myAgeableMob.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
// AgeableMob.distanceToSqr(entity as Entity) as double;
myAgeableMob.distanceToSqr(myEntity);

Parameters:

entity Type: Entity

Return Type: double

distanceToSqr(vec as Vec3) as double
script.zs
// AgeableMob.distanceToSqr(vec as Vec3) as double;
myAgeableMob.distanceToSqr(myVec3);

Parameters:

vec Type: Vec3

Return Type: double

doHurtTarget(entity as Entity) as bool
script.zs
// AgeableMob.doHurtTarget(entity as Entity) as bool;
myAgeableMob.doHurtTarget(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

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

Parameters:

level Type: Level
stack Type: ItemStack

Return Type: ItemStack

ejectPassengers()
script.zs
// AgeableMob.ejectPassengers();
myAgeableMob.ejectPassengers();
Getter
script.zs
// AgeableMob.eyeHeight as float
myAgeableMob.eyeHeight

Return Type: float

eyeHeight() as float
script.zs
// AgeableMob.eyeHeight() as float;
myAgeableMob.eyeHeight();

Return Type: float

Getter
script.zs
// AgeableMob.eyePosition as Vec3
myAgeableMob.eyePosition

Return Type: Vec3

eyePosition() as Vec3
script.zs
// AgeableMob.eyePosition() as Vec3;
myAgeableMob.eyePosition();

Return Type: Vec3

Getter
script.zs
// AgeableMob.eyeY as double
myAgeableMob.eyeY

Return Type: double

eyeY() as double
script.zs
// AgeableMob.eyeY() as double;
myAgeableMob.eyeY();

Return Type: double

Getter
script.zs
// AgeableMob.fallFlyingTicks as int
myAgeableMob.fallFlyingTicks

Return Type: int

fallFlyingTicks() as int
script.zs
// AgeableMob.fallFlyingTicks() as int;
myAgeableMob.fallFlyingTicks();

Return Type: int

Getter
script.zs
// AgeableMob.feetBlockState as BlockState
myAgeableMob.feetBlockState

Return Type: BlockState

feetBlockState() as BlockState
script.zs
// AgeableMob.feetBlockState() as BlockState;
myAgeableMob.feetBlockState();

Return Type: BlockState

Getter
script.zs
// AgeableMob.fireImmune as bool
myAgeableMob.fireImmune

Return Type: bool

fireImmune() as bool
script.zs
// AgeableMob.fireImmune() as bool;
myAgeableMob.fireImmune();

Return Type: bool

Getter
script.zs
// AgeableMob.firstPassenger as Entity
myAgeableMob.firstPassenger

Return Type: Entity

firstPassenger() as Entity
script.zs
// AgeableMob.firstPassenger() as Entity;
myAgeableMob.firstPassenger();

Return Type: Entity

Getter
script.zs
// AgeableMob.fluidJumpThreshold as double
myAgeableMob.fluidJumpThreshold

Return Type: double

fluidJumpThreshold() as double
script.zs
// AgeableMob.fluidJumpThreshold() as double;
myAgeableMob.fluidJumpThreshold();

Return Type: double

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

Parameters:

effectInstance Type: MobEffectInstance
entity Type: Entity
Getter
script.zs
// AgeableMob.forward as Vec3
myAgeableMob.forward

Return Type: Vec3

forward() as Vec3
script.zs
// AgeableMob.forward() as Vec3;
myAgeableMob.forward();

Return Type: Vec3

getAttribute(attribute as Attribute) as AttributeInstance
script.zs
// AgeableMob.getAttribute(attribute as Attribute) as AttributeInstance;
myAgeableMob.getAttribute(myAttribute);

Parameters:

attribute Type: Attribute

Return Type: AttributeInstance

getAttributeBaseValue(attribute as Attribute) as double
script.zs
// AgeableMob.getAttributeBaseValue(attribute as Attribute) as double;
myAgeableMob.getAttributeBaseValue(myAttribute);

Parameters:

attribute Type: Attribute

Return Type: double

getAttributeValue(attribute as Attribute) as double
script.zs
// AgeableMob.getAttributeValue(attribute as Attribute) as double;
myAgeableMob.getAttributeValue(myAttribute);

Parameters:

attribute Type: Attribute

Return Type: double

getCapability(cap as Capability<T>, side as Direction) as T?
Gets the capability for the given side.

Returns: The found capability or null.

script.zs
// AgeableMob.getCapability<T>(cap as Capability<T>, side as Direction) as T?;
myAgeableMob.getCapability<T>(Capabilities.ENERGY, <constant:minecraft:direction:north>);

Parameters:

cap Type: Capability<T> - The capability to get.
side Type: Direction - The side to get the capability from, can be null.

Return Type: T?

getCapability(cap as Capability<T>) as T?
Gets the capability.

Returns: The found capability or null.

script.zs
// AgeableMob.getCapability<T>(cap as Capability<T>) as T?;
myAgeableMob.getCapability<T>(Capabilities.ENERGY);

Parameters:

cap Type: Capability<T> - The capability to get.

Return Type: T?

getEffect(effect as MobEffect) as MobEffectInstance
script.zs
// AgeableMob.getEffect(effect as MobEffect) as MobEffectInstance;
myAgeableMob.getEffect(myMobEffect);

Parameters:

effect Type: MobEffect

Return Type: MobEffectInstance

getEyePosition(partialTicks as float) as Vec3
script.zs
// AgeableMob.getEyePosition(partialTicks as float) as Vec3;
myAgeableMob.getEyePosition(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getItemBySlot(slot as EquipmentSlot) as ItemStack
script.zs
// AgeableMob.getItemBySlot(slot as EquipmentSlot) as ItemStack;
myAgeableMob.getItemBySlot(myEquipmentSlot);

Parameters:

Return Type: ItemStack

getItemInHand(hand as InteractionHand) as ItemStack
script.zs
// AgeableMob.getItemInHand(hand as InteractionHand) as ItemStack;
myAgeableMob.getItemInHand(myInteractionHand);

Parameters:

Return Type: ItemStack

getPosition(partialTicks as float) as Vec3
script.zs
// AgeableMob.getPosition(partialTicks as float) as Vec3;
myAgeableMob.getPosition(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getSwimAmount(partialTicks as float) as float
script.zs
// AgeableMob.getSwimAmount(partialTicks as float) as float;
myAgeableMob.getSwimAmount(myFloat);

Parameters:

partialTicks Type: float

Return Type: float

getUpVector(partialTicks as float) as Vec3
script.zs
// AgeableMob.getUpVector(partialTicks as float) as Vec3;
myAgeableMob.getUpVector(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getViewVector(partialTicks as float) as Vec3
script.zs
// AgeableMob.getViewVector(partialTicks as float) as Vec3;
myAgeableMob.getViewVector(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getVisibilityPercent(lookingEntity as Entity) as double
script.zs
// AgeableMob.getVisibilityPercent(lookingEntity as Entity) as double;
myAgeableMob.getVisibilityPercent(myEntity);

Parameters:

lookingEntity Type: Entity

Return Type: double

getX(scale as double) as double
script.zs
// AgeableMob.getX(scale as double) as double;
myAgeableMob.getX(myDouble);

Parameters:

scale Type: double

Return Type: double

getY(scale as double) as double
script.zs
// AgeableMob.getY(scale as double) as double;
myAgeableMob.getY(myDouble);

Parameters:

scale Type: double

Return Type: double

getZ(scale as double) as double
script.zs
// AgeableMob.getZ(scale as double) as double;
myAgeableMob.getZ(myDouble);

Parameters:

scale Type: double

Return Type: double

Getter
script.zs
// AgeableMob.handSlots as Iterable<ItemStack>
myAgeableMob.handSlots

Return Type: Iterable<ItemStack>

handSlots() as Iterable<ItemStack>
script.zs
// AgeableMob.handSlots() as Iterable<ItemStack>;
myAgeableMob.handSlots();

Return Type: Iterable<ItemStack>

Getter
script.zs
// AgeableMob.hasCustomName as bool
myAgeableMob.hasCustomName

Return Type: bool

Getter
script.zs
// AgeableMob.hasCustomName as bool
myAgeableMob.hasCustomName

Return Type: bool

hasCustomName() as bool
script.zs
// AgeableMob.hasCustomName() as bool;
myAgeableMob.hasCustomName();

Return Type: bool

hasCustomName() as bool
script.zs
// AgeableMob.hasCustomName() as bool;
myAgeableMob.hasCustomName();

Return Type: bool

hasEffect(effect as MobEffect) as bool
script.zs
// AgeableMob.hasEffect(effect as MobEffect) as bool;
myAgeableMob.hasEffect(myMobEffect);

Parameters:

effect Type: MobEffect

Return Type: bool

Getter
script.zs
// AgeableMob.hasExactlyOnePlayerPassenger as bool
myAgeableMob.hasExactlyOnePlayerPassenger

Return Type: bool

hasExactlyOnePlayerPassenger() as bool
script.zs
// AgeableMob.hasExactlyOnePlayerPassenger() as bool;
myAgeableMob.hasExactlyOnePlayerPassenger();

Return Type: bool

Getter
script.zs
// AgeableMob.hasGlowingTag as bool
myAgeableMob.hasGlowingTag

Return Type: bool

hasGlowingTag() as bool
script.zs
// AgeableMob.hasGlowingTag() as bool;
myAgeableMob.hasGlowingTag();

Return Type: bool

hasIndirectPassenger(entity as Entity) as bool
script.zs
// AgeableMob.hasIndirectPassenger(entity as Entity) as bool;
myAgeableMob.hasIndirectPassenger(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

hasItemInSlot(slot as EquipmentSlot) as bool
script.zs
// AgeableMob.hasItemInSlot(slot as EquipmentSlot) as bool;
myAgeableMob.hasItemInSlot(myEquipmentSlot);

Parameters:

Return Type: bool

hasLineOfSight(entity as Entity) as bool
script.zs
// AgeableMob.hasLineOfSight(entity as Entity) as bool;
myAgeableMob.hasLineOfSight(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

hasPassenger(entity as Entity) as bool
script.zs
// AgeableMob.hasPassenger(entity as Entity) as bool;
myAgeableMob.hasPassenger(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

hasPassenger(predicate as function(t as Entity) as bool) as bool
script.zs
// AgeableMob.hasPassenger(predicate as function(t as Entity) as bool) as bool;
myAgeableMob.hasPassenger(myPredicate);

Parameters:

predicate Type: function(t as Entity) as bool

Return Type: bool

heal(amount as float)
script.zs
// AgeableMob.heal(amount as float);
myAgeableMob.heal(myFloat);

Parameters:

amount Type: float
Getter
script.zs
// AgeableMob.health as float
myAgeableMob.health

Return Type: float

health() as float
script.zs
// AgeableMob.health() as float;
myAgeableMob.health();

Return Type: float

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

Parameters:

source Type: DamageSource
amount Type: float

Return Type: bool

Getter
script.zs
// AgeableMob.id as int
myAgeableMob.id

Return Type: int

id() as int
script.zs
// AgeableMob.id() as int;
myAgeableMob.id();

Return Type: int

Getter
script.zs
// AgeableMob.isAffectedByPotions as bool
myAgeableMob.isAffectedByPotions

Return Type: bool

isAffectedByPotions() as bool
script.zs
// AgeableMob.isAffectedByPotions() as bool;
myAgeableMob.isAffectedByPotions();

Return Type: bool

Getter
script.zs
// AgeableMob.isAlive as bool
myAgeableMob.isAlive

Return Type: bool

isAlive() as bool
script.zs
// AgeableMob.isAlive() as bool;
myAgeableMob.isAlive();

Return Type: bool

Getter
script.zs
// AgeableMob.isAlwaysTicking as bool
myAgeableMob.isAlwaysTicking

Return Type: bool

isAlwaysTicking() as bool
script.zs
// AgeableMob.isAlwaysTicking() as bool;
myAgeableMob.isAlwaysTicking();

Return Type: bool

Getter
script.zs
// AgeableMob.isAttackable as bool
myAgeableMob.isAttackable

Return Type: bool

isAttackable() as bool
script.zs
// AgeableMob.isAttackable() as bool;
myAgeableMob.isAttackable();

Return Type: bool

Getter
script.zs
// AgeableMob.isAutoSpinAttack as bool
myAgeableMob.isAutoSpinAttack

Return Type: bool

isAutoSpinAttack() as bool
script.zs
// AgeableMob.isAutoSpinAttack() as bool;
myAgeableMob.isAutoSpinAttack();

Return Type: bool

Getter
script.zs
// AgeableMob.isBaby as bool
myAgeableMob.isBaby

Return Type: bool

isBaby() as bool
script.zs
// AgeableMob.isBaby() as bool;
myAgeableMob.isBaby();

Return Type: bool

Getter
script.zs
// AgeableMob.isBlocking as bool
myAgeableMob.isBlocking

Return Type: bool

isBlocking() as bool
script.zs
// AgeableMob.isBlocking() as bool;
myAgeableMob.isBlocking();

Return Type: bool

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

Parameters:

pos Type: BlockPos
state Type: BlockState

Return Type: bool

Getter
script.zs
// AgeableMob.isCrouching as bool
myAgeableMob.isCrouching

Return Type: bool

isCrouching() as bool
script.zs
// AgeableMob.isCrouching() as bool;
myAgeableMob.isCrouching();

Return Type: bool

Getter
script.zs
// AgeableMob.isCurrentlyGlowing as bool
myAgeableMob.isCurrentlyGlowing

Return Type: bool

Getter
script.zs
// AgeableMob.isCurrentlyGlowing as bool
myAgeableMob.isCurrentlyGlowing

Return Type: bool

isCurrentlyGlowing() as bool
script.zs
// AgeableMob.isCurrentlyGlowing() as bool;
myAgeableMob.isCurrentlyGlowing();

Return Type: bool

isCurrentlyGlowing() as bool
script.zs
// AgeableMob.isCurrentlyGlowing() as bool;
myAgeableMob.isCurrentlyGlowing();

Return Type: bool

Getter
script.zs
// AgeableMob.isCustomNameVisible as bool
myAgeableMob.isCustomNameVisible

Return Type: bool

isCustomNameVisible() as bool
script.zs
// AgeableMob.isCustomNameVisible() as bool;
myAgeableMob.isCustomNameVisible();

Return Type: bool

isDamageSourceBlocked(source as DamageSource) as bool
script.zs
// AgeableMob.isDamageSourceBlocked(source as DamageSource) as bool;
myAgeableMob.isDamageSourceBlocked(myDamageSource);

Parameters:

source Type: DamageSource

Return Type: bool

Getter
script.zs
// AgeableMob.isDeadOrDying as bool
myAgeableMob.isDeadOrDying

Return Type: bool

isDeadOrDying() as bool
script.zs
// AgeableMob.isDeadOrDying() as bool;
myAgeableMob.isDeadOrDying();

Return Type: bool

Getter
script.zs
// AgeableMob.isDescending as bool
myAgeableMob.isDescending

Return Type: bool

isDescending() as bool
script.zs
// AgeableMob.isDescending() as bool;
myAgeableMob.isDescending();

Return Type: bool

Getter
script.zs
// AgeableMob.isDiscrete as bool
myAgeableMob.isDiscrete

Return Type: bool

isDiscrete() as bool
script.zs
// AgeableMob.isDiscrete() as bool;
myAgeableMob.isDiscrete();

Return Type: bool

Getter
script.zs
// AgeableMob.isFallFlying as bool
myAgeableMob.isFallFlying

Return Type: bool

isFallFlying() as bool
script.zs
// AgeableMob.isFallFlying() as bool;
myAgeableMob.isFallFlying();

Return Type: bool

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

Parameters:

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

Return Type: bool

Getter
script.zs
// AgeableMob.isFullyFrozen as bool
myAgeableMob.isFullyFrozen

Return Type: bool

isFullyFrozen() as bool
script.zs
// AgeableMob.isFullyFrozen() as bool;
myAgeableMob.isFullyFrozen();

Return Type: bool

isHolding(item as Item) as bool
script.zs
// AgeableMob.isHolding(item as Item) as bool;
myAgeableMob.isHolding(myItem);

Parameters:

Return Type: bool

isHolding(predicate as function(t as ItemStack) as bool) as bool
script.zs
// AgeableMob.isHolding(predicate as function(t as ItemStack) as bool) as bool;
myAgeableMob.isHolding(myPredicate);

Parameters:

predicate Type: function(t as ItemStack) as bool

Return Type: bool

Getter
script.zs
// AgeableMob.isInLava as bool
myAgeableMob.isInLava

Return Type: bool

isInLava() as bool
script.zs
// AgeableMob.isInLava() as bool;
myAgeableMob.isInLava();

Return Type: bool

Getter
script.zs
// AgeableMob.isInvertedHealAndHarm as bool
myAgeableMob.isInvertedHealAndHarm

Return Type: bool

isInvertedHealAndHarm() as bool
script.zs
// AgeableMob.isInvertedHealAndHarm() as bool;
myAgeableMob.isInvertedHealAndHarm();

Return Type: bool

Getter
script.zs
// AgeableMob.isInvisible as bool
myAgeableMob.isInvisible

Return Type: bool

isInvisible() as bool
script.zs
// AgeableMob.isInvisible() as bool;
myAgeableMob.isInvisible();

Return Type: bool

isInvisibleTo(player as Player) as bool
script.zs
// AgeableMob.isInvisibleTo(player as Player) as bool;
myAgeableMob.isInvisibleTo(myPlayer);

Parameters:

player Type: Player

Return Type: bool

Getter
script.zs
// AgeableMob.isInvulnerable as bool
myAgeableMob.isInvulnerable

Return Type: bool

isInvulnerable() as bool
script.zs
// AgeableMob.isInvulnerable() as bool;
myAgeableMob.isInvulnerable();

Return Type: bool

isInvulnerableTo(source as DamageSource) as bool
script.zs
// AgeableMob.isInvulnerableTo(source as DamageSource) as bool;
myAgeableMob.isInvulnerableTo(myDamageSource);

Parameters:

source Type: DamageSource

Return Type: bool

Getter
script.zs
// AgeableMob.isInWall as bool
myAgeableMob.isInWall

Return Type: bool

isInWall() as bool
script.zs
// AgeableMob.isInWall() as bool;
myAgeableMob.isInWall();

Return Type: bool

Getter
script.zs
// AgeableMob.isInWater as bool
myAgeableMob.isInWater

Return Type: bool

isInWater() as bool
script.zs
// AgeableMob.isInWater() as bool;
myAgeableMob.isInWater();

Return Type: bool

Getter
script.zs
// AgeableMob.isInWaterOrBubble as bool
myAgeableMob.isInWaterOrBubble

Return Type: bool

isInWaterOrBubble() as bool
script.zs
// AgeableMob.isInWaterOrBubble() as bool;
myAgeableMob.isInWaterOrBubble();

Return Type: bool

Getter
script.zs
// AgeableMob.isInWaterOrRain as bool
myAgeableMob.isInWaterOrRain

Return Type: bool

isInWaterOrRain() as bool
script.zs
// AgeableMob.isInWaterOrRain() as bool;
myAgeableMob.isInWaterOrRain();

Return Type: bool

Getter
script.zs
// AgeableMob.isInWaterRainOrBubble as bool
myAgeableMob.isInWaterRainOrBubble

Return Type: bool

isInWaterRainOrBubble() as bool
script.zs
// AgeableMob.isInWaterRainOrBubble() as bool;
myAgeableMob.isInWaterRainOrBubble();

Return Type: bool

Getter
script.zs
// AgeableMob.isNoGravity as bool
myAgeableMob.isNoGravity

Return Type: bool

isNoGravity() as bool
script.zs
// AgeableMob.isNoGravity() as bool;
myAgeableMob.isNoGravity();

Return Type: bool

Getter
script.zs
// AgeableMob.isOnFire as bool
myAgeableMob.isOnFire

Return Type: bool

isOnFire() as bool
script.zs
// AgeableMob.isOnFire() as bool;
myAgeableMob.isOnFire();

Return Type: bool

Getter
script.zs
// AgeableMob.isOnPortalCooldown as bool
myAgeableMob.isOnPortalCooldown

Return Type: bool

isOnPortalCooldown() as bool
script.zs
// AgeableMob.isOnPortalCooldown() as bool;
myAgeableMob.isOnPortalCooldown();

Return Type: bool

Getter
script.zs
// AgeableMob.isPassenger as bool
myAgeableMob.isPassenger

Return Type: bool

isPassenger() as bool
script.zs
// AgeableMob.isPassenger() as bool;
myAgeableMob.isPassenger();

Return Type: bool

isPassengerOfSameVehicle(entity as Entity) as bool
script.zs
// AgeableMob.isPassengerOfSameVehicle(entity as Entity) as bool;
myAgeableMob.isPassengerOfSameVehicle(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

Getter
script.zs
// AgeableMob.isPickable as bool
myAgeableMob.isPickable

Return Type: bool

isPickable() as bool
script.zs
// AgeableMob.isPickable() as bool;
myAgeableMob.isPickable();

Return Type: bool

Getter
script.zs
// AgeableMob.isPushable as bool
myAgeableMob.isPushable

Return Type: bool

isPushable() as bool
script.zs
// AgeableMob.isPushable() as bool;
myAgeableMob.isPushable();

Return Type: bool

Getter
script.zs
// AgeableMob.isPushedByFluid as bool
myAgeableMob.isPushedByFluid

Return Type: bool

isPushedByFluid() as bool
script.zs
// AgeableMob.isPushedByFluid() as bool;
myAgeableMob.isPushedByFluid();

Return Type: bool

Getter
script.zs
// AgeableMob.isRemoved as bool
myAgeableMob.isRemoved

Return Type: bool

isRemoved() as bool
script.zs
// AgeableMob.isRemoved() as bool;
myAgeableMob.isRemoved();

Return Type: bool

Getter
script.zs
// AgeableMob.isSensitiveToWater as bool
myAgeableMob.isSensitiveToWater

Return Type: bool

isSensitiveToWater() as bool
script.zs
// AgeableMob.isSensitiveToWater() as bool;
myAgeableMob.isSensitiveToWater();

Return Type: bool

Getter
script.zs
// AgeableMob.isShiftKeyDown as bool
myAgeableMob.isShiftKeyDown

Return Type: bool

isShiftKeyDown() as bool
script.zs
// AgeableMob.isShiftKeyDown() as bool;
myAgeableMob.isShiftKeyDown();

Return Type: bool

Getter
script.zs
// AgeableMob.isSilent as bool
myAgeableMob.isSilent

Return Type: bool

isSilent() as bool
script.zs
// AgeableMob.isSilent() as bool;
myAgeableMob.isSilent();

Return Type: bool

Getter
script.zs
// AgeableMob.isSleeping as bool
myAgeableMob.isSleeping

Return Type: bool

isSleeping() as bool
script.zs
// AgeableMob.isSleeping() as bool;
myAgeableMob.isSleeping();

Return Type: bool

Getter
script.zs
// AgeableMob.isSpectator as bool
myAgeableMob.isSpectator

Return Type: bool

isSpectator() as bool
script.zs
// AgeableMob.isSpectator() as bool;
myAgeableMob.isSpectator();

Return Type: bool

Getter
script.zs
// AgeableMob.isSprinting as bool
myAgeableMob.isSprinting

Return Type: bool

isSprinting() as bool
script.zs
// AgeableMob.isSprinting() as bool;
myAgeableMob.isSprinting();

Return Type: bool

Getter
script.zs
// AgeableMob.isSteppingCarefully as bool
myAgeableMob.isSteppingCarefully

Return Type: bool

isSteppingCarefully() as bool
script.zs
// AgeableMob.isSteppingCarefully() as bool;
myAgeableMob.isSteppingCarefully();

Return Type: bool

Getter
script.zs
// AgeableMob.isSuppressingBounce as bool
myAgeableMob.isSuppressingBounce

Return Type: bool

isSuppressingBounce() as bool
script.zs
// AgeableMob.isSuppressingBounce() as bool;
myAgeableMob.isSuppressingBounce();

Return Type: bool

Getter
script.zs
// AgeableMob.isSuppressingSlidingDownLadder as bool
myAgeableMob.isSuppressingSlidingDownLadder

Return Type: bool

isSuppressingSlidingDownLadder() as bool
script.zs
// AgeableMob.isSuppressingSlidingDownLadder() as bool;
myAgeableMob.isSuppressingSlidingDownLadder();

Return Type: bool

Getter
script.zs
// AgeableMob.isSwimming as bool
myAgeableMob.isSwimming

Return Type: bool

isSwimming() as bool
script.zs
// AgeableMob.isSwimming() as bool;
myAgeableMob.isSwimming();

Return Type: bool

Getter
script.zs
// AgeableMob.isUnderWater as bool
myAgeableMob.isUnderWater

Return Type: bool

isUnderWater() as bool
script.zs
// AgeableMob.isUnderWater() as bool;
myAgeableMob.isUnderWater();

Return Type: bool

Getter
script.zs
// AgeableMob.isUsingItem as bool
myAgeableMob.isUsingItem

Return Type: bool

isUsingItem() as bool
script.zs
// AgeableMob.isUsingItem() as bool;
myAgeableMob.isUsingItem();

Return Type: bool

Getter
script.zs
// AgeableMob.isVehicle as bool
myAgeableMob.isVehicle

Return Type: bool

isVehicle() as bool
script.zs
// AgeableMob.isVehicle() as bool;
myAgeableMob.isVehicle();

Return Type: bool

Getter
script.zs
// AgeableMob.isVisuallyCrawling as bool
myAgeableMob.isVisuallyCrawling

Return Type: bool

isVisuallyCrawling() as bool
script.zs
// AgeableMob.isVisuallyCrawling() as bool;
myAgeableMob.isVisuallyCrawling();

Return Type: bool

Getter
script.zs
// AgeableMob.isVisuallySwimming as bool
myAgeableMob.isVisuallySwimming

Return Type: bool

Getter
script.zs
// AgeableMob.isVisuallySwimming as bool
myAgeableMob.isVisuallySwimming

Return Type: bool

isVisuallySwimming() as bool
script.zs
// AgeableMob.isVisuallySwimming() as bool;
myAgeableMob.isVisuallySwimming();

Return Type: bool

isVisuallySwimming() as bool
script.zs
// AgeableMob.isVisuallySwimming() as bool;
myAgeableMob.isVisuallySwimming();

Return Type: bool

Getter
script.zs
// AgeableMob.jumpBoostPower as double
myAgeableMob.jumpBoostPower

Return Type: double

jumpBoostPower() as double
script.zs
// AgeableMob.jumpBoostPower() as double;
myAgeableMob.jumpBoostPower();

Return Type: double

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

Return Type: LivingEntity

killCredit() as LivingEntity
script.zs
// AgeableMob.killCredit() as LivingEntity;
myAgeableMob.killCredit();

Return Type: LivingEntity

knockback(x as double, y as double, z as double)
script.zs
// AgeableMob.knockback(x as double, y as double, z as double);
myAgeableMob.knockback(myDouble, myDouble, myDouble);

Parameters:

x Type: double
y Type: double
z Type: double
Getter
script.zs
// AgeableMob.lastClimbablePos as BlockPos
myAgeableMob.lastClimbablePos

Return Type: BlockPos

lastClimbablePos() as BlockPos
script.zs
// AgeableMob.lastClimbablePos() as BlockPos;
myAgeableMob.lastClimbablePos();

Return Type: BlockPos

Getter
script.zs
// AgeableMob.lastDamageSource as DamageSource
myAgeableMob.lastDamageSource

Return Type: DamageSource

lastDamageSource() as DamageSource
script.zs
// AgeableMob.lastDamageSource() as DamageSource;
myAgeableMob.lastDamageSource();

Return Type: DamageSource

Getter
script.zs
// AgeableMob.lastHurtByMob as LivingEntity
myAgeableMob.lastHurtByMob

Return Type: LivingEntity

lastHurtByMob() as LivingEntity
script.zs
// AgeableMob.lastHurtByMob() as LivingEntity;
myAgeableMob.lastHurtByMob();

Return Type: LivingEntity

Getter
script.zs
// AgeableMob.lastHurtByMobTimestamp as int
myAgeableMob.lastHurtByMobTimestamp

Return Type: int

lastHurtByMobTimestamp() as int
script.zs
// AgeableMob.lastHurtByMobTimestamp() as int;
myAgeableMob.lastHurtByMobTimestamp();

Return Type: int

Getter
script.zs
// AgeableMob.lastHurtMob as LivingEntity
myAgeableMob.lastHurtMob

Return Type: LivingEntity

lastHurtMob() as LivingEntity
script.zs
// AgeableMob.lastHurtMob() as LivingEntity;
myAgeableMob.lastHurtMob();

Return Type: LivingEntity

Getter
script.zs
// AgeableMob.lastHurtMobTimestamp as int
myAgeableMob.lastHurtMobTimestamp

Return Type: int

lastHurtMobTimestamp() as int
script.zs
// AgeableMob.lastHurtMobTimestamp() as int;
myAgeableMob.lastHurtMobTimestamp();

Return Type: int

lavaHurt()
script.zs
// AgeableMob.lavaHurt();
myAgeableMob.lavaHurt();
Getter
script.zs
// AgeableMob.level as Level
myAgeableMob.level

Return Type: Level

Getter
script.zs
// AgeableMob.lookAngle as Vec3
myAgeableMob.lookAngle

Return Type: Vec3

lookAngle() as Vec3
script.zs
// AgeableMob.lookAngle() as Vec3;
myAgeableMob.lookAngle();

Return Type: Vec3

Getter
script.zs
// AgeableMob.lootTable as ResourceLocation
myAgeableMob.lootTable

Return Type: ResourceLocation

lootTable() as ResourceLocation
script.zs
// AgeableMob.lootTable() as ResourceLocation;
myAgeableMob.lootTable();

Return Type: ResourceLocation

Getter
script.zs
// AgeableMob.mainArm as HumanoidArm
myAgeableMob.mainArm

Return Type: HumanoidArm

mainArm() as HumanoidArm
script.zs
// AgeableMob.mainArm() as HumanoidArm;
myAgeableMob.mainArm();

Return Type: HumanoidArm

Getter
script.zs
// AgeableMob.mainHandItem as ItemStack
myAgeableMob.mainHandItem

Return Type: ItemStack

mainHandItem() as ItemStack
script.zs
// AgeableMob.mainHandItem() as ItemStack;
myAgeableMob.mainHandItem();

Return Type: ItemStack

Getter
script.zs
// AgeableMob.maxAirSupply as int
myAgeableMob.maxAirSupply

Return Type: int

maxAirSupply() as int
script.zs
// AgeableMob.maxAirSupply() as int;
myAgeableMob.maxAirSupply();

Return Type: int

Getter
script.zs
// AgeableMob.maxFallDistance as int
myAgeableMob.maxFallDistance

Return Type: int

maxFallDistance() as int
script.zs
// AgeableMob.maxFallDistance() as int;
myAgeableMob.maxFallDistance();

Return Type: int

Getter
script.zs
// AgeableMob.maxHealth as float
myAgeableMob.maxHealth

Return Type: float

maxHealth() as float
script.zs
// AgeableMob.maxHealth() as float;
myAgeableMob.maxHealth();

Return Type: float

Getter
script.zs
// AgeableMob.mobType as MobType
myAgeableMob.mobType

Return Type: MobType

mobType() as MobType
script.zs
// AgeableMob.mobType() as MobType;
myAgeableMob.mobType();

Return Type: MobType

Getter
script.zs
// AgeableMob.motionDirection as Direction
myAgeableMob.motionDirection

Return Type: Direction

motionDirection() as Direction
script.zs
// AgeableMob.motionDirection() as Direction;
myAgeableMob.motionDirection();

Return Type: Direction

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

Parameters:

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

Parameters:

vec Type: Vec3
moveTo(x as double, y as double, z as double)
script.zs
// AgeableMob.moveTo(x as double, y as double, z as double);
myAgeableMob.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
// AgeableMob.moveTo(pos as BlockPos, yaw as float, pitch as float);
myAgeableMob.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
// AgeableMob.moveTo(x as double, y as double, z as double, yaw as float, pitch as float);
myAgeableMob.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
// AgeableMob.name as Component
myAgeableMob.name

Return Type: Component

Getter
script.zs
// AgeableMob.name as Component
myAgeableMob.name

Return Type: Component

name() as Component
script.zs
// AgeableMob.name() as Component;
myAgeableMob.name();

Return Type: Component

name() as Component
script.zs
// AgeableMob.name() as Component;
myAgeableMob.name();

Return Type: Component

Getter
script.zs
// AgeableMob.noActionTime as int
myAgeableMob.noActionTime

Return Type: int

noActionTime() as int
script.zs
// AgeableMob.noActionTime() as int;
myAgeableMob.noActionTime();

Return Type: int

Getter
script.zs
// AgeableMob.offHandItem as ItemStack
myAgeableMob.offHandItem

Return Type: ItemStack

offHandItem() as ItemStack
script.zs
// AgeableMob.offHandItem() as ItemStack;
myAgeableMob.offHandItem();

Return Type: ItemStack

Getter
script.zs
// AgeableMob.onGround as bool
myAgeableMob.onGround

Return Type: bool

Getter
script.zs
// AgeableMob.onPos as BlockPos
myAgeableMob.onPos

Return Type: BlockPos

onPos() as BlockPos
script.zs
// AgeableMob.onPos() as BlockPos;
myAgeableMob.onPos();

Return Type: BlockPos

Getter
script.zs
// AgeableMob.passengers as List<Entity>
myAgeableMob.passengers

Return Type: List<Entity>

passengers() as List<Entity>
script.zs
// AgeableMob.passengers() as List<Entity>;
myAgeableMob.passengers();

Return Type: List<Entity>

Getter
script.zs
// AgeableMob.percentFrozen as float
myAgeableMob.percentFrozen

Return Type: float

percentFrozen() as float
script.zs
// AgeableMob.percentFrozen() as float;
myAgeableMob.percentFrozen();

Return Type: float

Getter
script.zs
// AgeableMob.pistonPushReaction as PushReaction
myAgeableMob.pistonPushReaction

Return Type: PushReaction

pistonPushReaction() as PushReaction
script.zs
// AgeableMob.pistonPushReaction() as PushReaction;
myAgeableMob.pistonPushReaction();

Return Type: PushReaction

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

Parameters:

sound Type: SoundEvent
volume Type: float
pitch Type: float
Getter
script.zs
// AgeableMob.portalWaitTime as int
myAgeableMob.portalWaitTime

Return Type: int

portalWaitTime() as int
script.zs
// AgeableMob.portalWaitTime() as int;
myAgeableMob.portalWaitTime();

Return Type: int

Getter
script.zs
// AgeableMob.position as Vec3
myAgeableMob.position

Return Type: Vec3

position() as Vec3
script.zs
// AgeableMob.position() as Vec3;
myAgeableMob.position();

Return Type: Vec3

positionRider(entity as Entity)
script.zs
// AgeableMob.positionRider(entity as Entity);
myAgeableMob.positionRider(myEntity);

Parameters:

entity Type: Entity
Getter
script.zs
// AgeableMob.random as RandomSource
myAgeableMob.random

Return Type: RandomSource

random() as RandomSource
script.zs
// AgeableMob.random() as RandomSource;
myAgeableMob.random();

Return Type: RandomSource

Getter
script.zs
// AgeableMob.registryName as ResourceLocation
myAgeableMob.registryName

Return Type: ResourceLocation

registryName() as ResourceLocation
script.zs
// AgeableMob.registryName() as ResourceLocation;
myAgeableMob.registryName();

Return Type: ResourceLocation

releaseUsingItem()
script.zs
// AgeableMob.releaseUsingItem();
myAgeableMob.releaseUsingItem();
Getter
script.zs
// AgeableMob.remainingFireTicks as int
myAgeableMob.remainingFireTicks

Return Type: int

remainingFireTicks() as int
script.zs
// AgeableMob.remainingFireTicks() as int;
myAgeableMob.remainingFireTicks();

Return Type: int

removeAllEffects() as bool
script.zs
// AgeableMob.removeAllEffects() as bool;
myAgeableMob.removeAllEffects();

Return Type: bool

removeEffect(effect as MobEffect) as bool
script.zs
// AgeableMob.removeEffect(effect as MobEffect) as bool;
myAgeableMob.removeEffect(myMobEffect);

Parameters:

effect Type: MobEffect

Return Type: bool

removeEffectNoUpdate(effect as MobEffect) as MobEffectInstance
script.zs
// AgeableMob.removeEffectNoUpdate(effect as MobEffect) as MobEffectInstance;
myAgeableMob.removeEffectNoUpdate(myMobEffect);

Parameters:

effect Type: MobEffect

Return Type: MobEffectInstance

removeTag(tagName as string) as bool
script.zs
// AgeableMob.removeTag(tagName as string) as bool;
myAgeableMob.removeTag(myString);

Parameters:

tagName Type: string

Return Type: bool

removeVehicle()
script.zs
// AgeableMob.removeVehicle();
myAgeableMob.removeVehicle();
Getter
script.zs
// AgeableMob.rootVehicle as Entity
myAgeableMob.rootVehicle

Return Type: Entity

rootVehicle() as Entity
script.zs
// AgeableMob.rootVehicle() as Entity;
myAgeableMob.rootVehicle();

Return Type: Entity

Getter
script.zs
// AgeableMob.scale as float
myAgeableMob.scale

Return Type: float

scale() as float
script.zs
// AgeableMob.scale() as float;
myAgeableMob.scale();

Return Type: float

sendMessage(component as Component)
script.zs
// AgeableMob.sendMessage(component as Component);
myAgeableMob.sendMessage(myComponent);

Parameters:

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

Parameters:

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

Parameters:

air Type: int
setArrowCount(count as int)
script.zs
// AgeableMob.setArrowCount(count as int);
myAgeableMob.setArrowCount(myInt);

Parameters:

count Type: int
setCustomName(name as Component)
script.zs
// AgeableMob.setCustomName(name as Component);
myAgeableMob.setCustomName(myComponent);

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

discardFriction Type: bool
setGlowingTag(glowing as bool)
script.zs
// AgeableMob.setGlowingTag(glowing as bool);
myAgeableMob.setGlowingTag(myBool);

Parameters:

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

Parameters:

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

Parameters:

invisible Type: bool
setInvulnerable(invulnerable as bool)
script.zs
// AgeableMob.setInvulnerable(invulnerable as bool);
myAgeableMob.setInvulnerable(myBool);

Parameters:

invulnerable Type: bool
setIsInPowderSnow(inPowderSnow as bool)
script.zs
// AgeableMob.setIsInPowderSnow(inPowderSnow as bool);
myAgeableMob.setIsInPowderSnow(myBool);

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

position Type: Vec3
setPos(x as double, y as double, z as double)
script.zs
// AgeableMob.setPos(x as double, y as double, z as double);
myAgeableMob.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
// AgeableMob.setPosRaw(x as double, y as double, z as double);
myAgeableMob.setPosRaw(myDouble, myDouble, myDouble);

Parameters:

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

Parameters:

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

Parameters:

setSecondsOnFire(seconds as int)
script.zs
// AgeableMob.setSecondsOnFire(seconds as int);
myAgeableMob.setSecondsOnFire(myInt);

Parameters:

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

Parameters:

keyDown Type: bool
setSilent(silent as bool)
script.zs
// AgeableMob.setSilent(silent as bool);
myAgeableMob.setSilent(myBool);

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

ticks Type: int
Getter
script.zs
// AgeableMob.shouldBeSaved as bool
myAgeableMob.shouldBeSaved

Return Type: bool

shouldBeSaved() as bool
script.zs
// AgeableMob.shouldBeSaved() as bool;
myAgeableMob.shouldBeSaved();

Return Type: bool

Getter
script.zs
// AgeableMob.shouldDiscardFriction as bool
myAgeableMob.shouldDiscardFriction

Return Type: bool

shouldDiscardFriction() as bool
script.zs
// AgeableMob.shouldDiscardFriction() as bool;
myAgeableMob.shouldDiscardFriction();

Return Type: bool

Getter
script.zs
// AgeableMob.shouldInformAdmins as bool
myAgeableMob.shouldInformAdmins

Return Type: bool

shouldInformAdmins() as bool
script.zs
// AgeableMob.shouldInformAdmins() as bool;
myAgeableMob.shouldInformAdmins();

Return Type: bool

Getter
script.zs
// AgeableMob.shouldShowName as bool
myAgeableMob.shouldShowName

Return Type: bool

shouldShowName() as bool
script.zs
// AgeableMob.shouldShowName() as bool;
myAgeableMob.shouldShowName();

Return Type: bool

Getter
script.zs
// AgeableMob.showVehicleHealth as bool
myAgeableMob.showVehicleHealth

Return Type: bool

showVehicleHealth() as bool
script.zs
// AgeableMob.showVehicleHealth() as bool;
myAgeableMob.showVehicleHealth();

Return Type: bool

Getter
script.zs
// AgeableMob.sleepingPos as BlockPos
myAgeableMob.sleepingPos

Return Type: BlockPos

sleepingPos() as BlockPos
script.zs
// AgeableMob.sleepingPos() as BlockPos;
myAgeableMob.sleepingPos();

Return Type: BlockPos

Getter
script.zs
// AgeableMob.soundSource as SoundSource
myAgeableMob.soundSource

Return Type: SoundSource

soundSource() as SoundSource
script.zs
// AgeableMob.soundSource() as SoundSource;
myAgeableMob.soundSource();

Return Type: SoundSource

Getter
script.zs
// AgeableMob.speed as float
myAgeableMob.speed

Return Type: float

speed() as float
script.zs
// AgeableMob.speed() as float;
myAgeableMob.speed();

Return Type: float

startRiding(entity as Entity) as bool
script.zs
// AgeableMob.startRiding(entity as Entity) as bool;
myAgeableMob.startRiding(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

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

Parameters:

entity Type: Entity
force Type: bool

Return Type: bool

startSleeping(pos as BlockPos)
script.zs
// AgeableMob.startSleeping(pos as BlockPos);
myAgeableMob.startSleeping(myBlockPos);

Parameters:

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

Parameters:

Getter
script.zs
// AgeableMob.stingerCount as int
myAgeableMob.stingerCount

Return Type: int

stingerCount() as int
script.zs
// AgeableMob.stingerCount() as int;
myAgeableMob.stingerCount();

Return Type: int

stopRiding()
script.zs
// AgeableMob.stopRiding();
myAgeableMob.stopRiding();
stopSleeping()
script.zs
// AgeableMob.stopSleeping();
myAgeableMob.stopSleeping();
stopUsingItem()
script.zs
// AgeableMob.stopUsingItem();
myAgeableMob.stopUsingItem();
Getter
script.zs
// AgeableMob.stringUUID as string
myAgeableMob.stringUUID

Return Type: string

stringUUID() as string
script.zs
// AgeableMob.stringUUID() as string;
myAgeableMob.stringUUID();

Return Type: string

swing(hand as InteractionHand)
script.zs
// AgeableMob.swing(hand as InteractionHand);
myAgeableMob.swing(myInteractionHand);

Parameters:

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

Parameters:

updateSelf Type: bool
Getter
script.zs
// AgeableMob.tags as Set<string>
myAgeableMob.tags

Return Type: Set<string>

tags() as Set<string>
script.zs
// AgeableMob.tags() as Set<string>;
myAgeableMob.tags();

Return Type: Set<string>

Getter
script.zs
// AgeableMob.teamColor as int
myAgeableMob.teamColor

Return Type: int

teamColor() as int
script.zs
// AgeableMob.teamColor() as int;
myAgeableMob.teamColor();

Return Type: int

teleportTo(x as double, y as double, z as double)
script.zs
// AgeableMob.teleportTo(x as double, y as double, z as double);
myAgeableMob.teleportTo(myDouble, myDouble, myDouble);

Parameters:

x Type: double
y Type: double
z Type: double
Getter
script.zs
// AgeableMob.ticksFrozen as int
myAgeableMob.ticksFrozen

Return Type: int

ticksFrozen() as int
script.zs
// AgeableMob.ticksFrozen() as int;
myAgeableMob.ticksFrozen();

Return Type: int

Getter
script.zs
// AgeableMob.ticksRequiredToFreeze as int
myAgeableMob.ticksRequiredToFreeze

Return Type: int

ticksRequiredToFreeze() as int
script.zs
// AgeableMob.ticksRequiredToFreeze() as int;
myAgeableMob.ticksRequiredToFreeze();

Return Type: int

Getter
script.zs
// AgeableMob.ticksUsingItem as int
myAgeableMob.ticksUsingItem

Return Type: int

ticksUsingItem() as int
script.zs
// AgeableMob.ticksUsingItem() as int;
myAgeableMob.ticksUsingItem();

Return Type: int

travel(vec as Vec3)
script.zs
// AgeableMob.travel(vec as Vec3);
myAgeableMob.travel(myVec3);

Parameters:

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

Parameters:

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

Return Type: EntityType<Entity>

type() as EntityType<Entity>
script.zs
// AgeableMob.type() as EntityType<Entity>;
myAgeableMob.type();

Return Type: EntityType<Entity>

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

Parameters:

data Type: MapData - The custom data to store.
updateCustomEntityTag(level as Level, player as Player, data as MapData)
script.zs
// AgeableMob.updateCustomEntityTag(level as Level, player as Player, data as MapData);
myAgeableMob.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
// AgeableMob.updateData(data as MapData);
myAgeableMob.updateData({key: "value"});

Parameters:

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

Return Type: InteractionHand

usedItemHand() as InteractionHand
script.zs
// AgeableMob.usedItemHand() as InteractionHand;
myAgeableMob.usedItemHand();

Return Type: InteractionHand

Getter
script.zs
// AgeableMob.useItem as ItemStack
myAgeableMob.useItem

Return Type: ItemStack

useItem() as ItemStack
script.zs
// AgeableMob.useItem() as ItemStack;
myAgeableMob.useItem();

Return Type: ItemStack

Getter
script.zs
// AgeableMob.useItemRemainingTicks as int
myAgeableMob.useItemRemainingTicks

Return Type: int

useItemRemainingTicks() as int
script.zs
// AgeableMob.useItemRemainingTicks() as int;
myAgeableMob.useItemRemainingTicks();

Return Type: int

Getter
script.zs
// AgeableMob.uuid as UUID
myAgeableMob.uuid

Return Type: UUID

uuid() as UUID
script.zs
// AgeableMob.uuid() as UUID;
myAgeableMob.uuid();

Return Type: UUID

Getter
script.zs
// AgeableMob.vehicle as Entity
myAgeableMob.vehicle

Return Type: Entity

vehicle() as Entity
script.zs
// AgeableMob.vehicle() as Entity;
myAgeableMob.vehicle();

Return Type: Entity

Getter
script.zs
// AgeableMob.voicePitch as float
myAgeableMob.voicePitch

Return Type: float

voicePitch() as float
script.zs
// AgeableMob.voicePitch() as float;
myAgeableMob.voicePitch();

Return Type: float

Getter
script.zs
// AgeableMob.x as double
myAgeableMob.x

Return Type: double

x() as double
script.zs
// AgeableMob.x() as double;
myAgeableMob.x();

Return Type: double

Getter
script.zs
// AgeableMob.y as double
myAgeableMob.y

Return Type: double

y() as double
script.zs
// AgeableMob.y() as double;
myAgeableMob.y();

Return Type: double

Getter
script.zs
// AgeableMob.z as double
myAgeableMob.z

Return Type: double

z() as double
script.zs
// AgeableMob.z() as double;
myAgeableMob.z();

Return Type: double