PathfinderMob

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.PathfinderMob;

Extends

PathfinderMob extends Mob.

Implements

PathfinderMob implements the following interfaces:

Targeting,Nameable,EntityAccess,CommandSource,IAttachmentHolder

Undocumented Interfaces

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

Members

Getter
script.zs
// PathfinderMob.absorptionAmount as float
myPathfinderMob.absorptionAmount

Return Type: float

absorptionAmount() as float
script.zs
// PathfinderMob.absorptionAmount() as float;
myPathfinderMob.absorptionAmount();

Return Type: float

Getter
script.zs
// PathfinderMob.acceptsFailure as bool
myPathfinderMob.acceptsFailure

Return Type: bool

acceptsFailure() as bool
script.zs
// PathfinderMob.acceptsFailure() as bool;
myPathfinderMob.acceptsFailure();

Return Type: bool

Getter
script.zs
// PathfinderMob.acceptsSuccess as bool
myPathfinderMob.acceptsSuccess

Return Type: bool

acceptsSuccess() as bool
script.zs
// PathfinderMob.acceptsSuccess() as bool;
myPathfinderMob.acceptsSuccess();

Return Type: bool

Getter
script.zs
// PathfinderMob.activeEffects as Collection<MobEffectInstance>
myPathfinderMob.activeEffects

Return Type: Collection<MobEffectInstance>

activeEffects() as Collection<MobEffectInstance>
script.zs
// PathfinderMob.activeEffects() as Collection<MobEffectInstance>;
myPathfinderMob.activeEffects();

Return Type: Collection<MobEffectInstance>

Getter
script.zs
// PathfinderMob.activeEFfectsMap as MobEffectInstance[MobEffect]
myPathfinderMob.activeEFfectsMap

Return Type: MobEffectInstance[MobEffect]

activeEFfectsMap() as MobEffectInstance[MobEffect]
script.zs
// PathfinderMob.activeEFfectsMap() as MobEffectInstance[MobEffect];
myPathfinderMob.activeEFfectsMap();

Return Type: MobEffectInstance[MobEffect]

addEffect(effectInstance as MobEffectInstance) as bool
script.zs
// PathfinderMob.addEffect(effectInstance as MobEffectInstance) as bool;
myPathfinderMob.addEffect(myMobEffectInstance);

Parameters:

effectInstance Type: MobEffectInstance

Return Type: bool

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

Parameters:

effectInstance Type: MobEffectInstance
entity Type: Entity

Return Type: bool

addTag(tagName as string) as bool
script.zs
// PathfinderMob.addTag(tagName as string) as bool;
myPathfinderMob.addTag(myString);

Parameters:

tagName Type: string

Return Type: bool

Getter
script.zs
// PathfinderMob.aggressive as bool
myPathfinderMob.aggressive

Return Type: bool

Setter
script.zs
// PathfinderMob.aggressive = (value as bool);
myPathfinderMob.aggressive = myBool;

Parameters:

value Type: bool
Getter
script.zs
// PathfinderMob.airSupply as int
myPathfinderMob.airSupply

Return Type: int

airSupply() as int
script.zs
// PathfinderMob.airSupply() as int;
myPathfinderMob.airSupply();

Return Type: int

Getter
script.zs
// PathfinderMob.allSlots as Iterable<ItemStack>
myPathfinderMob.allSlots

Return Type: Iterable<ItemStack>

allSlots() as Iterable<ItemStack>
script.zs
// PathfinderMob.allSlots() as Iterable<ItemStack>;
myPathfinderMob.allSlots();

Return Type: Iterable<ItemStack>

Getter
script.zs
// PathfinderMob.alwaysAccepts as bool
myPathfinderMob.alwaysAccepts

Return Type: bool

alwaysAccepts() as bool
script.zs
// PathfinderMob.alwaysAccepts() as bool;
myPathfinderMob.alwaysAccepts();

Return Type: bool

Getter
script.zs
// PathfinderMob.ambientSoundInterval as int
myPathfinderMob.ambientSoundInterval

Return Type: int

Getter
script.zs
// PathfinderMob.armorCoverPercentage as float
myPathfinderMob.armorCoverPercentage

Return Type: float

armorCoverPercentage() as float
script.zs
// PathfinderMob.armorCoverPercentage() as float;
myPathfinderMob.armorCoverPercentage();

Return Type: float

Getter
script.zs
// PathfinderMob.armorSlots as Iterable<ItemStack>
myPathfinderMob.armorSlots

Return Type: Iterable<ItemStack>

armorSlots() as Iterable<ItemStack>
script.zs
// PathfinderMob.armorSlots() as Iterable<ItemStack>;
myPathfinderMob.armorSlots();

Return Type: Iterable<ItemStack>

Getter
script.zs
// PathfinderMob.armorValue as int
myPathfinderMob.armorValue

Return Type: int

armorValue() as int
script.zs
// PathfinderMob.armorValue() as int;
myPathfinderMob.armorValue();

Return Type: int

Getter
script.zs
// PathfinderMob.arrowCount as int
myPathfinderMob.arrowCount

Return Type: int

arrowCount() as int
script.zs
// PathfinderMob.arrowCount() as int;
myPathfinderMob.arrowCount();

Return Type: int

ate()
script.zs
// PathfinderMob.ate();
myPathfinderMob.ate();
Getter
script.zs
// PathfinderMob.attackable as bool
myPathfinderMob.attackable

Return Type: bool

attackable() as bool
script.zs
// PathfinderMob.attackable() as bool;
myPathfinderMob.attackable();

Return Type: bool

Setter
script.zs
// PathfinderMob.baby = (value as bool);
myPathfinderMob.baby = myBool;

Parameters:

value Type: bool
Getter
script.zs
// PathfinderMob.bbHeight as float
myPathfinderMob.bbHeight

Return Type: float

bbHeight() as float
script.zs
// PathfinderMob.bbHeight() as float;
myPathfinderMob.bbHeight();

Return Type: float

Getter
script.zs
// PathfinderMob.bbWidth as float
myPathfinderMob.bbWidth

Return Type: float

bbWidth() as float
script.zs
// PathfinderMob.bbWidth() as float;
myPathfinderMob.bbWidth();

Return Type: float

Getter
script.zs
// PathfinderMob.bedOrientation as Direction
myPathfinderMob.bedOrientation

Return Type: Direction

bedOrientation() as Direction
script.zs
// PathfinderMob.bedOrientation() as Direction;
myPathfinderMob.bedOrientation();

Return Type: Direction

Getter
script.zs
// PathfinderMob.blockPosiion as BlockPos
myPathfinderMob.blockPosiion

Return Type: BlockPos

blockPosiion() as BlockPos
script.zs
// PathfinderMob.blockPosiion() as BlockPos;
myPathfinderMob.blockPosiion();

Return Type: BlockPos

Getter
script.zs
// PathfinderMob.blockPosition as BlockPos
myPathfinderMob.blockPosition

Return Type: BlockPos

blockPosition() as BlockPos
script.zs
// PathfinderMob.blockPosition() as BlockPos;
myPathfinderMob.blockPosition();

Return Type: BlockPos

Getter
script.zs
// PathfinderMob.blockX as int
myPathfinderMob.blockX

Return Type: int

blockX() as int
script.zs
// PathfinderMob.blockX() as int;
myPathfinderMob.blockX();

Return Type: int

Getter
script.zs
// PathfinderMob.blockY as int
myPathfinderMob.blockY

Return Type: int

blockY() as int
script.zs
// PathfinderMob.blockY() as int;
myPathfinderMob.blockY();

Return Type: int

Getter
script.zs
// PathfinderMob.blockZ as int
myPathfinderMob.blockZ

Return Type: int

blockZ() as int
script.zs
// PathfinderMob.blockZ() as int;
myPathfinderMob.blockZ();

Return Type: int

Getter
script.zs
// PathfinderMob.boundingBox as AABB
myPathfinderMob.boundingBox

Return Type: AABB

boundingBox() as AABB
script.zs
// PathfinderMob.boundingBox() as AABB;
myPathfinderMob.boundingBox();

Return Type: AABB

Getter
script.zs
// PathfinderMob.boundingBoxForCulling as AABB
myPathfinderMob.boundingBoxForCulling

Return Type: AABB

boundingBoxForCulling() as AABB
script.zs
// PathfinderMob.boundingBoxForCulling() as AABB;
myPathfinderMob.boundingBoxForCulling();

Return Type: AABB

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

Parameters:

target Type: LivingEntity

Return Type: bool

canBeAffected(effectInstance as MobEffectInstance) as bool
script.zs
// PathfinderMob.canBeAffected(effectInstance as MobEffectInstance) as bool;
myPathfinderMob.canBeAffected(myMobEffectInstance);

Parameters:

effectInstance Type: MobEffectInstance

Return Type: bool

Getter
script.zs
// PathfinderMob.canBeCollidedWith as bool
myPathfinderMob.canBeCollidedWith

Return Type: bool

canBeCollidedWith() as bool
script.zs
// PathfinderMob.canBeCollidedWith() as bool;
myPathfinderMob.canBeCollidedWith();

Return Type: bool

canBeLeashed(leashHolder as Player) as bool
script.zs
// PathfinderMob.canBeLeashed(leashHolder as Player) as bool;
myPathfinderMob.canBeLeashed(myPlayer);

Parameters:

leashHolder Type: Player

Return Type: bool

Getter
script.zs
// PathfinderMob.canBeSeenAsEnemy as bool
myPathfinderMob.canBeSeenAsEnemy

Return Type: bool

canBeSeenAsEnemy() as bool
script.zs
// PathfinderMob.canBeSeenAsEnemy() as bool;
myPathfinderMob.canBeSeenAsEnemy();

Return Type: bool

Getter
script.zs
// PathfinderMob.canBeSeenByAnyone as bool
myPathfinderMob.canBeSeenByAnyone

Return Type: bool

canBeSeenByAnyone() as bool
script.zs
// PathfinderMob.canBeSeenByAnyone() as bool;
myPathfinderMob.canBeSeenByAnyone();

Return Type: bool

Getter
script.zs
// PathfinderMob.canBreatheUnderwater as bool
myPathfinderMob.canBreatheUnderwater

Return Type: bool

Getter
script.zs
// PathfinderMob.canBreatheUnderwater as bool
myPathfinderMob.canBreatheUnderwater

Return Type: bool

canBreatheUnderwater() as bool
script.zs
// PathfinderMob.canBreatheUnderwater() as bool;
myPathfinderMob.canBreatheUnderwater();

Return Type: bool

canBreatheUnderwater() as bool
script.zs
// PathfinderMob.canBreatheUnderwater() as bool;
myPathfinderMob.canBreatheUnderwater();

Return Type: bool

canCollideWith(other as Entity) as bool
script.zs
// PathfinderMob.canCollideWith(other as Entity) as bool;
myPathfinderMob.canCollideWith(myEntity);

Parameters:

other Type: Entity

Return Type: bool

canFireProjectileWeapon(weapon as ProjectileWeaponItem) as bool
script.zs
// PathfinderMob.canFireProjectileWeapon(weapon as ProjectileWeaponItem) as bool;
myPathfinderMob.canFireProjectileWeapon(myProjectileWeaponItem);

Parameters:

Return Type: bool

Getter
script.zs
// PathfinderMob.canFreeze as bool
myPathfinderMob.canFreeze

Return Type: bool

canFreeze() as bool
script.zs
// PathfinderMob.canFreeze() as bool;
myPathfinderMob.canFreeze();

Return Type: bool

canHoldItem(stack as ItemStack) as bool
script.zs
// PathfinderMob.canHoldItem(stack as ItemStack) as bool;
myPathfinderMob.canHoldItem(myItemStack);

Parameters:

stack Type: ItemStack

Return Type: bool

Getter
script.zs
// PathfinderMob.canPickUpLoot as bool
myPathfinderMob.canPickUpLoot

Return Type: bool

Setter
script.zs
// PathfinderMob.canPickUpLoot = (value as bool);
myPathfinderMob.canPickUpLoot = myBool;

Parameters:

value Type: bool
canReplaceEqualItem(toReplace as ItemStack, with as ItemStack) as bool
script.zs
// PathfinderMob.canReplaceEqualItem(toReplace as ItemStack, with as ItemStack) as bool;
myPathfinderMob.canReplaceEqualItem(myItemStack, myItemStack);

Parameters:

toReplace Type: ItemStack
with Type: ItemStack

Return Type: bool

canStandOnFluid(fluid as Fluid) as bool
script.zs
// PathfinderMob.canStandOnFluid(fluid as Fluid) as bool;
myPathfinderMob.canStandOnFluid(myFluid);

Parameters:

fluid Type: Fluid

Return Type: bool

canTakeItem(stack as ItemStack) as bool
script.zs
// PathfinderMob.canTakeItem(stack as ItemStack) as bool;
myPathfinderMob.canTakeItem(myItemStack);

Parameters:

stack Type: ItemStack

Return Type: bool

checkSpawnObstruction(level as LevelReader) as bool
script.zs
// PathfinderMob.checkSpawnObstruction(level as LevelReader) as bool;
myPathfinderMob.checkSpawnObstruction(myLevelReader);

Parameters:

level Type: LevelReader

Return Type: bool

checkSpawnRules(level as LevelAccessor, spawnType as MobSpawnType) as bool
script.zs
// PathfinderMob.checkSpawnRules(level as LevelAccessor, spawnType as MobSpawnType) as bool;
myPathfinderMob.checkSpawnRules(myLevelAccessor, myMobSpawnType);

Parameters:

spawnType Type: MobSpawnType

Return Type: bool

clearFire()
script.zs
// PathfinderMob.clearFire();
myPathfinderMob.clearFire();
clearRestriction()
script.zs
// PathfinderMob.clearRestriction();
myPathfinderMob.clearRestriction();
clearSleepingPos()
script.zs
// PathfinderMob.clearSleepingPos();
myPathfinderMob.clearSleepingPos();
closerThan(other as Entity, distance as double) as bool
script.zs
// PathfinderMob.closerThan(other as Entity, distance as double) as bool;
myPathfinderMob.closerThan(myEntity, myDouble);

Parameters:

other Type: Entity
distance Type: double

Return Type: bool

Getter
script.zs
// PathfinderMob.commandSenderWorld as Level
myPathfinderMob.commandSenderWorld

Return Type: Level

commandSenderWorld() as Level
script.zs
// PathfinderMob.commandSenderWorld() as Level;
myPathfinderMob.commandSenderWorld();

Return Type: Level

Getter
script.zs
// PathfinderMob.controllingPassenger as Entity
myPathfinderMob.controllingPassenger

Return Type: Entity

controllingPassenger() as Entity
script.zs
// PathfinderMob.controllingPassenger() as Entity;
myPathfinderMob.controllingPassenger();

Return Type: Entity

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

Return Type: MapData

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

Returns: The custom data for this Entity.

script.zs
// PathfinderMob.customData() as MapData;
myPathfinderMob.customData();

Return Type: MapData

Getter
script.zs
// PathfinderMob.customName as Component
myPathfinderMob.customName

Return Type: Component

Getter
script.zs
// PathfinderMob.customName as Component
myPathfinderMob.customName

Return Type: Component

customName() as Component
script.zs
// PathfinderMob.customName() as Component;
myPathfinderMob.customName();

Return Type: Component

customName() as Component
script.zs
// PathfinderMob.customName() as Component;
myPathfinderMob.customName();

Return Type: Component

Getter
script.zs
// PathfinderMob.dampensVibrations as bool
myPathfinderMob.dampensVibrations

Return Type: bool

dampensVibrations() as bool
script.zs
// PathfinderMob.dampensVibrations() as bool;
myPathfinderMob.dampensVibrations();

Return Type: bool

Getter
Gets the NBT data of this Entity.
script.zs
// PathfinderMob.data as MapData
myPathfinderMob.data

Return Type: MapData

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

Returns: The NBT data of this Entity.

script.zs
// PathfinderMob.data() as MapData;
myPathfinderMob.data();

Return Type: MapData

Getter
script.zs
// PathfinderMob.deltaMovement as Vec3
myPathfinderMob.deltaMovement

Return Type: Vec3

Setter
script.zs
// PathfinderMob.deltaMovement = (deltaMovement as Vec3);
myPathfinderMob.deltaMovement = myVec3;

Parameters:

deltaMovement Type: Vec3
deltaMovement() as Vec3
script.zs
// PathfinderMob.deltaMovement() as Vec3;
myPathfinderMob.deltaMovement();

Return Type: Vec3

deltaMovement(deltaMovement as Vec3)
script.zs
// PathfinderMob.deltaMovement(deltaMovement as Vec3);
myPathfinderMob.deltaMovement(myVec3);

Parameters:

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

Parameters:

source Type: DamageSource
Getter
script.zs
// PathfinderMob.dimensionChangingDelay as int
myPathfinderMob.dimensionChangingDelay

Return Type: int

dimensionChangingDelay() as int
script.zs
// PathfinderMob.dimensionChangingDelay() as int;
myPathfinderMob.dimensionChangingDelay();

Return Type: int

Getter
script.zs
// PathfinderMob.direction as Direction
myPathfinderMob.direction

Return Type: Direction

direction() as Direction
script.zs
// PathfinderMob.direction() as Direction;
myPathfinderMob.direction();

Return Type: Direction

discard()
script.zs
// PathfinderMob.discard();
myPathfinderMob.discard();
Getter
script.zs
// PathfinderMob.dismountsUnderwater as bool
myPathfinderMob.dismountsUnderwater

Return Type: bool

Getter
script.zs
// PathfinderMob.displayName as Component
myPathfinderMob.displayName

Return Type: Component

Getter
script.zs
// PathfinderMob.displayName as Component
myPathfinderMob.displayName

Return Type: Component

displayName() as Component
script.zs
// PathfinderMob.displayName() as Component;
myPathfinderMob.displayName();

Return Type: Component

displayName() as Component
script.zs
// PathfinderMob.displayName() as Component;
myPathfinderMob.displayName();

Return Type: Component

distanceTo(entity as Entity) as float
script.zs
// PathfinderMob.distanceTo(entity as Entity) as float;
myPathfinderMob.distanceTo(myEntity);

Parameters:

entity Type: Entity

Return Type: float

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

Parameters:

entity Type: Entity

Return Type: double

distanceToSqr(vec as Vec3) as double
script.zs
// PathfinderMob.distanceToSqr(vec as Vec3) as double;
myPathfinderMob.distanceToSqr(myVec3);

Parameters:

vec Type: Vec3

Return Type: double

doHurtTarget(entity as Entity) as bool
script.zs
// PathfinderMob.doHurtTarget(entity as Entity) as bool;
myPathfinderMob.doHurtTarget(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

dropLeash(broadcastPacket as bool, dropLeash as bool)
script.zs
// PathfinderMob.dropLeash(broadcastPacket as bool, dropLeash as bool);
myPathfinderMob.dropLeash(myBool, myBool);

Parameters:

broadcastPacket Type: bool
dropLeash Type: bool
eat(level as Level, stack as ItemStack) as ItemStack
script.zs
// PathfinderMob.eat(level as Level, stack as ItemStack) as ItemStack;
myPathfinderMob.eat(myLevel, myItemStack);

Parameters:

level Type: Level
stack Type: ItemStack

Return Type: ItemStack

ejectPassengers()
script.zs
// PathfinderMob.ejectPassengers();
myPathfinderMob.ejectPassengers();
equipItemIfPossible(stack as ItemStack) as ItemStack
script.zs
// PathfinderMob.equipItemIfPossible(stack as ItemStack) as ItemStack;
myPathfinderMob.equipItemIfPossible(myItemStack);

Parameters:

stack Type: ItemStack

Return Type: ItemStack

Getter
script.zs
// PathfinderMob.eyeHeight as float
myPathfinderMob.eyeHeight

Return Type: float

eyeHeight() as float
script.zs
// PathfinderMob.eyeHeight() as float;
myPathfinderMob.eyeHeight();

Return Type: float

Getter
script.zs
// PathfinderMob.eyePosition as Vec3
myPathfinderMob.eyePosition

Return Type: Vec3

eyePosition() as Vec3
script.zs
// PathfinderMob.eyePosition() as Vec3;
myPathfinderMob.eyePosition();

Return Type: Vec3

Getter
script.zs
// PathfinderMob.eyeY as double
myPathfinderMob.eyeY

Return Type: double

eyeY() as double
script.zs
// PathfinderMob.eyeY() as double;
myPathfinderMob.eyeY();

Return Type: double

Getter
script.zs
// PathfinderMob.fallFlyingTicks as int
myPathfinderMob.fallFlyingTicks

Return Type: int

fallFlyingTicks() as int
script.zs
// PathfinderMob.fallFlyingTicks() as int;
myPathfinderMob.fallFlyingTicks();

Return Type: int

Getter
script.zs
// PathfinderMob.feetBlockState as BlockState
myPathfinderMob.feetBlockState

Return Type: BlockState

feetBlockState() as BlockState
script.zs
// PathfinderMob.feetBlockState() as BlockState;
myPathfinderMob.feetBlockState();

Return Type: BlockState

Getter
script.zs
// PathfinderMob.fireImmune as bool
myPathfinderMob.fireImmune

Return Type: bool

fireImmune() as bool
script.zs
// PathfinderMob.fireImmune() as bool;
myPathfinderMob.fireImmune();

Return Type: bool

Getter
script.zs
// PathfinderMob.firstPassenger as Entity
myPathfinderMob.firstPassenger

Return Type: Entity

firstPassenger() as Entity
script.zs
// PathfinderMob.firstPassenger() as Entity;
myPathfinderMob.firstPassenger();

Return Type: Entity

Getter
script.zs
// PathfinderMob.fluidJumpThreshold as double
myPathfinderMob.fluidJumpThreshold

Return Type: double

fluidJumpThreshold() as double
script.zs
// PathfinderMob.fluidJumpThreshold() as double;
myPathfinderMob.fluidJumpThreshold();

Return Type: double

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

Parameters:

effectInstance Type: MobEffectInstance
entity Type: Entity
Getter
script.zs
// PathfinderMob.forward as Vec3
myPathfinderMob.forward

Return Type: Vec3

forward() as Vec3
script.zs
// PathfinderMob.forward() as Vec3;
myPathfinderMob.forward();

Return Type: Vec3

getAttachmentData(type as AttachmentType<T>) as T
script.zs
// PathfinderMob.getAttachmentData<T>(type as AttachmentType<T>) as T;
myPathfinderMob.getAttachmentData<T>(myAttachmentType);

Parameters:

type Type: AttachmentType<T>

Return Type: T

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

Parameters:

type Type: Supplier<AttachmentType<T>>

Return Type: T

getAttribute(attribute as Attribute) as AttributeInstance
script.zs
// PathfinderMob.getAttribute(attribute as Attribute) as AttributeInstance;
myPathfinderMob.getAttribute(myAttribute);

Parameters:

attribute Type: Attribute

Return Type: AttributeInstance

getAttributeBaseValue(attribute as Attribute) as double
script.zs
// PathfinderMob.getAttributeBaseValue(attribute as Attribute) as double;
myPathfinderMob.getAttributeBaseValue(myAttribute);

Parameters:

attribute Type: Attribute

Return Type: double

getAttributeValue(attribute as Attribute) as double
script.zs
// PathfinderMob.getAttributeValue(attribute as Attribute) as double;
myPathfinderMob.getAttributeValue(myAttribute);

Parameters:

attribute Type: Attribute

Return Type: double

getEffect(effect as MobEffect) as MobEffectInstance
script.zs
// PathfinderMob.getEffect(effect as MobEffect) as MobEffectInstance;
myPathfinderMob.getEffect(myMobEffect);

Parameters:

effect Type: MobEffect

Return Type: MobEffectInstance

getEyePosition(partialTicks as float) as Vec3
script.zs
// PathfinderMob.getEyePosition(partialTicks as float) as Vec3;
myPathfinderMob.getEyePosition(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getItemBySlot(slot as EquipmentSlot) as ItemStack
script.zs
// PathfinderMob.getItemBySlot(slot as EquipmentSlot) as ItemStack;
myPathfinderMob.getItemBySlot(myEquipmentSlot);

Parameters:

Return Type: ItemStack

getItemInHand(hand as InteractionHand) as ItemStack
script.zs
// PathfinderMob.getItemInHand(hand as InteractionHand) as ItemStack;
myPathfinderMob.getItemInHand(myInteractionHand);

Parameters:

Return Type: ItemStack

getPosition(partialTicks as float) as Vec3
script.zs
// PathfinderMob.getPosition(partialTicks as float) as Vec3;
myPathfinderMob.getPosition(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

Getter
script.zs
// PathfinderMob.getRestrictCenter as BlockPos
myPathfinderMob.getRestrictCenter

Return Type: BlockPos

Getter
script.zs
// PathfinderMob.getRestrictCenter as Entity
myPathfinderMob.getRestrictCenter

Return Type: Entity

Getter
script.zs
// PathfinderMob.getRestrictRadius as float
myPathfinderMob.getRestrictRadius

Return Type: float

getSwimAmount(partialTicks as float) as float
script.zs
// PathfinderMob.getSwimAmount(partialTicks as float) as float;
myPathfinderMob.getSwimAmount(myFloat);

Parameters:

partialTicks Type: float

Return Type: float

getUpVector(partialTicks as float) as Vec3
script.zs
// PathfinderMob.getUpVector(partialTicks as float) as Vec3;
myPathfinderMob.getUpVector(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getViewVector(partialTicks as float) as Vec3
script.zs
// PathfinderMob.getViewVector(partialTicks as float) as Vec3;
myPathfinderMob.getViewVector(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getVisibilityPercent(lookingEntity as Entity) as double
script.zs
// PathfinderMob.getVisibilityPercent(lookingEntity as Entity) as double;
myPathfinderMob.getVisibilityPercent(myEntity);

Parameters:

lookingEntity Type: Entity

Return Type: double

getX(scale as double) as double
script.zs
// PathfinderMob.getX(scale as double) as double;
myPathfinderMob.getX(myDouble);

Parameters:

scale Type: double

Return Type: double

getY(scale as double) as double
script.zs
// PathfinderMob.getY(scale as double) as double;
myPathfinderMob.getY(myDouble);

Parameters:

scale Type: double

Return Type: double

getZ(scale as double) as double
script.zs
// PathfinderMob.getZ(scale as double) as double;
myPathfinderMob.getZ(myDouble);

Parameters:

scale Type: double

Return Type: double

Getter
script.zs
// PathfinderMob.handSlots as Iterable<ItemStack>
myPathfinderMob.handSlots

Return Type: Iterable<ItemStack>

handSlots() as Iterable<ItemStack>
script.zs
// PathfinderMob.handSlots() as Iterable<ItemStack>;
myPathfinderMob.handSlots();

Return Type: Iterable<ItemStack>

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

Parameters:

type Type: AttachmentType<T>

Return Type: bool

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

Parameters:

type Type: Supplier<AttachmentType<T>>

Return Type: bool

Getter
script.zs
// PathfinderMob.hasCustomName as bool
myPathfinderMob.hasCustomName

Return Type: bool

Getter
script.zs
// PathfinderMob.hasCustomName as bool
myPathfinderMob.hasCustomName

Return Type: bool

hasCustomName() as bool
script.zs
// PathfinderMob.hasCustomName() as bool;
myPathfinderMob.hasCustomName();

Return Type: bool

hasCustomName() as bool
script.zs
// PathfinderMob.hasCustomName() as bool;
myPathfinderMob.hasCustomName();

Return Type: bool

hasEffect(effect as MobEffect) as bool
script.zs
// PathfinderMob.hasEffect(effect as MobEffect) as bool;
myPathfinderMob.hasEffect(myMobEffect);

Parameters:

effect Type: MobEffect

Return Type: bool

Getter
script.zs
// PathfinderMob.hasExactlyOnePlayerPassenger as bool
myPathfinderMob.hasExactlyOnePlayerPassenger

Return Type: bool

hasExactlyOnePlayerPassenger() as bool
script.zs
// PathfinderMob.hasExactlyOnePlayerPassenger() as bool;
myPathfinderMob.hasExactlyOnePlayerPassenger();

Return Type: bool

Getter
script.zs
// PathfinderMob.hasGlowingTag as bool
myPathfinderMob.hasGlowingTag

Return Type: bool

hasGlowingTag() as bool
script.zs
// PathfinderMob.hasGlowingTag() as bool;
myPathfinderMob.hasGlowingTag();

Return Type: bool

hasIndirectPassenger(entity as Entity) as bool
script.zs
// PathfinderMob.hasIndirectPassenger(entity as Entity) as bool;
myPathfinderMob.hasIndirectPassenger(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

hasItemInSlot(slot as EquipmentSlot) as bool
script.zs
// PathfinderMob.hasItemInSlot(slot as EquipmentSlot) as bool;
myPathfinderMob.hasItemInSlot(myEquipmentSlot);

Parameters:

Return Type: bool

hasLineOfSight(entity as Entity) as bool
script.zs
// PathfinderMob.hasLineOfSight(entity as Entity) as bool;
myPathfinderMob.hasLineOfSight(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

hasPassenger(entity as Entity) as bool
script.zs
// PathfinderMob.hasPassenger(entity as Entity) as bool;
myPathfinderMob.hasPassenger(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

hasPassenger(predicate as function(t as Entity) as bool) as bool
script.zs
// PathfinderMob.hasPassenger(predicate as function(t as Entity) as bool) as bool;
myPathfinderMob.hasPassenger(myPredicate);

Parameters:

predicate Type: function(t as Entity) as bool

Return Type: bool

Getter
script.zs
// PathfinderMob.hasRestriction as bool
myPathfinderMob.hasRestriction

Return Type: bool

heal(amount as float)
script.zs
// PathfinderMob.heal(amount as float);
myPathfinderMob.heal(myFloat);

Parameters:

amount Type: float
Getter
script.zs
// PathfinderMob.health as float
myPathfinderMob.health

Return Type: float

health() as float
script.zs
// PathfinderMob.health() as float;
myPathfinderMob.health();

Return Type: float

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

Parameters:

source Type: DamageSource
amount Type: float

Return Type: bool

Getter
script.zs
// PathfinderMob.id as int
myPathfinderMob.id

Return Type: int

id() as int
script.zs
// PathfinderMob.id() as int;
myPathfinderMob.id();

Return Type: int

Getter
script.zs
// PathfinderMob.isAffectedByPotions as bool
myPathfinderMob.isAffectedByPotions

Return Type: bool

isAffectedByPotions() as bool
script.zs
// PathfinderMob.isAffectedByPotions() as bool;
myPathfinderMob.isAffectedByPotions();

Return Type: bool

Getter
script.zs
// PathfinderMob.isAlive as bool
myPathfinderMob.isAlive

Return Type: bool

isAlive() as bool
script.zs
// PathfinderMob.isAlive() as bool;
myPathfinderMob.isAlive();

Return Type: bool

Getter
script.zs
// PathfinderMob.isAlwaysTicking as bool
myPathfinderMob.isAlwaysTicking

Return Type: bool

isAlwaysTicking() as bool
script.zs
// PathfinderMob.isAlwaysTicking() as bool;
myPathfinderMob.isAlwaysTicking();

Return Type: bool

Getter
script.zs
// PathfinderMob.isAttackable as bool
myPathfinderMob.isAttackable

Return Type: bool

isAttackable() as bool
script.zs
// PathfinderMob.isAttackable() as bool;
myPathfinderMob.isAttackable();

Return Type: bool

Getter
script.zs
// PathfinderMob.isAutoSpinAttack as bool
myPathfinderMob.isAutoSpinAttack

Return Type: bool

isAutoSpinAttack() as bool
script.zs
// PathfinderMob.isAutoSpinAttack() as bool;
myPathfinderMob.isAutoSpinAttack();

Return Type: bool

Getter
script.zs
// PathfinderMob.isBaby as bool
myPathfinderMob.isBaby

Return Type: bool

isBaby() as bool
script.zs
// PathfinderMob.isBaby() as bool;
myPathfinderMob.isBaby();

Return Type: bool

Getter
script.zs
// PathfinderMob.isBlocking as bool
myPathfinderMob.isBlocking

Return Type: bool

isBlocking() as bool
script.zs
// PathfinderMob.isBlocking() as bool;
myPathfinderMob.isBlocking();

Return Type: bool

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

Parameters:

pos Type: BlockPos
state Type: BlockState

Return Type: bool

Getter
script.zs
// PathfinderMob.isCrouching as bool
myPathfinderMob.isCrouching

Return Type: bool

isCrouching() as bool
script.zs
// PathfinderMob.isCrouching() as bool;
myPathfinderMob.isCrouching();

Return Type: bool

Getter
script.zs
// PathfinderMob.isCurrentlyGlowing as bool
myPathfinderMob.isCurrentlyGlowing

Return Type: bool

Getter
script.zs
// PathfinderMob.isCurrentlyGlowing as bool
myPathfinderMob.isCurrentlyGlowing

Return Type: bool

isCurrentlyGlowing() as bool
script.zs
// PathfinderMob.isCurrentlyGlowing() as bool;
myPathfinderMob.isCurrentlyGlowing();

Return Type: bool

isCurrentlyGlowing() as bool
script.zs
// PathfinderMob.isCurrentlyGlowing() as bool;
myPathfinderMob.isCurrentlyGlowing();

Return Type: bool

Getter
script.zs
// PathfinderMob.isCustomNameVisible as bool
myPathfinderMob.isCustomNameVisible

Return Type: bool

isCustomNameVisible() as bool
script.zs
// PathfinderMob.isCustomNameVisible() as bool;
myPathfinderMob.isCustomNameVisible();

Return Type: bool

isDamageSourceBlocked(source as DamageSource) as bool
script.zs
// PathfinderMob.isDamageSourceBlocked(source as DamageSource) as bool;
myPathfinderMob.isDamageSourceBlocked(myDamageSource);

Parameters:

source Type: DamageSource

Return Type: bool

Getter
script.zs
// PathfinderMob.isDeadOrDying as bool
myPathfinderMob.isDeadOrDying

Return Type: bool

isDeadOrDying() as bool
script.zs
// PathfinderMob.isDeadOrDying() as bool;
myPathfinderMob.isDeadOrDying();

Return Type: bool

Getter
script.zs
// PathfinderMob.isDescending as bool
myPathfinderMob.isDescending

Return Type: bool

isDescending() as bool
script.zs
// PathfinderMob.isDescending() as bool;
myPathfinderMob.isDescending();

Return Type: bool

Getter
script.zs
// PathfinderMob.isDiscrete as bool
myPathfinderMob.isDiscrete

Return Type: bool

isDiscrete() as bool
script.zs
// PathfinderMob.isDiscrete() as bool;
myPathfinderMob.isDiscrete();

Return Type: bool

Getter
script.zs
// PathfinderMob.isFallFlying as bool
myPathfinderMob.isFallFlying

Return Type: bool

isFallFlying() as bool
script.zs
// PathfinderMob.isFallFlying() as bool;
myPathfinderMob.isFallFlying();

Return Type: bool

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

Parameters:

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

Return Type: bool

Getter
script.zs
// PathfinderMob.isFullyFrozen as bool
myPathfinderMob.isFullyFrozen

Return Type: bool

isFullyFrozen() as bool
script.zs
// PathfinderMob.isFullyFrozen() as bool;
myPathfinderMob.isFullyFrozen();

Return Type: bool

isHolding(item as Item) as bool
script.zs
// PathfinderMob.isHolding(item as Item) as bool;
myPathfinderMob.isHolding(myItem);

Parameters:

Return Type: bool

isHolding(predicate as function(t as ItemStack) as bool) as bool
script.zs
// PathfinderMob.isHolding(predicate as function(t as ItemStack) as bool) as bool;
myPathfinderMob.isHolding(myPredicate);

Parameters:

predicate Type: function(t as ItemStack) as bool

Return Type: bool

Getter
script.zs
// PathfinderMob.isInLava as bool
myPathfinderMob.isInLava

Return Type: bool

isInLava() as bool
script.zs
// PathfinderMob.isInLava() as bool;
myPathfinderMob.isInLava();

Return Type: bool

Getter
script.zs
// PathfinderMob.isInvertedHealAndHarm as bool
myPathfinderMob.isInvertedHealAndHarm

Return Type: bool

isInvertedHealAndHarm() as bool
script.zs
// PathfinderMob.isInvertedHealAndHarm() as bool;
myPathfinderMob.isInvertedHealAndHarm();

Return Type: bool

Getter
script.zs
// PathfinderMob.isInvisible as bool
myPathfinderMob.isInvisible

Return Type: bool

isInvisible() as bool
script.zs
// PathfinderMob.isInvisible() as bool;
myPathfinderMob.isInvisible();

Return Type: bool

isInvisibleTo(player as Player) as bool
script.zs
// PathfinderMob.isInvisibleTo(player as Player) as bool;
myPathfinderMob.isInvisibleTo(myPlayer);

Parameters:

player Type: Player

Return Type: bool

Getter
script.zs
// PathfinderMob.isInvulnerable as bool
myPathfinderMob.isInvulnerable

Return Type: bool

isInvulnerable() as bool
script.zs
// PathfinderMob.isInvulnerable() as bool;
myPathfinderMob.isInvulnerable();

Return Type: bool

isInvulnerableTo(source as DamageSource) as bool
script.zs
// PathfinderMob.isInvulnerableTo(source as DamageSource) as bool;
myPathfinderMob.isInvulnerableTo(myDamageSource);

Parameters:

source Type: DamageSource

Return Type: bool

Getter
script.zs
// PathfinderMob.isInWall as bool
myPathfinderMob.isInWall

Return Type: bool

isInWall() as bool
script.zs
// PathfinderMob.isInWall() as bool;
myPathfinderMob.isInWall();

Return Type: bool

Getter
script.zs
// PathfinderMob.isInWater as bool
myPathfinderMob.isInWater

Return Type: bool

isInWater() as bool
script.zs
// PathfinderMob.isInWater() as bool;
myPathfinderMob.isInWater();

Return Type: bool

Getter
script.zs
// PathfinderMob.isInWaterOrBubble as bool
myPathfinderMob.isInWaterOrBubble

Return Type: bool

isInWaterOrBubble() as bool
script.zs
// PathfinderMob.isInWaterOrBubble() as bool;
myPathfinderMob.isInWaterOrBubble();

Return Type: bool

Getter
script.zs
// PathfinderMob.isInWaterOrRain as bool
myPathfinderMob.isInWaterOrRain

Return Type: bool

isInWaterOrRain() as bool
script.zs
// PathfinderMob.isInWaterOrRain() as bool;
myPathfinderMob.isInWaterOrRain();

Return Type: bool

Getter
script.zs
// PathfinderMob.isInWaterRainOrBubble as bool
myPathfinderMob.isInWaterRainOrBubble

Return Type: bool

isInWaterRainOrBubble() as bool
script.zs
// PathfinderMob.isInWaterRainOrBubble() as bool;
myPathfinderMob.isInWaterRainOrBubble();

Return Type: bool

isMaxGroupSizeReached(size as int) as bool
script.zs
// PathfinderMob.isMaxGroupSizeReached(size as int) as bool;
myPathfinderMob.isMaxGroupSizeReached(myInt);

Parameters:

size Type: int

Return Type: bool

Getter
script.zs
// PathfinderMob.isNoGravity as bool
myPathfinderMob.isNoGravity

Return Type: bool

isNoGravity() as bool
script.zs
// PathfinderMob.isNoGravity() as bool;
myPathfinderMob.isNoGravity();

Return Type: bool

Getter
script.zs
// PathfinderMob.isOnFire as bool
myPathfinderMob.isOnFire

Return Type: bool

isOnFire() as bool
script.zs
// PathfinderMob.isOnFire() as bool;
myPathfinderMob.isOnFire();

Return Type: bool

Getter
script.zs
// PathfinderMob.isOnPortalCooldown as bool
myPathfinderMob.isOnPortalCooldown

Return Type: bool

isOnPortalCooldown() as bool
script.zs
// PathfinderMob.isOnPortalCooldown() as bool;
myPathfinderMob.isOnPortalCooldown();

Return Type: bool

Getter
script.zs
// PathfinderMob.isPassenger as bool
myPathfinderMob.isPassenger

Return Type: bool

isPassenger() as bool
script.zs
// PathfinderMob.isPassenger() as bool;
myPathfinderMob.isPassenger();

Return Type: bool

isPassengerOfSameVehicle(entity as Entity) as bool
script.zs
// PathfinderMob.isPassengerOfSameVehicle(entity as Entity) as bool;
myPathfinderMob.isPassengerOfSameVehicle(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

Getter
script.zs
// PathfinderMob.isPersistenceRequired as bool
myPathfinderMob.isPersistenceRequired

Return Type: bool

Getter
script.zs
// PathfinderMob.isPickable as bool
myPathfinderMob.isPickable

Return Type: bool

isPickable() as bool
script.zs
// PathfinderMob.isPickable() as bool;
myPathfinderMob.isPickable();

Return Type: bool

Getter
script.zs
// PathfinderMob.isPushable as bool
myPathfinderMob.isPushable

Return Type: bool

isPushable() as bool
script.zs
// PathfinderMob.isPushable() as bool;
myPathfinderMob.isPushable();

Return Type: bool

Getter
script.zs
// PathfinderMob.isPushedByFluid as bool
myPathfinderMob.isPushedByFluid

Return Type: bool

isPushedByFluid() as bool
script.zs
// PathfinderMob.isPushedByFluid() as bool;
myPathfinderMob.isPushedByFluid();

Return Type: bool

Getter
script.zs
// PathfinderMob.isRemoved as bool
myPathfinderMob.isRemoved

Return Type: bool

isRemoved() as bool
script.zs
// PathfinderMob.isRemoved() as bool;
myPathfinderMob.isRemoved();

Return Type: bool

Getter
script.zs
// PathfinderMob.isSensitiveToWater as bool
myPathfinderMob.isSensitiveToWater

Return Type: bool

isSensitiveToWater() as bool
script.zs
// PathfinderMob.isSensitiveToWater() as bool;
myPathfinderMob.isSensitiveToWater();

Return Type: bool

Getter
script.zs
// PathfinderMob.isShiftKeyDown as bool
myPathfinderMob.isShiftKeyDown

Return Type: bool

isShiftKeyDown() as bool
script.zs
// PathfinderMob.isShiftKeyDown() as bool;
myPathfinderMob.isShiftKeyDown();

Return Type: bool

Getter
script.zs
// PathfinderMob.isSilent as bool
myPathfinderMob.isSilent

Return Type: bool

isSilent() as bool
script.zs
// PathfinderMob.isSilent() as bool;
myPathfinderMob.isSilent();

Return Type: bool

Getter
script.zs
// PathfinderMob.isSleeping as bool
myPathfinderMob.isSleeping

Return Type: bool

isSleeping() as bool
script.zs
// PathfinderMob.isSleeping() as bool;
myPathfinderMob.isSleeping();

Return Type: bool

Getter
script.zs
// PathfinderMob.isSpectator as bool
myPathfinderMob.isSpectator

Return Type: bool

isSpectator() as bool
script.zs
// PathfinderMob.isSpectator() as bool;
myPathfinderMob.isSpectator();

Return Type: bool

Getter
script.zs
// PathfinderMob.isSprinting as bool
myPathfinderMob.isSprinting

Return Type: bool

isSprinting() as bool
script.zs
// PathfinderMob.isSprinting() as bool;
myPathfinderMob.isSprinting();

Return Type: bool

Getter
script.zs
// PathfinderMob.isSteppingCarefully as bool
myPathfinderMob.isSteppingCarefully

Return Type: bool

isSteppingCarefully() as bool
script.zs
// PathfinderMob.isSteppingCarefully() as bool;
myPathfinderMob.isSteppingCarefully();

Return Type: bool

Getter
script.zs
// PathfinderMob.isSuppressingBounce as bool
myPathfinderMob.isSuppressingBounce

Return Type: bool

isSuppressingBounce() as bool
script.zs
// PathfinderMob.isSuppressingBounce() as bool;
myPathfinderMob.isSuppressingBounce();

Return Type: bool

Getter
script.zs
// PathfinderMob.isSuppressingSlidingDownLadder as bool
myPathfinderMob.isSuppressingSlidingDownLadder

Return Type: bool

isSuppressingSlidingDownLadder() as bool
script.zs
// PathfinderMob.isSuppressingSlidingDownLadder() as bool;
myPathfinderMob.isSuppressingSlidingDownLadder();

Return Type: bool

Getter
script.zs
// PathfinderMob.isSwimming as bool
myPathfinderMob.isSwimming

Return Type: bool

isSwimming() as bool
script.zs
// PathfinderMob.isSwimming() as bool;
myPathfinderMob.isSwimming();

Return Type: bool

Getter
script.zs
// PathfinderMob.isUnderWater as bool
myPathfinderMob.isUnderWater

Return Type: bool

isUnderWater() as bool
script.zs
// PathfinderMob.isUnderWater() as bool;
myPathfinderMob.isUnderWater();

Return Type: bool

Getter
script.zs
// PathfinderMob.isUsingItem as bool
myPathfinderMob.isUsingItem

Return Type: bool

isUsingItem() as bool
script.zs
// PathfinderMob.isUsingItem() as bool;
myPathfinderMob.isUsingItem();

Return Type: bool

Getter
script.zs
// PathfinderMob.isVehicle as bool
myPathfinderMob.isVehicle

Return Type: bool

isVehicle() as bool
script.zs
// PathfinderMob.isVehicle() as bool;
myPathfinderMob.isVehicle();

Return Type: bool

Getter
script.zs
// PathfinderMob.isVisuallyCrawling as bool
myPathfinderMob.isVisuallyCrawling

Return Type: bool

isVisuallyCrawling() as bool
script.zs
// PathfinderMob.isVisuallyCrawling() as bool;
myPathfinderMob.isVisuallyCrawling();

Return Type: bool

Getter
script.zs
// PathfinderMob.isVisuallySwimming as bool
myPathfinderMob.isVisuallySwimming

Return Type: bool

Getter
script.zs
// PathfinderMob.isVisuallySwimming as bool
myPathfinderMob.isVisuallySwimming

Return Type: bool

isVisuallySwimming() as bool
script.zs
// PathfinderMob.isVisuallySwimming() as bool;
myPathfinderMob.isVisuallySwimming();

Return Type: bool

isVisuallySwimming() as bool
script.zs
// PathfinderMob.isVisuallySwimming() as bool;
myPathfinderMob.isVisuallySwimming();

Return Type: bool

isWithinMeleeAttackRange(entity as LivingEntity) as bool
script.zs
// PathfinderMob.isWithinMeleeAttackRange(entity as LivingEntity) as bool;
myPathfinderMob.isWithinMeleeAttackRange(myLivingEntity);

Parameters:

entity Type: LivingEntity

Return Type: bool

Getter
script.zs
// PathfinderMob.isWithinRestriction as bool
myPathfinderMob.isWithinRestriction

Return Type: bool

isWithinRestriction(position as BlockPos) as bool
script.zs
// PathfinderMob.isWithinRestriction(position as BlockPos) as bool;
myPathfinderMob.isWithinRestriction(myBlockPos);

Parameters:

position Type: BlockPos

Return Type: bool

Getter
script.zs
// PathfinderMob.jumpBoostPower as double
myPathfinderMob.jumpBoostPower

Return Type: double

jumpBoostPower() as double
script.zs
// PathfinderMob.jumpBoostPower() as double;
myPathfinderMob.jumpBoostPower();

Return Type: double

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

Return Type: LivingEntity

killCredit() as LivingEntity
script.zs
// PathfinderMob.killCredit() as LivingEntity;
myPathfinderMob.killCredit();

Return Type: LivingEntity

knockback(x as double, y as double, z as double)
script.zs
// PathfinderMob.knockback(x as double, y as double, z as double);
myPathfinderMob.knockback(myDouble, myDouble, myDouble);

Parameters:

x Type: double
y Type: double
z Type: double
Getter
script.zs
// PathfinderMob.lastClimbablePos as BlockPos
myPathfinderMob.lastClimbablePos

Return Type: BlockPos

lastClimbablePos() as BlockPos
script.zs
// PathfinderMob.lastClimbablePos() as BlockPos;
myPathfinderMob.lastClimbablePos();

Return Type: BlockPos

Getter
script.zs
// PathfinderMob.lastDamageSource as DamageSource
myPathfinderMob.lastDamageSource

Return Type: DamageSource

lastDamageSource() as DamageSource
script.zs
// PathfinderMob.lastDamageSource() as DamageSource;
myPathfinderMob.lastDamageSource();

Return Type: DamageSource

Getter
script.zs
// PathfinderMob.lastHurtByMob as LivingEntity
myPathfinderMob.lastHurtByMob

Return Type: LivingEntity

lastHurtByMob() as LivingEntity
script.zs
// PathfinderMob.lastHurtByMob() as LivingEntity;
myPathfinderMob.lastHurtByMob();

Return Type: LivingEntity

Getter
script.zs
// PathfinderMob.lastHurtByMobTimestamp as int
myPathfinderMob.lastHurtByMobTimestamp

Return Type: int

lastHurtByMobTimestamp() as int
script.zs
// PathfinderMob.lastHurtByMobTimestamp() as int;
myPathfinderMob.lastHurtByMobTimestamp();

Return Type: int

Getter
script.zs
// PathfinderMob.lastHurtMob as LivingEntity
myPathfinderMob.lastHurtMob

Return Type: LivingEntity

lastHurtMob() as LivingEntity
script.zs
// PathfinderMob.lastHurtMob() as LivingEntity;
myPathfinderMob.lastHurtMob();

Return Type: LivingEntity

Getter
script.zs
// PathfinderMob.lastHurtMobTimestamp as int
myPathfinderMob.lastHurtMobTimestamp

Return Type: int

lastHurtMobTimestamp() as int
script.zs
// PathfinderMob.lastHurtMobTimestamp() as int;
myPathfinderMob.lastHurtMobTimestamp();

Return Type: int

lavaHurt()
script.zs
// PathfinderMob.lavaHurt();
myPathfinderMob.lavaHurt();
Getter
script.zs
// PathfinderMob.leashed as bool
myPathfinderMob.leashed

Return Type: bool

Getter
script.zs
// PathfinderMob.leftHanded as bool
myPathfinderMob.leftHanded

Return Type: bool

Setter
script.zs
// PathfinderMob.leftHanded = (value as bool);
myPathfinderMob.leftHanded = myBool;

Parameters:

value Type: bool
Getter
script.zs
// PathfinderMob.level as Level
myPathfinderMob.level

Return Type: Level

Getter
script.zs
// PathfinderMob.lookAngle as Vec3
myPathfinderMob.lookAngle

Return Type: Vec3

lookAngle() as Vec3
script.zs
// PathfinderMob.lookAngle() as Vec3;
myPathfinderMob.lookAngle();

Return Type: Vec3

lookAt(entity as Entity, maxXRotIncrease as float, maxYRotIncrease as float)
script.zs
// PathfinderMob.lookAt(entity as Entity, maxXRotIncrease as float, maxYRotIncrease as float);
myPathfinderMob.lookAt(myEntity, myFloat, myFloat);

Parameters:

entity Type: Entity
maxXRotIncrease Type: float
maxYRotIncrease Type: float
Getter
script.zs
// PathfinderMob.lootTable as ResourceLocation
myPathfinderMob.lootTable

Return Type: ResourceLocation

lootTable() as ResourceLocation
script.zs
// PathfinderMob.lootTable() as ResourceLocation;
myPathfinderMob.lootTable();

Return Type: ResourceLocation

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

Return Type: long

Getter
script.zs
// PathfinderMob.mainArm as HumanoidArm
myPathfinderMob.mainArm

Return Type: HumanoidArm

mainArm() as HumanoidArm
script.zs
// PathfinderMob.mainArm() as HumanoidArm;
myPathfinderMob.mainArm();

Return Type: HumanoidArm

Getter
script.zs
// PathfinderMob.mainHandItem as ItemStack
myPathfinderMob.mainHandItem

Return Type: ItemStack

mainHandItem() as ItemStack
script.zs
// PathfinderMob.mainHandItem() as ItemStack;
myPathfinderMob.mainHandItem();

Return Type: ItemStack

Getter
script.zs
// PathfinderMob.maxAirSupply as int
myPathfinderMob.maxAirSupply

Return Type: int

maxAirSupply() as int
script.zs
// PathfinderMob.maxAirSupply() as int;
myPathfinderMob.maxAirSupply();

Return Type: int

Getter
script.zs
// PathfinderMob.maxFallDistance as int
myPathfinderMob.maxFallDistance

Return Type: int

maxFallDistance() as int
script.zs
// PathfinderMob.maxFallDistance() as int;
myPathfinderMob.maxFallDistance();

Return Type: int

Getter
script.zs
// PathfinderMob.maxHeadRotSpeed as int
myPathfinderMob.maxHeadRotSpeed

Return Type: int

Getter
script.zs
// PathfinderMob.maxHeadXRot as int
myPathfinderMob.maxHeadXRot

Return Type: int

Getter
script.zs
// PathfinderMob.maxHeadYRot as int
myPathfinderMob.maxHeadYRot

Return Type: int

Getter
script.zs
// PathfinderMob.maxHealth as float
myPathfinderMob.maxHealth

Return Type: float

maxHealth() as float
script.zs
// PathfinderMob.maxHealth() as float;
myPathfinderMob.maxHealth();

Return Type: float

Getter
script.zs
// PathfinderMob.maxSpawnClusterSize as int
myPathfinderMob.maxSpawnClusterSize

Return Type: int

Getter
script.zs
// PathfinderMob.mobType as MobType
myPathfinderMob.mobType

Return Type: MobType

mobType() as MobType
script.zs
// PathfinderMob.mobType() as MobType;
myPathfinderMob.mobType();

Return Type: MobType

Getter
script.zs
// PathfinderMob.motionDirection as Direction
myPathfinderMob.motionDirection

Return Type: Direction

motionDirection() as Direction
script.zs
// PathfinderMob.motionDirection() as Direction;
myPathfinderMob.motionDirection();

Return Type: Direction

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

Parameters:

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

Parameters:

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

Return Type: Component

Getter
script.zs
// PathfinderMob.name as Component
myPathfinderMob.name

Return Type: Component

name() as Component
script.zs
// PathfinderMob.name() as Component;
myPathfinderMob.name();

Return Type: Component

name() as Component
script.zs
// PathfinderMob.name() as Component;
myPathfinderMob.name();

Return Type: Component

Getter
script.zs
// PathfinderMob.noActionTime as int
myPathfinderMob.noActionTime

Return Type: int

noActionTime() as int
script.zs
// PathfinderMob.noActionTime() as int;
myPathfinderMob.noActionTime();

Return Type: int

Getter
script.zs
// PathfinderMob.noAi as bool
myPathfinderMob.noAi

Return Type: bool

Setter
script.zs
// PathfinderMob.noAi = (value as bool);
myPathfinderMob.noAi = myBool;

Parameters:

value Type: bool
Getter
script.zs
// PathfinderMob.offHandItem as ItemStack
myPathfinderMob.offHandItem

Return Type: ItemStack

offHandItem() as ItemStack
script.zs
// PathfinderMob.offHandItem() as ItemStack;
myPathfinderMob.offHandItem();

Return Type: ItemStack

Getter
script.zs
// PathfinderMob.onGround as bool
myPathfinderMob.onGround

Return Type: bool

Getter
script.zs
// PathfinderMob.onPos as BlockPos
myPathfinderMob.onPos

Return Type: BlockPos

onPos() as BlockPos
script.zs
// PathfinderMob.onPos() as BlockPos;
myPathfinderMob.onPos();

Return Type: BlockPos

Getter
script.zs
// PathfinderMob.passengers as List<Entity>
myPathfinderMob.passengers

Return Type: List<Entity>

passengers() as List<Entity>
script.zs
// PathfinderMob.passengers() as List<Entity>;
myPathfinderMob.passengers();

Return Type: List<Entity>

Getter
script.zs
// PathfinderMob.percentFrozen as float
myPathfinderMob.percentFrozen

Return Type: float

percentFrozen() as float
script.zs
// PathfinderMob.percentFrozen() as float;
myPathfinderMob.percentFrozen();

Return Type: float

Getter
script.zs
// PathfinderMob.pistonPushReaction as PushReaction
myPathfinderMob.pistonPushReaction

Return Type: PushReaction

pistonPushReaction() as PushReaction
script.zs
// PathfinderMob.pistonPushReaction() as PushReaction;
myPathfinderMob.pistonPushReaction();

Return Type: PushReaction

playAmbientSound()
script.zs
// PathfinderMob.playAmbientSound();
myPathfinderMob.playAmbientSound();
playSound(sound as SoundEvent, volume as float, pitch as float)
script.zs
// PathfinderMob.playSound(sound as SoundEvent, volume as float, pitch as float);
myPathfinderMob.playSound(mySoundEvent, myFloat, myFloat);

Parameters:

sound Type: SoundEvent
volume Type: float
pitch Type: float
Getter
script.zs
// PathfinderMob.portalWaitTime as int
myPathfinderMob.portalWaitTime

Return Type: int

portalWaitTime() as int
script.zs
// PathfinderMob.portalWaitTime() as int;
myPathfinderMob.portalWaitTime();

Return Type: int

Getter
script.zs
// PathfinderMob.position as Vec3
myPathfinderMob.position

Return Type: Vec3

position() as Vec3
script.zs
// PathfinderMob.position() as Vec3;
myPathfinderMob.position();

Return Type: Vec3

positionRider(entity as Entity)
script.zs
// PathfinderMob.positionRider(entity as Entity);
myPathfinderMob.positionRider(myEntity);

Parameters:

entity Type: Entity
Getter
script.zs
// PathfinderMob.random as RandomSource
myPathfinderMob.random

Return Type: RandomSource

random() as RandomSource
script.zs
// PathfinderMob.random() as RandomSource;
myPathfinderMob.random();

Return Type: RandomSource

Getter
script.zs
// PathfinderMob.registryName as ResourceLocation
myPathfinderMob.registryName

Return Type: ResourceLocation

registryName() as ResourceLocation
script.zs
// PathfinderMob.registryName() as ResourceLocation;
myPathfinderMob.registryName();

Return Type: ResourceLocation

releaseUsingItem()
script.zs
// PathfinderMob.releaseUsingItem();
myPathfinderMob.releaseUsingItem();
Getter
script.zs
// PathfinderMob.remainingFireTicks as int
myPathfinderMob.remainingFireTicks

Return Type: int

remainingFireTicks() as int
script.zs
// PathfinderMob.remainingFireTicks() as int;
myPathfinderMob.remainingFireTicks();

Return Type: int

removeAllEffects() as bool
script.zs
// PathfinderMob.removeAllEffects() as bool;
myPathfinderMob.removeAllEffects();

Return Type: bool

removeEffect(effect as MobEffect) as bool
script.zs
// PathfinderMob.removeEffect(effect as MobEffect) as bool;
myPathfinderMob.removeEffect(myMobEffect);

Parameters:

effect Type: MobEffect

Return Type: bool

removeEffectNoUpdate(effect as MobEffect) as MobEffectInstance
script.zs
// PathfinderMob.removeEffectNoUpdate(effect as MobEffect) as MobEffectInstance;
myPathfinderMob.removeEffectNoUpdate(myMobEffect);

Parameters:

effect Type: MobEffect

Return Type: MobEffectInstance

removeTag(tagName as string) as bool
script.zs
// PathfinderMob.removeTag(tagName as string) as bool;
myPathfinderMob.removeTag(myString);

Parameters:

tagName Type: string

Return Type: bool

removeVehicle()
script.zs
// PathfinderMob.removeVehicle();
myPathfinderMob.removeVehicle();
restrictTo(restrictCenter as BlockPos, restrictRadius as int)
script.zs
// PathfinderMob.restrictTo(restrictCenter as BlockPos, restrictRadius as int);
myPathfinderMob.restrictTo(myBlockPos, myInt);

Parameters:

restrictCenter Type: BlockPos
restrictRadius Type: int
Getter
script.zs
// PathfinderMob.rootVehicle as Entity
myPathfinderMob.rootVehicle

Return Type: Entity

rootVehicle() as Entity
script.zs
// PathfinderMob.rootVehicle() as Entity;
myPathfinderMob.rootVehicle();

Return Type: Entity

Getter
script.zs
// PathfinderMob.scale as float
myPathfinderMob.scale

Return Type: float

scale() as float
script.zs
// PathfinderMob.scale() as float;
myPathfinderMob.scale();

Return Type: float

sendMessage(component as Component)
script.zs
// PathfinderMob.sendMessage(component as Component);
myPathfinderMob.sendMessage(myComponent);

Parameters:

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

Parameters:

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

Parameters:

air Type: int
setArrowCount(count as int)
script.zs
// PathfinderMob.setArrowCount(count as int);
myPathfinderMob.setArrowCount(myInt);

Parameters:

count Type: int
setAttachmentData(type as AttachmentType<T>, data as T) as T?
script.zs
// PathfinderMob.setAttachmentData<T>(type as AttachmentType<T>, data as T) as T?;
myPathfinderMob.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
// PathfinderMob.setAttachmentData<T>(type as Supplier<AttachmentType<T>>, data as T) as T?;
myPathfinderMob.setAttachmentData<T>(mySupplier, myT);

Parameters:

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

Return Type: T?

setCustomName(name as Component)
script.zs
// PathfinderMob.setCustomName(name as Component);
myPathfinderMob.setCustomName(myComponent);

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

discardFriction Type: bool
setDropChance(slot as EquipmentSlot, chance as float)
script.zs
// PathfinderMob.setDropChance(slot as EquipmentSlot, chance as float);
myPathfinderMob.setDropChance(myEquipmentSlot, myFloat);

Parameters:

chance Type: float
setGlowingTag(glowing as bool)
script.zs
// PathfinderMob.setGlowingTag(glowing as bool);
myPathfinderMob.setGlowingTag(myBool);

Parameters:

glowing Type: bool
setGuaranteedDrop(slot as EquipmentSlot)
script.zs
// PathfinderMob.setGuaranteedDrop(slot as EquipmentSlot);
myPathfinderMob.setGuaranteedDrop(myEquipmentSlot);

Parameters:

setHealth(health as float)
script.zs
// PathfinderMob.setHealth(health as float);
myPathfinderMob.setHealth(myFloat);

Parameters:

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

Parameters:

invisible Type: bool
setInvulnerable(invulnerable as bool)
script.zs
// PathfinderMob.setInvulnerable(invulnerable as bool);
myPathfinderMob.setInvulnerable(myBool);

Parameters:

invulnerable Type: bool
setIsInPowderSnow(inPowderSnow as bool)
script.zs
// PathfinderMob.setIsInPowderSnow(inPowderSnow as bool);
myPathfinderMob.setIsInPowderSnow(myBool);

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

entity Type: Entity
setLeashedTo(leashHolder as Entity, broadcastPacket as bool)
script.zs
// PathfinderMob.setLeashedTo(leashHolder as Entity, broadcastPacket as bool);
myPathfinderMob.setLeashedTo(myEntity, myBool);

Parameters:

leashHolder Type: Entity
broadcastPacket Type: bool
setNoActionTime(idleTime as int)
script.zs
// PathfinderMob.setNoActionTime(idleTime as int);
myPathfinderMob.setNoActionTime(myInt);

Parameters:

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

Parameters:

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

Parameters:

onGround Type: bool
setPersistenceRequired()
script.zs
// PathfinderMob.setPersistenceRequired();
myPathfinderMob.setPersistenceRequired();
setPortalCooldown()
script.zs
// PathfinderMob.setPortalCooldown();
myPathfinderMob.setPortalCooldown();
setPos(position as Vec3)
script.zs
// PathfinderMob.setPos(position as Vec3);
myPathfinderMob.setPos(myVec3);

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

setSecondsOnFire(seconds as int)
script.zs
// PathfinderMob.setSecondsOnFire(seconds as int);
myPathfinderMob.setSecondsOnFire(myInt);

Parameters:

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

Parameters:

keyDown Type: bool
setSilent(silent as bool)
script.zs
// PathfinderMob.setSilent(silent as bool);
myPathfinderMob.setSilent(myBool);

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

ticks Type: int
Getter
script.zs
// PathfinderMob.shouldBeSaved as bool
myPathfinderMob.shouldBeSaved

Return Type: bool

shouldBeSaved() as bool
script.zs
// PathfinderMob.shouldBeSaved() as bool;
myPathfinderMob.shouldBeSaved();

Return Type: bool

Getter
script.zs
// PathfinderMob.shouldDiscardFriction as bool
myPathfinderMob.shouldDiscardFriction

Return Type: bool

shouldDiscardFriction() as bool
script.zs
// PathfinderMob.shouldDiscardFriction() as bool;
myPathfinderMob.shouldDiscardFriction();

Return Type: bool

Getter
script.zs
// PathfinderMob.shouldInformAdmins as bool
myPathfinderMob.shouldInformAdmins

Return Type: bool

shouldInformAdmins() as bool
script.zs
// PathfinderMob.shouldInformAdmins() as bool;
myPathfinderMob.shouldInformAdmins();

Return Type: bool

Getter
script.zs
// PathfinderMob.shouldShowName as bool
myPathfinderMob.shouldShowName

Return Type: bool

shouldShowName() as bool
script.zs
// PathfinderMob.shouldShowName() as bool;
myPathfinderMob.shouldShowName();

Return Type: bool

Getter
script.zs
// PathfinderMob.showVehicleHealth as bool
myPathfinderMob.showVehicleHealth

Return Type: bool

showVehicleHealth() as bool
script.zs
// PathfinderMob.showVehicleHealth() as bool;
myPathfinderMob.showVehicleHealth();

Return Type: bool

Getter
script.zs
// PathfinderMob.sleepingPos as BlockPos
myPathfinderMob.sleepingPos

Return Type: BlockPos

sleepingPos() as BlockPos
script.zs
// PathfinderMob.sleepingPos() as BlockPos;
myPathfinderMob.sleepingPos();

Return Type: BlockPos

Getter
script.zs
// PathfinderMob.soundSource as SoundSource
myPathfinderMob.soundSource

Return Type: SoundSource

soundSource() as SoundSource
script.zs
// PathfinderMob.soundSource() as SoundSource;
myPathfinderMob.soundSource();

Return Type: SoundSource

Getter
script.zs
// PathfinderMob.speed as float
myPathfinderMob.speed

Return Type: float

speed() as float
script.zs
// PathfinderMob.speed() as float;
myPathfinderMob.speed();

Return Type: float

startRiding(entity as Entity) as bool
script.zs
// PathfinderMob.startRiding(entity as Entity) as bool;
myPathfinderMob.startRiding(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

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

Parameters:

entity Type: Entity
force Type: bool

Return Type: bool

startSleeping(pos as BlockPos)
script.zs
// PathfinderMob.startSleeping(pos as BlockPos);
myPathfinderMob.startSleeping(myBlockPos);

Parameters:

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

Parameters:

Getter
script.zs
// PathfinderMob.stingerCount as int
myPathfinderMob.stingerCount

Return Type: int

stingerCount() as int
script.zs
// PathfinderMob.stingerCount() as int;
myPathfinderMob.stingerCount();

Return Type: int

stopRiding()
script.zs
// PathfinderMob.stopRiding();
myPathfinderMob.stopRiding();
stopSleeping()
script.zs
// PathfinderMob.stopSleeping();
myPathfinderMob.stopSleeping();
stopUsingItem()
script.zs
// PathfinderMob.stopUsingItem();
myPathfinderMob.stopUsingItem();
Getter
script.zs
// PathfinderMob.stringUUID as string
myPathfinderMob.stringUUID

Return Type: string

stringUUID() as string
script.zs
// PathfinderMob.stringUUID() as string;
myPathfinderMob.stringUUID();

Return Type: string

swing(hand as InteractionHand)
script.zs
// PathfinderMob.swing(hand as InteractionHand);
myPathfinderMob.swing(myInteractionHand);

Parameters:

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

Parameters:

updateSelf Type: bool
Getter
script.zs
// PathfinderMob.tags as Set<string>
myPathfinderMob.tags

Return Type: Set<string>

tags() as Set<string>
script.zs
// PathfinderMob.tags() as Set<string>;
myPathfinderMob.tags();

Return Type: Set<string>

Getter
Gets the current target, or null if not targeting anything.
script.zs
// PathfinderMob.target as LivingEntity
myPathfinderMob.target

Return Type: LivingEntity

Setter
script.zs
// PathfinderMob.target = (target as LivingEntity);
myPathfinderMob.target = myLivingEntity;

Parameters:

target Type: LivingEntity
Getter
script.zs
// PathfinderMob.teamColor as int
myPathfinderMob.teamColor

Return Type: int

teamColor() as int
script.zs
// PathfinderMob.teamColor() as int;
myPathfinderMob.teamColor();

Return Type: int

teleportTo(x as double, y as double, z as double)
script.zs
// PathfinderMob.teleportTo(x as double, y as double, z as double);
myPathfinderMob.teleportTo(myDouble, myDouble, myDouble);

Parameters:

x Type: double
y Type: double
z Type: double
Getter
script.zs
// PathfinderMob.ticksFrozen as int
myPathfinderMob.ticksFrozen

Return Type: int

ticksFrozen() as int
script.zs
// PathfinderMob.ticksFrozen() as int;
myPathfinderMob.ticksFrozen();

Return Type: int

Getter
script.zs
// PathfinderMob.ticksRequiredToFreeze as int
myPathfinderMob.ticksRequiredToFreeze

Return Type: int

ticksRequiredToFreeze() as int
script.zs
// PathfinderMob.ticksRequiredToFreeze() as int;
myPathfinderMob.ticksRequiredToFreeze();

Return Type: int

Getter
script.zs
// PathfinderMob.ticksUsingItem as int
myPathfinderMob.ticksUsingItem

Return Type: int

ticksUsingItem() as int
script.zs
// PathfinderMob.ticksUsingItem() as int;
myPathfinderMob.ticksUsingItem();

Return Type: int

travel(vec as Vec3)
script.zs
// PathfinderMob.travel(vec as Vec3);
myPathfinderMob.travel(myVec3);

Parameters:

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

Parameters:

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

Return Type: EntityType<Entity>

type() as EntityType<Entity>
script.zs
// PathfinderMob.type() as EntityType<Entity>;
myPathfinderMob.type();

Return Type: EntityType<Entity>

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

Parameters:

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

Parameters:

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

Return Type: InteractionHand

usedItemHand() as InteractionHand
script.zs
// PathfinderMob.usedItemHand() as InteractionHand;
myPathfinderMob.usedItemHand();

Return Type: InteractionHand

Getter
script.zs
// PathfinderMob.useItem as ItemStack
myPathfinderMob.useItem

Return Type: ItemStack

useItem() as ItemStack
script.zs
// PathfinderMob.useItem() as ItemStack;
myPathfinderMob.useItem();

Return Type: ItemStack

Getter
script.zs
// PathfinderMob.useItemRemainingTicks as int
myPathfinderMob.useItemRemainingTicks

Return Type: int

useItemRemainingTicks() as int
script.zs
// PathfinderMob.useItemRemainingTicks() as int;
myPathfinderMob.useItemRemainingTicks();

Return Type: int

Getter
script.zs
// PathfinderMob.uuid as UUID
myPathfinderMob.uuid

Return Type: UUID

uuid() as UUID
script.zs
// PathfinderMob.uuid() as UUID;
myPathfinderMob.uuid();

Return Type: UUID

Getter
script.zs
// PathfinderMob.vehicle as Entity
myPathfinderMob.vehicle

Return Type: Entity

vehicle() as Entity
script.zs
// PathfinderMob.vehicle() as Entity;
myPathfinderMob.vehicle();

Return Type: Entity

Getter
script.zs
// PathfinderMob.voicePitch as float
myPathfinderMob.voicePitch

Return Type: float

voicePitch() as float
script.zs
// PathfinderMob.voicePitch() as float;
myPathfinderMob.voicePitch();

Return Type: float

wantsToPickUp(stack as ItemStack) as bool
script.zs
// PathfinderMob.wantsToPickUp(stack as ItemStack) as bool;
myPathfinderMob.wantsToPickUp(myItemStack);

Parameters:

stack Type: ItemStack

Return Type: bool

Getter
script.zs
// PathfinderMob.x as double
myPathfinderMob.x

Return Type: double

x() as double
script.zs
// PathfinderMob.x() as double;
myPathfinderMob.x();

Return Type: double

Getter
script.zs
// PathfinderMob.y as double
myPathfinderMob.y

Return Type: double

y() as double
script.zs
// PathfinderMob.y() as double;
myPathfinderMob.y();

Return Type: double

Getter
script.zs
// PathfinderMob.z as double
myPathfinderMob.z

Return Type: double

z() as double
script.zs
// PathfinderMob.z() as double;
myPathfinderMob.z();

Return Type: double