Home Commands Examples Getting Started With Scripts Global Keywords
BracketDumpers BracketHandlers BracketValidators ResourceLocationBracketHandler

Sheep

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.animal.Sheep;

Extends

Sheep extends Animal.

Implements

Sheep implements the following interfaces:

Shearable,Targeting,Nameable,EntityAccess,CommandSource,IAttachmentHolder

Undocumented Interfaces

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

Members

Getter
script.zs
// Sheep.absorptionAmount as float
mySheep.absorptionAmount

Return Type: float

absorptionAmount() as float
script.zs
// Sheep.absorptionAmount() as float;
mySheep.absorptionAmount();

Return Type: float

Getter
script.zs
// Sheep.acceptsFailure as bool
mySheep.acceptsFailure

Return Type: bool

acceptsFailure() as bool
script.zs
// Sheep.acceptsFailure() as bool;
mySheep.acceptsFailure();

Return Type: bool

Getter
script.zs
// Sheep.acceptsSuccess as bool
mySheep.acceptsSuccess

Return Type: bool

acceptsSuccess() as bool
script.zs
// Sheep.acceptsSuccess() as bool;
mySheep.acceptsSuccess();

Return Type: bool

Getter
script.zs
// Sheep.activeEffects as Collection<MobEffectInstance>
mySheep.activeEffects

Return Type: Collection<MobEffectInstance>

activeEffects() as Collection<MobEffectInstance>
script.zs
// Sheep.activeEffects() as Collection<MobEffectInstance>;
mySheep.activeEffects();

Return Type: Collection<MobEffectInstance>

Getter
script.zs
// Sheep.activeEFfectsMap as MobEffectInstance[MobEffect]
mySheep.activeEFfectsMap

Return Type: MobEffectInstance[MobEffect]

activeEFfectsMap() as MobEffectInstance[MobEffect]
script.zs
// Sheep.activeEFfectsMap() as MobEffectInstance[MobEffect];
mySheep.activeEFfectsMap();

Return Type: MobEffectInstance[MobEffect]

addEffect(effectInstance as MobEffectInstance) as bool
script.zs
// Sheep.addEffect(effectInstance as MobEffectInstance) as bool;
mySheep.addEffect(myMobEffectInstance);

Parameters:

effectInstance Type: MobEffectInstance

Return Type: bool

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

Parameters:

effectInstance Type: MobEffectInstance
entity Type: Entity

Return Type: bool

addTag(tagName as string) as bool
script.zs
// Sheep.addTag(tagName as string) as bool;
mySheep.addTag(myString);

Parameters:

tagName Type: string

Return Type: bool

Getter
script.zs
// Sheep.aggressive as bool
mySheep.aggressive

Return Type: bool

Setter
script.zs
// Sheep.aggressive = (value as bool);
mySheep.aggressive = myBool;

Parameters:

value Type: bool
Getter
script.zs
// Sheep.airSupply as int
mySheep.airSupply

Return Type: int

airSupply() as int
script.zs
// Sheep.airSupply() as int;
mySheep.airSupply();

Return Type: int

Getter
script.zs
// Sheep.allSlots as Iterable<ItemStack>
mySheep.allSlots

Return Type: Iterable<ItemStack>

allSlots() as Iterable<ItemStack>
script.zs
// Sheep.allSlots() as Iterable<ItemStack>;
mySheep.allSlots();

Return Type: Iterable<ItemStack>

Getter
script.zs
// Sheep.alwaysAccepts as bool
mySheep.alwaysAccepts

Return Type: bool

alwaysAccepts() as bool
script.zs
// Sheep.alwaysAccepts() as bool;
mySheep.alwaysAccepts();

Return Type: bool

Getter
script.zs
// Sheep.ambientSoundInterval as int
mySheep.ambientSoundInterval

Return Type: int

Getter
script.zs
// Sheep.armorCoverPercentage as float
mySheep.armorCoverPercentage

Return Type: float

armorCoverPercentage() as float
script.zs
// Sheep.armorCoverPercentage() as float;
mySheep.armorCoverPercentage();

Return Type: float

Getter
script.zs
// Sheep.armorSlots as Iterable<ItemStack>
mySheep.armorSlots

Return Type: Iterable<ItemStack>

armorSlots() as Iterable<ItemStack>
script.zs
// Sheep.armorSlots() as Iterable<ItemStack>;
mySheep.armorSlots();

Return Type: Iterable<ItemStack>

Getter
script.zs
// Sheep.armorValue as int
mySheep.armorValue

Return Type: int

armorValue() as int
script.zs
// Sheep.armorValue() as int;
mySheep.armorValue();

Return Type: int

Getter
script.zs
// Sheep.arrowCount as int
mySheep.arrowCount

Return Type: int

arrowCount() as int
script.zs
// Sheep.arrowCount() as int;
mySheep.arrowCount();

Return Type: int

ate()
script.zs
// Sheep.ate();
mySheep.ate();
Getter
script.zs
// Sheep.attackable as bool
mySheep.attackable

Return Type: bool

attackable() as bool
script.zs
// Sheep.attackable() as bool;
mySheep.attackable();

Return Type: bool

Setter
script.zs
// Sheep.baby = (value as bool);
mySheep.baby = myBool;

Parameters:

value Type: bool
Getter
script.zs
// Sheep.bbHeight as float
mySheep.bbHeight

Return Type: float

bbHeight() as float
script.zs
// Sheep.bbHeight() as float;
mySheep.bbHeight();

Return Type: float

Getter
script.zs
// Sheep.bbWidth as float
mySheep.bbWidth

Return Type: float

bbWidth() as float
script.zs
// Sheep.bbWidth() as float;
mySheep.bbWidth();

Return Type: float

Getter
script.zs
// Sheep.bedOrientation as Direction
mySheep.bedOrientation

Return Type: Direction

bedOrientation() as Direction
script.zs
// Sheep.bedOrientation() as Direction;
mySheep.bedOrientation();

Return Type: Direction

Getter
script.zs
// Sheep.blockPosiion as BlockPos
mySheep.blockPosiion

Return Type: BlockPos

blockPosiion() as BlockPos
script.zs
// Sheep.blockPosiion() as BlockPos;
mySheep.blockPosiion();

Return Type: BlockPos

Getter
script.zs
// Sheep.blockPosition as BlockPos
mySheep.blockPosition

Return Type: BlockPos

blockPosition() as BlockPos
script.zs
// Sheep.blockPosition() as BlockPos;
mySheep.blockPosition();

Return Type: BlockPos

Getter
script.zs
// Sheep.blockX as int
mySheep.blockX

Return Type: int

blockX() as int
script.zs
// Sheep.blockX() as int;
mySheep.blockX();

Return Type: int

Getter
script.zs
// Sheep.blockY as int
mySheep.blockY

Return Type: int

blockY() as int
script.zs
// Sheep.blockY() as int;
mySheep.blockY();

Return Type: int

Getter
script.zs
// Sheep.blockZ as int
mySheep.blockZ

Return Type: int

blockZ() as int
script.zs
// Sheep.blockZ() as int;
mySheep.blockZ();

Return Type: int

Getter
script.zs
// Sheep.boundingBox as AABB
mySheep.boundingBox

Return Type: AABB

boundingBox() as AABB
script.zs
// Sheep.boundingBox() as AABB;
mySheep.boundingBox();

Return Type: AABB

Getter
script.zs
// Sheep.boundingBoxForCulling as AABB
mySheep.boundingBoxForCulling

Return Type: AABB

boundingBoxForCulling() as AABB
script.zs
// Sheep.boundingBoxForCulling() as AABB;
mySheep.boundingBoxForCulling();

Return Type: AABB

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

Parameters:

target Type: LivingEntity

Return Type: bool

canBeAffected(effectInstance as MobEffectInstance) as bool
script.zs
// Sheep.canBeAffected(effectInstance as MobEffectInstance) as bool;
mySheep.canBeAffected(myMobEffectInstance);

Parameters:

effectInstance Type: MobEffectInstance

Return Type: bool

Getter
script.zs
// Sheep.canBeCollidedWith as bool
mySheep.canBeCollidedWith

Return Type: bool

canBeCollidedWith() as bool
script.zs
// Sheep.canBeCollidedWith() as bool;
mySheep.canBeCollidedWith();

Return Type: bool

canBeLeashed(leashHolder as Player) as bool
script.zs
// Sheep.canBeLeashed(leashHolder as Player) as bool;
mySheep.canBeLeashed(myPlayer);

Parameters:

leashHolder Type: Player

Return Type: bool

Getter
script.zs
// Sheep.canBeSeenAsEnemy as bool
mySheep.canBeSeenAsEnemy

Return Type: bool

canBeSeenAsEnemy() as bool
script.zs
// Sheep.canBeSeenAsEnemy() as bool;
mySheep.canBeSeenAsEnemy();

Return Type: bool

Getter
script.zs
// Sheep.canBeSeenByAnyone as bool
mySheep.canBeSeenByAnyone

Return Type: bool

canBeSeenByAnyone() as bool
script.zs
// Sheep.canBeSeenByAnyone() as bool;
mySheep.canBeSeenByAnyone();

Return Type: bool

Getter
script.zs
// Sheep.canBreatheUnderwater as bool
mySheep.canBreatheUnderwater

Return Type: bool

Getter
script.zs
// Sheep.canBreatheUnderwater as bool
mySheep.canBreatheUnderwater

Return Type: bool

canBreatheUnderwater() as bool
script.zs
// Sheep.canBreatheUnderwater() as bool;
mySheep.canBreatheUnderwater();

Return Type: bool

canBreatheUnderwater() as bool
script.zs
// Sheep.canBreatheUnderwater() as bool;
mySheep.canBreatheUnderwater();

Return Type: bool

canCollideWith(other as Entity) as bool
script.zs
// Sheep.canCollideWith(other as Entity) as bool;
mySheep.canCollideWith(myEntity);

Parameters:

other Type: Entity

Return Type: bool

Getter
script.zs
// Sheep.canFAllInLove as bool
mySheep.canFAllInLove

Return Type: bool

canFireProjectileWeapon(weapon as ProjectileWeaponItem) as bool
script.zs
// Sheep.canFireProjectileWeapon(weapon as ProjectileWeaponItem) as bool;
mySheep.canFireProjectileWeapon(myProjectileWeaponItem);

Parameters:

Return Type: bool

Getter
script.zs
// Sheep.canFreeze as bool
mySheep.canFreeze

Return Type: bool

canFreeze() as bool
script.zs
// Sheep.canFreeze() as bool;
mySheep.canFreeze();

Return Type: bool

canHoldItem(stack as ItemStack) as bool
script.zs
// Sheep.canHoldItem(stack as ItemStack) as bool;
mySheep.canHoldItem(myItemStack);

Parameters:

stack Type: ItemStack

Return Type: bool

canMate(other as Animal) as bool
script.zs
// Sheep.canMate(other as Animal) as bool;
mySheep.canMate(myAnimal);

Parameters:

other Type: Animal

Return Type: bool

Getter
script.zs
// Sheep.canPickUpLoot as bool
mySheep.canPickUpLoot

Return Type: bool

Setter
script.zs
// Sheep.canPickUpLoot = (value as bool);
mySheep.canPickUpLoot = myBool;

Parameters:

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

Parameters:

toReplace Type: ItemStack
with Type: ItemStack

Return Type: bool

canStandOnFluid(fluid as Fluid) as bool
script.zs
// Sheep.canStandOnFluid(fluid as Fluid) as bool;
mySheep.canStandOnFluid(myFluid);

Parameters:

fluid Type: Fluid

Return Type: bool

canTakeItem(stack as ItemStack) as bool
script.zs
// Sheep.canTakeItem(stack as ItemStack) as bool;
mySheep.canTakeItem(myItemStack);

Parameters:

stack Type: ItemStack

Return Type: bool

checkSpawnObstruction(level as LevelReader) as bool
script.zs
// Sheep.checkSpawnObstruction(level as LevelReader) as bool;
mySheep.checkSpawnObstruction(myLevelReader);

Parameters:

level Type: LevelReader

Return Type: bool

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

Parameters:

spawnType Type: MobSpawnType

Return Type: bool

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

Parameters:

other Type: Entity
distance Type: double

Return Type: bool

Getter
script.zs
// Sheep.color as DyeColor
mySheep.color

Return Type: DyeColor

Setter
script.zs
// Sheep.color = (color as DyeColor);
mySheep.color = myDyeColor;

Parameters:

color Type: DyeColor
Getter
script.zs
// Sheep.commandSenderWorld as Level
mySheep.commandSenderWorld

Return Type: Level

commandSenderWorld() as Level
script.zs
// Sheep.commandSenderWorld() as Level;
mySheep.commandSenderWorld();

Return Type: Level

Getter
script.zs
// Sheep.controllingPassenger as Entity
mySheep.controllingPassenger

Return Type: Entity

controllingPassenger() as Entity
script.zs
// Sheep.controllingPassenger() as Entity;
mySheep.controllingPassenger();

Return Type: Entity

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

Return Type: MapData

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

Returns: The custom data for this Entity.

script.zs
// Sheep.customData() as MapData;
mySheep.customData();

Return Type: MapData

Getter
script.zs
// Sheep.customName as Component
mySheep.customName

Return Type: Component

Getter
script.zs
// Sheep.customName as Component
mySheep.customName

Return Type: Component

customName() as Component
script.zs
// Sheep.customName() as Component;
mySheep.customName();

Return Type: Component

customName() as Component
script.zs
// Sheep.customName() as Component;
mySheep.customName();

Return Type: Component

Getter
script.zs
// Sheep.dampensVibrations as bool
mySheep.dampensVibrations

Return Type: bool

dampensVibrations() as bool
script.zs
// Sheep.dampensVibrations() as bool;
mySheep.dampensVibrations();

Return Type: bool

Getter
Gets the NBT data of this Entity.
script.zs
// Sheep.data as MapData
mySheep.data

Return Type: MapData

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

Returns: The NBT data of this Entity.

script.zs
// Sheep.data() as MapData;
mySheep.data();

Return Type: MapData

Getter
script.zs
// Sheep.deltaMovement as Vec3
mySheep.deltaMovement

Return Type: Vec3

Setter
script.zs
// Sheep.deltaMovement = (deltaMovement as Vec3);
mySheep.deltaMovement = myVec3;

Parameters:

deltaMovement Type: Vec3
deltaMovement() as Vec3
script.zs
// Sheep.deltaMovement() as Vec3;
mySheep.deltaMovement();

Return Type: Vec3

deltaMovement(deltaMovement as Vec3)
script.zs
// Sheep.deltaMovement(deltaMovement as Vec3);
mySheep.deltaMovement(myVec3);

Parameters:

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

Parameters:

source Type: DamageSource
Getter
script.zs
// Sheep.dimensionChangingDelay as int
mySheep.dimensionChangingDelay

Return Type: int

dimensionChangingDelay() as int
script.zs
// Sheep.dimensionChangingDelay() as int;
mySheep.dimensionChangingDelay();

Return Type: int

Getter
script.zs
// Sheep.direction as Direction
mySheep.direction

Return Type: Direction

direction() as Direction
script.zs
// Sheep.direction() as Direction;
mySheep.direction();

Return Type: Direction

discard()
script.zs
// Sheep.discard();
mySheep.discard();
Getter
script.zs
// Sheep.dismountsUnderwater as bool
mySheep.dismountsUnderwater

Return Type: bool

Getter
script.zs
// Sheep.displayName as Component
mySheep.displayName

Return Type: Component

Getter
script.zs
// Sheep.displayName as Component
mySheep.displayName

Return Type: Component

displayName() as Component
script.zs
// Sheep.displayName() as Component;
mySheep.displayName();

Return Type: Component

displayName() as Component
script.zs
// Sheep.displayName() as Component;
mySheep.displayName();

Return Type: Component

distanceTo(entity as Entity) as float
script.zs
// Sheep.distanceTo(entity as Entity) as float;
mySheep.distanceTo(myEntity);

Parameters:

entity Type: Entity

Return Type: float

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

Parameters:

entity Type: Entity

Return Type: double

distanceToSqr(vec as Vec3) as double
script.zs
// Sheep.distanceToSqr(vec as Vec3) as double;
mySheep.distanceToSqr(myVec3);

Parameters:

vec Type: Vec3

Return Type: double

doHurtTarget(entity as Entity) as bool
script.zs
// Sheep.doHurtTarget(entity as Entity) as bool;
mySheep.doHurtTarget(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

dropLeash(broadcastPacket as bool, dropLeash as bool)
script.zs
// Sheep.dropLeash(broadcastPacket as bool, dropLeash as bool);
mySheep.dropLeash(myBool, myBool);

Parameters:

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

Parameters:

level Type: Level
stack Type: ItemStack

Return Type: ItemStack

ejectPassengers()
script.zs
// Sheep.ejectPassengers();
mySheep.ejectPassengers();
equipItemIfPossible(stack as ItemStack) as ItemStack
script.zs
// Sheep.equipItemIfPossible(stack as ItemStack) as ItemStack;
mySheep.equipItemIfPossible(myItemStack);

Parameters:

stack Type: ItemStack

Return Type: ItemStack

Getter
script.zs
// Sheep.eyeHeight as float
mySheep.eyeHeight

Return Type: float

eyeHeight() as float
script.zs
// Sheep.eyeHeight() as float;
mySheep.eyeHeight();

Return Type: float

Getter
script.zs
// Sheep.eyePosition as Vec3
mySheep.eyePosition

Return Type: Vec3

eyePosition() as Vec3
script.zs
// Sheep.eyePosition() as Vec3;
mySheep.eyePosition();

Return Type: Vec3

Getter
script.zs
// Sheep.eyeY as double
mySheep.eyeY

Return Type: double

eyeY() as double
script.zs
// Sheep.eyeY() as double;
mySheep.eyeY();

Return Type: double

Getter
script.zs
// Sheep.fallFlyingTicks as int
mySheep.fallFlyingTicks

Return Type: int

fallFlyingTicks() as int
script.zs
// Sheep.fallFlyingTicks() as int;
mySheep.fallFlyingTicks();

Return Type: int

Getter
script.zs
// Sheep.feetBlockState as BlockState
mySheep.feetBlockState

Return Type: BlockState

feetBlockState() as BlockState
script.zs
// Sheep.feetBlockState() as BlockState;
mySheep.feetBlockState();

Return Type: BlockState

finalizeSpawnChildFromBreeding(level as ServerLevel, otherParent as Animal, child as AgeableMob)
script.zs
// Sheep.finalizeSpawnChildFromBreeding(level as ServerLevel, otherParent as Animal, child as AgeableMob);
mySheep.finalizeSpawnChildFromBreeding(myServerLevel, myAnimal, myAgeableMob);

Parameters:

level Type: ServerLevel
otherParent Type: Animal
child Type: AgeableMob
Getter
script.zs
// Sheep.fireImmune as bool
mySheep.fireImmune

Return Type: bool

fireImmune() as bool
script.zs
// Sheep.fireImmune() as bool;
mySheep.fireImmune();

Return Type: bool

Getter
script.zs
// Sheep.firstPassenger as Entity
mySheep.firstPassenger

Return Type: Entity

firstPassenger() as Entity
script.zs
// Sheep.firstPassenger() as Entity;
mySheep.firstPassenger();

Return Type: Entity

Getter
script.zs
// Sheep.fluidJumpThreshold as double
mySheep.fluidJumpThreshold

Return Type: double

fluidJumpThreshold() as double
script.zs
// Sheep.fluidJumpThreshold() as double;
mySheep.fluidJumpThreshold();

Return Type: double

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

Parameters:

effectInstance Type: MobEffectInstance
entity Type: Entity
Getter
script.zs
// Sheep.forward as Vec3
mySheep.forward

Return Type: Vec3

forward() as Vec3
script.zs
// Sheep.forward() as Vec3;
mySheep.forward();

Return Type: Vec3

getAttachmentData(type as AttachmentType<T>) as T
script.zs
// Sheep.getAttachmentData<T>(type as AttachmentType<T>) as T;
mySheep.getAttachmentData<T>(myAttachmentType);

Parameters:

type Type: AttachmentType<T>

Return Type: T

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

Parameters:

type Type: Supplier<AttachmentType<T>>

Return Type: T

getAttribute(attribute as Attribute) as AttributeInstance
script.zs
// Sheep.getAttribute(attribute as Attribute) as AttributeInstance;
mySheep.getAttribute(myAttribute);

Parameters:

attribute Type: Attribute

Return Type: AttributeInstance

getAttributeBaseValue(attribute as Attribute) as double
script.zs
// Sheep.getAttributeBaseValue(attribute as Attribute) as double;
mySheep.getAttributeBaseValue(myAttribute);

Parameters:

attribute Type: Attribute

Return Type: double

getAttributeValue(attribute as Attribute) as double
script.zs
// Sheep.getAttributeValue(attribute as Attribute) as double;
mySheep.getAttributeValue(myAttribute);

Parameters:

attribute Type: Attribute

Return Type: double

getEffect(effect as MobEffect) as MobEffectInstance
script.zs
// Sheep.getEffect(effect as MobEffect) as MobEffectInstance;
mySheep.getEffect(myMobEffect);

Parameters:

effect Type: MobEffect

Return Type: MobEffectInstance

getEyePosition(partialTicks as float) as Vec3
script.zs
// Sheep.getEyePosition(partialTicks as float) as Vec3;
mySheep.getEyePosition(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getHeadEatAngleScale(partialTick as float) as float
script.zs
// Sheep.getHeadEatAngleScale(partialTick as float) as float;
mySheep.getHeadEatAngleScale(myFloat);

Parameters:

partialTick Type: float

Return Type: float

getHeadEatPositionScale(partialTick as float) as float
script.zs
// Sheep.getHeadEatPositionScale(partialTick as float) as float;
mySheep.getHeadEatPositionScale(myFloat);

Parameters:

partialTick Type: float

Return Type: float

getItemBySlot(slot as EquipmentSlot) as ItemStack
script.zs
// Sheep.getItemBySlot(slot as EquipmentSlot) as ItemStack;
mySheep.getItemBySlot(myEquipmentSlot);

Parameters:

Return Type: ItemStack

getItemInHand(hand as InteractionHand) as ItemStack
script.zs
// Sheep.getItemInHand(hand as InteractionHand) as ItemStack;
mySheep.getItemInHand(myInteractionHand);

Parameters:

Return Type: ItemStack

getPosition(partialTicks as float) as Vec3
script.zs
// Sheep.getPosition(partialTicks as float) as Vec3;
mySheep.getPosition(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

Getter
script.zs
// Sheep.getRestrictCenter as BlockPos
mySheep.getRestrictCenter

Return Type: BlockPos

Getter
script.zs
// Sheep.getRestrictCenter as Entity
mySheep.getRestrictCenter

Return Type: Entity

Getter
script.zs
// Sheep.getRestrictRadius as float
mySheep.getRestrictRadius

Return Type: float

getSwimAmount(partialTicks as float) as float
script.zs
// Sheep.getSwimAmount(partialTicks as float) as float;
mySheep.getSwimAmount(myFloat);

Parameters:

partialTicks Type: float

Return Type: float

getUpVector(partialTicks as float) as Vec3
script.zs
// Sheep.getUpVector(partialTicks as float) as Vec3;
mySheep.getUpVector(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getViewVector(partialTicks as float) as Vec3
script.zs
// Sheep.getViewVector(partialTicks as float) as Vec3;
mySheep.getViewVector(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getVisibilityPercent(lookingEntity as Entity) as double
script.zs
// Sheep.getVisibilityPercent(lookingEntity as Entity) as double;
mySheep.getVisibilityPercent(myEntity);

Parameters:

lookingEntity Type: Entity

Return Type: double

getX(scale as double) as double
script.zs
// Sheep.getX(scale as double) as double;
mySheep.getX(myDouble);

Parameters:

scale Type: double

Return Type: double

getY(scale as double) as double
script.zs
// Sheep.getY(scale as double) as double;
mySheep.getY(myDouble);

Parameters:

scale Type: double

Return Type: double

getZ(scale as double) as double
script.zs
// Sheep.getZ(scale as double) as double;
mySheep.getZ(myDouble);

Parameters:

scale Type: double

Return Type: double

Getter
script.zs
// Sheep.handSlots as Iterable<ItemStack>
mySheep.handSlots

Return Type: Iterable<ItemStack>

handSlots() as Iterable<ItemStack>
script.zs
// Sheep.handSlots() as Iterable<ItemStack>;
mySheep.handSlots();

Return Type: Iterable<ItemStack>

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

Parameters:

type Type: AttachmentType<T>

Return Type: bool

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

Parameters:

type Type: Supplier<AttachmentType<T>>

Return Type: bool

Getter
script.zs
// Sheep.hasCustomName as bool
mySheep.hasCustomName

Return Type: bool

Getter
script.zs
// Sheep.hasCustomName as bool
mySheep.hasCustomName

Return Type: bool

hasCustomName() as bool
script.zs
// Sheep.hasCustomName() as bool;
mySheep.hasCustomName();

Return Type: bool

hasCustomName() as bool
script.zs
// Sheep.hasCustomName() as bool;
mySheep.hasCustomName();

Return Type: bool

hasEffect(effect as MobEffect) as bool
script.zs
// Sheep.hasEffect(effect as MobEffect) as bool;
mySheep.hasEffect(myMobEffect);

Parameters:

effect Type: MobEffect

Return Type: bool

Getter
script.zs
// Sheep.hasExactlyOnePlayerPassenger as bool
mySheep.hasExactlyOnePlayerPassenger

Return Type: bool

hasExactlyOnePlayerPassenger() as bool
script.zs
// Sheep.hasExactlyOnePlayerPassenger() as bool;
mySheep.hasExactlyOnePlayerPassenger();

Return Type: bool

Getter
script.zs
// Sheep.hasGlowingTag as bool
mySheep.hasGlowingTag

Return Type: bool

hasGlowingTag() as bool
script.zs
// Sheep.hasGlowingTag() as bool;
mySheep.hasGlowingTag();

Return Type: bool

hasIndirectPassenger(entity as Entity) as bool
script.zs
// Sheep.hasIndirectPassenger(entity as Entity) as bool;
mySheep.hasIndirectPassenger(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

hasItemInSlot(slot as EquipmentSlot) as bool
script.zs
// Sheep.hasItemInSlot(slot as EquipmentSlot) as bool;
mySheep.hasItemInSlot(myEquipmentSlot);

Parameters:

Return Type: bool

hasLineOfSight(entity as Entity) as bool
script.zs
// Sheep.hasLineOfSight(entity as Entity) as bool;
mySheep.hasLineOfSight(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

hasPassenger(entity as Entity) as bool
script.zs
// Sheep.hasPassenger(entity as Entity) as bool;
mySheep.hasPassenger(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

hasPassenger(predicate as function(t as Entity) as bool) as bool
script.zs
// Sheep.hasPassenger(predicate as function(t as Entity) as bool) as bool;
mySheep.hasPassenger(myPredicate);

Parameters:

predicate Type: function(t as Entity) as bool

Return Type: bool

Getter
script.zs
// Sheep.hasRestriction as bool
mySheep.hasRestriction

Return Type: bool

heal(amount as float)
script.zs
// Sheep.heal(amount as float);
mySheep.heal(myFloat);

Parameters:

amount Type: float
Getter
script.zs
// Sheep.health as float
mySheep.health

Return Type: float

health() as float
script.zs
// Sheep.health() as float;
mySheep.health();

Return Type: float

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

Parameters:

source Type: DamageSource
amount Type: float

Return Type: bool

Getter
script.zs
// Sheep.id as int
mySheep.id

Return Type: int

id() as int
script.zs
// Sheep.id() as int;
mySheep.id();

Return Type: int

Getter
script.zs
// Sheep.inLoveTime as int
mySheep.inLoveTime

Return Type: int

Setter
script.zs
// Sheep.inLoveTime = (inLove as int);
mySheep.inLoveTime = myInt;

Parameters:

inLove Type: int
Getter
script.zs
// Sheep.isAffectedByPotions as bool
mySheep.isAffectedByPotions

Return Type: bool

isAffectedByPotions() as bool
script.zs
// Sheep.isAffectedByPotions() as bool;
mySheep.isAffectedByPotions();

Return Type: bool

Getter
script.zs
// Sheep.isAlive as bool
mySheep.isAlive

Return Type: bool

isAlive() as bool
script.zs
// Sheep.isAlive() as bool;
mySheep.isAlive();

Return Type: bool

Getter
script.zs
// Sheep.isAlwaysTicking as bool
mySheep.isAlwaysTicking

Return Type: bool

isAlwaysTicking() as bool
script.zs
// Sheep.isAlwaysTicking() as bool;
mySheep.isAlwaysTicking();

Return Type: bool

Getter
script.zs
// Sheep.isAttackable as bool
mySheep.isAttackable

Return Type: bool

isAttackable() as bool
script.zs
// Sheep.isAttackable() as bool;
mySheep.isAttackable();

Return Type: bool

Getter
script.zs
// Sheep.isAutoSpinAttack as bool
mySheep.isAutoSpinAttack

Return Type: bool

isAutoSpinAttack() as bool
script.zs
// Sheep.isAutoSpinAttack() as bool;
mySheep.isAutoSpinAttack();

Return Type: bool

Getter
script.zs
// Sheep.isBaby as bool
mySheep.isBaby

Return Type: bool

isBaby() as bool
script.zs
// Sheep.isBaby() as bool;
mySheep.isBaby();

Return Type: bool

Getter
script.zs
// Sheep.isBlocking as bool
mySheep.isBlocking

Return Type: bool

isBlocking() as bool
script.zs
// Sheep.isBlocking() as bool;
mySheep.isBlocking();

Return Type: bool

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

Parameters:

pos Type: BlockPos
state Type: BlockState

Return Type: bool

Getter
script.zs
// Sheep.isCrouching as bool
mySheep.isCrouching

Return Type: bool

isCrouching() as bool
script.zs
// Sheep.isCrouching() as bool;
mySheep.isCrouching();

Return Type: bool

Getter
script.zs
// Sheep.isCurrentlyGlowing as bool
mySheep.isCurrentlyGlowing

Return Type: bool

Getter
script.zs
// Sheep.isCurrentlyGlowing as bool
mySheep.isCurrentlyGlowing

Return Type: bool

isCurrentlyGlowing() as bool
script.zs
// Sheep.isCurrentlyGlowing() as bool;
mySheep.isCurrentlyGlowing();

Return Type: bool

isCurrentlyGlowing() as bool
script.zs
// Sheep.isCurrentlyGlowing() as bool;
mySheep.isCurrentlyGlowing();

Return Type: bool

Getter
script.zs
// Sheep.isCustomNameVisible as bool
mySheep.isCustomNameVisible

Return Type: bool

isCustomNameVisible() as bool
script.zs
// Sheep.isCustomNameVisible() as bool;
mySheep.isCustomNameVisible();

Return Type: bool

isDamageSourceBlocked(source as DamageSource) as bool
script.zs
// Sheep.isDamageSourceBlocked(source as DamageSource) as bool;
mySheep.isDamageSourceBlocked(myDamageSource);

Parameters:

source Type: DamageSource

Return Type: bool

Getter
script.zs
// Sheep.isDeadOrDying as bool
mySheep.isDeadOrDying

Return Type: bool

isDeadOrDying() as bool
script.zs
// Sheep.isDeadOrDying() as bool;
mySheep.isDeadOrDying();

Return Type: bool

Getter
script.zs
// Sheep.isDescending as bool
mySheep.isDescending

Return Type: bool

isDescending() as bool
script.zs
// Sheep.isDescending() as bool;
mySheep.isDescending();

Return Type: bool

Getter
script.zs
// Sheep.isDiscrete as bool
mySheep.isDiscrete

Return Type: bool

isDiscrete() as bool
script.zs
// Sheep.isDiscrete() as bool;
mySheep.isDiscrete();

Return Type: bool

Getter
script.zs
// Sheep.isFallFlying as bool
mySheep.isFallFlying

Return Type: bool

isFallFlying() as bool
script.zs
// Sheep.isFallFlying() as bool;
mySheep.isFallFlying();

Return Type: bool

isFood(stack as ItemStack) as bool
script.zs
// Sheep.isFood(stack as ItemStack) as bool;
mySheep.isFood(myItemStack);

Parameters:

stack Type: ItemStack

Return Type: bool

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

Parameters:

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

Return Type: bool

Getter
script.zs
// Sheep.isFullyFrozen as bool
mySheep.isFullyFrozen

Return Type: bool

isFullyFrozen() as bool
script.zs
// Sheep.isFullyFrozen() as bool;
mySheep.isFullyFrozen();

Return Type: bool

isHolding(item as Item) as bool
script.zs
// Sheep.isHolding(item as Item) as bool;
mySheep.isHolding(myItem);

Parameters:

Return Type: bool

isHolding(predicate as function(t as ItemStack) as bool) as bool
script.zs
// Sheep.isHolding(predicate as function(t as ItemStack) as bool) as bool;
mySheep.isHolding(myPredicate);

Parameters:

predicate Type: function(t as ItemStack) as bool

Return Type: bool

Getter
script.zs
// Sheep.isInLava as bool
mySheep.isInLava

Return Type: bool

isInLava() as bool
script.zs
// Sheep.isInLava() as bool;
mySheep.isInLava();

Return Type: bool

Getter
script.zs
// Sheep.isInLove as bool
mySheep.isInLove

Return Type: bool

Getter
script.zs
// Sheep.isInvertedHealAndHarm as bool
mySheep.isInvertedHealAndHarm

Return Type: bool

isInvertedHealAndHarm() as bool
script.zs
// Sheep.isInvertedHealAndHarm() as bool;
mySheep.isInvertedHealAndHarm();

Return Type: bool

Getter
script.zs
// Sheep.isInvisible as bool
mySheep.isInvisible

Return Type: bool

isInvisible() as bool
script.zs
// Sheep.isInvisible() as bool;
mySheep.isInvisible();

Return Type: bool

isInvisibleTo(player as Player) as bool
script.zs
// Sheep.isInvisibleTo(player as Player) as bool;
mySheep.isInvisibleTo(myPlayer);

Parameters:

player Type: Player

Return Type: bool

Getter
script.zs
// Sheep.isInvulnerable as bool
mySheep.isInvulnerable

Return Type: bool

isInvulnerable() as bool
script.zs
// Sheep.isInvulnerable() as bool;
mySheep.isInvulnerable();

Return Type: bool

isInvulnerableTo(source as DamageSource) as bool
script.zs
// Sheep.isInvulnerableTo(source as DamageSource) as bool;
mySheep.isInvulnerableTo(myDamageSource);

Parameters:

source Type: DamageSource

Return Type: bool

Getter
script.zs
// Sheep.isInWall as bool
mySheep.isInWall

Return Type: bool

isInWall() as bool
script.zs
// Sheep.isInWall() as bool;
mySheep.isInWall();

Return Type: bool

Getter
script.zs
// Sheep.isInWater as bool
mySheep.isInWater

Return Type: bool

isInWater() as bool
script.zs
// Sheep.isInWater() as bool;
mySheep.isInWater();

Return Type: bool

Getter
script.zs
// Sheep.isInWaterOrBubble as bool
mySheep.isInWaterOrBubble

Return Type: bool

isInWaterOrBubble() as bool
script.zs
// Sheep.isInWaterOrBubble() as bool;
mySheep.isInWaterOrBubble();

Return Type: bool

Getter
script.zs
// Sheep.isInWaterOrRain as bool
mySheep.isInWaterOrRain

Return Type: bool

isInWaterOrRain() as bool
script.zs
// Sheep.isInWaterOrRain() as bool;
mySheep.isInWaterOrRain();

Return Type: bool

Getter
script.zs
// Sheep.isInWaterRainOrBubble as bool
mySheep.isInWaterRainOrBubble

Return Type: bool

isInWaterRainOrBubble() as bool
script.zs
// Sheep.isInWaterRainOrBubble() as bool;
mySheep.isInWaterRainOrBubble();

Return Type: bool

isMaxGroupSizeReached(size as int) as bool
script.zs
// Sheep.isMaxGroupSizeReached(size as int) as bool;
mySheep.isMaxGroupSizeReached(myInt);

Parameters:

size Type: int

Return Type: bool

Getter
script.zs
// Sheep.isNoGravity as bool
mySheep.isNoGravity

Return Type: bool

isNoGravity() as bool
script.zs
// Sheep.isNoGravity() as bool;
mySheep.isNoGravity();

Return Type: bool

Getter
script.zs
// Sheep.isOnFire as bool
mySheep.isOnFire

Return Type: bool

isOnFire() as bool
script.zs
// Sheep.isOnFire() as bool;
mySheep.isOnFire();

Return Type: bool

Getter
script.zs
// Sheep.isOnPortalCooldown as bool
mySheep.isOnPortalCooldown

Return Type: bool

isOnPortalCooldown() as bool
script.zs
// Sheep.isOnPortalCooldown() as bool;
mySheep.isOnPortalCooldown();

Return Type: bool

Getter
script.zs
// Sheep.isPassenger as bool
mySheep.isPassenger

Return Type: bool

isPassenger() as bool
script.zs
// Sheep.isPassenger() as bool;
mySheep.isPassenger();

Return Type: bool

isPassengerOfSameVehicle(entity as Entity) as bool
script.zs
// Sheep.isPassengerOfSameVehicle(entity as Entity) as bool;
mySheep.isPassengerOfSameVehicle(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

Getter
script.zs
// Sheep.isPersistenceRequired as bool
mySheep.isPersistenceRequired

Return Type: bool

Getter
script.zs
// Sheep.isPickable as bool
mySheep.isPickable

Return Type: bool

isPickable() as bool
script.zs
// Sheep.isPickable() as bool;
mySheep.isPickable();

Return Type: bool

Getter
script.zs
// Sheep.isPushable as bool
mySheep.isPushable

Return Type: bool

isPushable() as bool
script.zs
// Sheep.isPushable() as bool;
mySheep.isPushable();

Return Type: bool

Getter
script.zs
// Sheep.isPushedByFluid as bool
mySheep.isPushedByFluid

Return Type: bool

isPushedByFluid() as bool
script.zs
// Sheep.isPushedByFluid() as bool;
mySheep.isPushedByFluid();

Return Type: bool

Getter
script.zs
// Sheep.isRemoved as bool
mySheep.isRemoved

Return Type: bool

isRemoved() as bool
script.zs
// Sheep.isRemoved() as bool;
mySheep.isRemoved();

Return Type: bool

Getter
script.zs
// Sheep.isSensitiveToWater as bool
mySheep.isSensitiveToWater

Return Type: bool

isSensitiveToWater() as bool
script.zs
// Sheep.isSensitiveToWater() as bool;
mySheep.isSensitiveToWater();

Return Type: bool

Getter
script.zs
// Sheep.isShiftKeyDown as bool
mySheep.isShiftKeyDown

Return Type: bool

isShiftKeyDown() as bool
script.zs
// Sheep.isShiftKeyDown() as bool;
mySheep.isShiftKeyDown();

Return Type: bool

Getter
script.zs
// Sheep.isSilent as bool
mySheep.isSilent

Return Type: bool

isSilent() as bool
script.zs
// Sheep.isSilent() as bool;
mySheep.isSilent();

Return Type: bool

Getter
script.zs
// Sheep.isSleeping as bool
mySheep.isSleeping

Return Type: bool

isSleeping() as bool
script.zs
// Sheep.isSleeping() as bool;
mySheep.isSleeping();

Return Type: bool

Getter
script.zs
// Sheep.isSpectator as bool
mySheep.isSpectator

Return Type: bool

isSpectator() as bool
script.zs
// Sheep.isSpectator() as bool;
mySheep.isSpectator();

Return Type: bool

Getter
script.zs
// Sheep.isSprinting as bool
mySheep.isSprinting

Return Type: bool

isSprinting() as bool
script.zs
// Sheep.isSprinting() as bool;
mySheep.isSprinting();

Return Type: bool

Getter
script.zs
// Sheep.isSteppingCarefully as bool
mySheep.isSteppingCarefully

Return Type: bool

isSteppingCarefully() as bool
script.zs
// Sheep.isSteppingCarefully() as bool;
mySheep.isSteppingCarefully();

Return Type: bool

Getter
script.zs
// Sheep.isSuppressingBounce as bool
mySheep.isSuppressingBounce

Return Type: bool

isSuppressingBounce() as bool
script.zs
// Sheep.isSuppressingBounce() as bool;
mySheep.isSuppressingBounce();

Return Type: bool

Getter
script.zs
// Sheep.isSuppressingSlidingDownLadder as bool
mySheep.isSuppressingSlidingDownLadder

Return Type: bool

isSuppressingSlidingDownLadder() as bool
script.zs
// Sheep.isSuppressingSlidingDownLadder() as bool;
mySheep.isSuppressingSlidingDownLadder();

Return Type: bool

Getter
script.zs
// Sheep.isSwimming as bool
mySheep.isSwimming

Return Type: bool

isSwimming() as bool
script.zs
// Sheep.isSwimming() as bool;
mySheep.isSwimming();

Return Type: bool

Getter
script.zs
// Sheep.isUnderWater as bool
mySheep.isUnderWater

Return Type: bool

isUnderWater() as bool
script.zs
// Sheep.isUnderWater() as bool;
mySheep.isUnderWater();

Return Type: bool

Getter
script.zs
// Sheep.isUsingItem as bool
mySheep.isUsingItem

Return Type: bool

isUsingItem() as bool
script.zs
// Sheep.isUsingItem() as bool;
mySheep.isUsingItem();

Return Type: bool

Getter
script.zs
// Sheep.isVehicle as bool
mySheep.isVehicle

Return Type: bool

isVehicle() as bool
script.zs
// Sheep.isVehicle() as bool;
mySheep.isVehicle();

Return Type: bool

Getter
script.zs
// Sheep.isVisuallyCrawling as bool
mySheep.isVisuallyCrawling

Return Type: bool

isVisuallyCrawling() as bool
script.zs
// Sheep.isVisuallyCrawling() as bool;
mySheep.isVisuallyCrawling();

Return Type: bool

Getter
script.zs
// Sheep.isVisuallySwimming as bool
mySheep.isVisuallySwimming

Return Type: bool

Getter
script.zs
// Sheep.isVisuallySwimming as bool
mySheep.isVisuallySwimming

Return Type: bool

isVisuallySwimming() as bool
script.zs
// Sheep.isVisuallySwimming() as bool;
mySheep.isVisuallySwimming();

Return Type: bool

isVisuallySwimming() as bool
script.zs
// Sheep.isVisuallySwimming() as bool;
mySheep.isVisuallySwimming();

Return Type: bool

isWithinMeleeAttackRange(entity as LivingEntity) as bool
script.zs
// Sheep.isWithinMeleeAttackRange(entity as LivingEntity) as bool;
mySheep.isWithinMeleeAttackRange(myLivingEntity);

Parameters:

entity Type: LivingEntity

Return Type: bool

Getter
script.zs
// Sheep.isWithinRestriction as bool
mySheep.isWithinRestriction

Return Type: bool

isWithinRestriction(position as BlockPos) as bool
script.zs
// Sheep.isWithinRestriction(position as BlockPos) as bool;
mySheep.isWithinRestriction(myBlockPos);

Parameters:

position Type: BlockPos

Return Type: bool

Getter
script.zs
// Sheep.jumpBoostPower as double
mySheep.jumpBoostPower

Return Type: double

jumpBoostPower() as double
script.zs
// Sheep.jumpBoostPower() as double;
mySheep.jumpBoostPower();

Return Type: double

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

Return Type: LivingEntity

killCredit() as LivingEntity
script.zs
// Sheep.killCredit() as LivingEntity;
mySheep.killCredit();

Return Type: LivingEntity

knockback(x as double, y as double, z as double)
script.zs
// Sheep.knockback(x as double, y as double, z as double);
mySheep.knockback(myDouble, myDouble, myDouble);

Parameters:

x Type: double
y Type: double
z Type: double
Getter
script.zs
// Sheep.lastClimbablePos as BlockPos
mySheep.lastClimbablePos

Return Type: BlockPos

lastClimbablePos() as BlockPos
script.zs
// Sheep.lastClimbablePos() as BlockPos;
mySheep.lastClimbablePos();

Return Type: BlockPos

Getter
script.zs
// Sheep.lastDamageSource as DamageSource
mySheep.lastDamageSource

Return Type: DamageSource

lastDamageSource() as DamageSource
script.zs
// Sheep.lastDamageSource() as DamageSource;
mySheep.lastDamageSource();

Return Type: DamageSource

Getter
script.zs
// Sheep.lastHurtByMob as LivingEntity
mySheep.lastHurtByMob

Return Type: LivingEntity

lastHurtByMob() as LivingEntity
script.zs
// Sheep.lastHurtByMob() as LivingEntity;
mySheep.lastHurtByMob();

Return Type: LivingEntity

Getter
script.zs
// Sheep.lastHurtByMobTimestamp as int
mySheep.lastHurtByMobTimestamp

Return Type: int

lastHurtByMobTimestamp() as int
script.zs
// Sheep.lastHurtByMobTimestamp() as int;
mySheep.lastHurtByMobTimestamp();

Return Type: int

Getter
script.zs
// Sheep.lastHurtMob as LivingEntity
mySheep.lastHurtMob

Return Type: LivingEntity

lastHurtMob() as LivingEntity
script.zs
// Sheep.lastHurtMob() as LivingEntity;
mySheep.lastHurtMob();

Return Type: LivingEntity

Getter
script.zs
// Sheep.lastHurtMobTimestamp as int
mySheep.lastHurtMobTimestamp

Return Type: int

lastHurtMobTimestamp() as int
script.zs
// Sheep.lastHurtMobTimestamp() as int;
mySheep.lastHurtMobTimestamp();

Return Type: int

lavaHurt()
script.zs
// Sheep.lavaHurt();
mySheep.lavaHurt();
Getter
script.zs
// Sheep.leashed as bool
mySheep.leashed

Return Type: bool

Getter
script.zs
// Sheep.leftHanded as bool
mySheep.leftHanded

Return Type: bool

Setter
script.zs
// Sheep.leftHanded = (value as bool);
mySheep.leftHanded = myBool;

Parameters:

value Type: bool
Getter
script.zs
// Sheep.level as Level
mySheep.level

Return Type: Level

Getter
script.zs
// Sheep.lookAngle as Vec3
mySheep.lookAngle

Return Type: Vec3

lookAngle() as Vec3
script.zs
// Sheep.lookAngle() as Vec3;
mySheep.lookAngle();

Return Type: Vec3

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

Parameters:

entity Type: Entity
maxXRotIncrease Type: float
maxYRotIncrease Type: float
Getter
script.zs
// Sheep.lootTable as ResourceLocation
mySheep.lootTable

Return Type: ResourceLocation

lootTable() as ResourceLocation
script.zs
// Sheep.lootTable() as ResourceLocation;
mySheep.lootTable();

Return Type: ResourceLocation

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

Return Type: long

Getter
script.zs
// Sheep.loveCause as ServerPlayer
mySheep.loveCause

Return Type: ServerPlayer

Getter
script.zs
// Sheep.mainArm as HumanoidArm
mySheep.mainArm

Return Type: HumanoidArm

mainArm() as HumanoidArm
script.zs
// Sheep.mainArm() as HumanoidArm;
mySheep.mainArm();

Return Type: HumanoidArm

Getter
script.zs
// Sheep.mainHandItem as ItemStack
mySheep.mainHandItem

Return Type: ItemStack

mainHandItem() as ItemStack
script.zs
// Sheep.mainHandItem() as ItemStack;
mySheep.mainHandItem();

Return Type: ItemStack

Getter
script.zs
// Sheep.maxAirSupply as int
mySheep.maxAirSupply

Return Type: int

maxAirSupply() as int
script.zs
// Sheep.maxAirSupply() as int;
mySheep.maxAirSupply();

Return Type: int

Getter
script.zs
// Sheep.maxFallDistance as int
mySheep.maxFallDistance

Return Type: int

maxFallDistance() as int
script.zs
// Sheep.maxFallDistance() as int;
mySheep.maxFallDistance();

Return Type: int

Getter
script.zs
// Sheep.maxHeadRotSpeed as int
mySheep.maxHeadRotSpeed

Return Type: int

Getter
script.zs
// Sheep.maxHeadXRot as int
mySheep.maxHeadXRot

Return Type: int

Getter
script.zs
// Sheep.maxHeadYRot as int
mySheep.maxHeadYRot

Return Type: int

Getter
script.zs
// Sheep.maxHealth as float
mySheep.maxHealth

Return Type: float

maxHealth() as float
script.zs
// Sheep.maxHealth() as float;
mySheep.maxHealth();

Return Type: float

Getter
script.zs
// Sheep.maxSpawnClusterSize as int
mySheep.maxSpawnClusterSize

Return Type: int

Getter
script.zs
// Sheep.mobType as MobType
mySheep.mobType

Return Type: MobType

mobType() as MobType
script.zs
// Sheep.mobType() as MobType;
mySheep.mobType();

Return Type: MobType

Getter
script.zs
// Sheep.motionDirection as Direction
mySheep.motionDirection

Return Type: Direction

motionDirection() as Direction
script.zs
// Sheep.motionDirection() as Direction;
mySheep.motionDirection();

Return Type: Direction

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

Parameters:

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

Parameters:

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

Return Type: Component

Getter
script.zs
// Sheep.name as Component
mySheep.name

Return Type: Component

name() as Component
script.zs
// Sheep.name() as Component;
mySheep.name();

Return Type: Component

name() as Component
script.zs
// Sheep.name() as Component;
mySheep.name();

Return Type: Component

Getter
script.zs
// Sheep.noActionTime as int
mySheep.noActionTime

Return Type: int

noActionTime() as int
script.zs
// Sheep.noActionTime() as int;
mySheep.noActionTime();

Return Type: int

Getter
script.zs
// Sheep.noAi as bool
mySheep.noAi

Return Type: bool

Setter
script.zs
// Sheep.noAi = (value as bool);
mySheep.noAi = myBool;

Parameters:

value Type: bool
Getter
script.zs
// Sheep.offHandItem as ItemStack
mySheep.offHandItem

Return Type: ItemStack

offHandItem() as ItemStack
script.zs
// Sheep.offHandItem() as ItemStack;
mySheep.offHandItem();

Return Type: ItemStack

Getter
script.zs
// Sheep.onGround as bool
mySheep.onGround

Return Type: bool

Getter
script.zs
// Sheep.onPos as BlockPos
mySheep.onPos

Return Type: BlockPos

onPos() as BlockPos
script.zs
// Sheep.onPos() as BlockPos;
mySheep.onPos();

Return Type: BlockPos

Getter
script.zs
// Sheep.passengers as List<Entity>
mySheep.passengers

Return Type: List<Entity>

passengers() as List<Entity>
script.zs
// Sheep.passengers() as List<Entity>;
mySheep.passengers();

Return Type: List<Entity>

Getter
script.zs
// Sheep.percentFrozen as float
mySheep.percentFrozen

Return Type: float

percentFrozen() as float
script.zs
// Sheep.percentFrozen() as float;
mySheep.percentFrozen();

Return Type: float

Getter
script.zs
// Sheep.pistonPushReaction as PushReaction
mySheep.pistonPushReaction

Return Type: PushReaction

pistonPushReaction() as PushReaction
script.zs
// Sheep.pistonPushReaction() as PushReaction;
mySheep.pistonPushReaction();

Return Type: PushReaction

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

Parameters:

sound Type: SoundEvent
volume Type: float
pitch Type: float
Getter
script.zs
// Sheep.portalWaitTime as int
mySheep.portalWaitTime

Return Type: int

portalWaitTime() as int
script.zs
// Sheep.portalWaitTime() as int;
mySheep.portalWaitTime();

Return Type: int

Getter
script.zs
// Sheep.position as Vec3
mySheep.position

Return Type: Vec3

position() as Vec3
script.zs
// Sheep.position() as Vec3;
mySheep.position();

Return Type: Vec3

positionRider(entity as Entity)
script.zs
// Sheep.positionRider(entity as Entity);
mySheep.positionRider(myEntity);

Parameters:

entity Type: Entity
Getter
script.zs
// Sheep.random as RandomSource
mySheep.random

Return Type: RandomSource

random() as RandomSource
script.zs
// Sheep.random() as RandomSource;
mySheep.random();

Return Type: RandomSource

Getter
script.zs
// Sheep.readyForShearing as bool
mySheep.readyForShearing

Return Type: bool

Getter
script.zs
// Sheep.registryName as ResourceLocation
mySheep.registryName

Return Type: ResourceLocation

registryName() as ResourceLocation
script.zs
// Sheep.registryName() as ResourceLocation;
mySheep.registryName();

Return Type: ResourceLocation

releaseUsingItem()
script.zs
// Sheep.releaseUsingItem();
mySheep.releaseUsingItem();
Getter
script.zs
// Sheep.remainingFireTicks as int
mySheep.remainingFireTicks

Return Type: int

remainingFireTicks() as int
script.zs
// Sheep.remainingFireTicks() as int;
mySheep.remainingFireTicks();

Return Type: int

removeAllEffects() as bool
script.zs
// Sheep.removeAllEffects() as bool;
mySheep.removeAllEffects();

Return Type: bool

removeEffect(effect as MobEffect) as bool
script.zs
// Sheep.removeEffect(effect as MobEffect) as bool;
mySheep.removeEffect(myMobEffect);

Parameters:

effect Type: MobEffect

Return Type: bool

removeEffectNoUpdate(effect as MobEffect) as MobEffectInstance
script.zs
// Sheep.removeEffectNoUpdate(effect as MobEffect) as MobEffectInstance;
mySheep.removeEffectNoUpdate(myMobEffect);

Parameters:

effect Type: MobEffect

Return Type: MobEffectInstance

removeTag(tagName as string) as bool
script.zs
// Sheep.removeTag(tagName as string) as bool;
mySheep.removeTag(myString);

Parameters:

tagName Type: string

Return Type: bool

removeVehicle()
script.zs
// Sheep.removeVehicle();
mySheep.removeVehicle();
resetLove()
script.zs
// Sheep.resetLove();
mySheep.resetLove();
restrictTo(restrictCenter as BlockPos, restrictRadius as int)
script.zs
// Sheep.restrictTo(restrictCenter as BlockPos, restrictRadius as int);
mySheep.restrictTo(myBlockPos, myInt);

Parameters:

restrictCenter Type: BlockPos
restrictRadius Type: int
Getter
script.zs
// Sheep.rootVehicle as Entity
mySheep.rootVehicle

Return Type: Entity

rootVehicle() as Entity
script.zs
// Sheep.rootVehicle() as Entity;
mySheep.rootVehicle();

Return Type: Entity

Getter
script.zs
// Sheep.scale as float
mySheep.scale

Return Type: float

scale() as float
script.zs
// Sheep.scale() as float;
mySheep.scale();

Return Type: float

sendMessage(component as Component)
script.zs
// Sheep.sendMessage(component as Component);
mySheep.sendMessage(myComponent);

Parameters:

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

Parameters:

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

Parameters:

air Type: int
setArrowCount(count as int)
script.zs
// Sheep.setArrowCount(count as int);
mySheep.setArrowCount(myInt);

Parameters:

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

Parameters:

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

Return Type: T?

setCustomName(name as Component)
script.zs
// Sheep.setCustomName(name as Component);
mySheep.setCustomName(myComponent);

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

setHealth(health as float)
script.zs
// Sheep.setHealth(health as float);
mySheep.setHealth(myFloat);

Parameters:

health Type: float
setInLove(loveCause as Player = null)
script.zs
// Sheep.setInLove(loveCause as Player = null);
mySheep.setInLove(myPlayer);

Parameters:

loveCause (optional) Type: Player

Default Value: null

setInvisible(invisible as bool)
script.zs
// Sheep.setInvisible(invisible as bool);
mySheep.setInvisible(myBool);

Parameters:

invisible Type: bool
setInvulnerable(invulnerable as bool)
script.zs
// Sheep.setInvulnerable(invulnerable as bool);
mySheep.setInvulnerable(myBool);

Parameters:

invulnerable Type: bool
setIsInPowderSnow(inPowderSnow as bool)
script.zs
// Sheep.setIsInPowderSnow(inPowderSnow as bool);
mySheep.setIsInPowderSnow(myBool);

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

setSecondsOnFire(seconds as int)
script.zs
// Sheep.setSecondsOnFire(seconds as int);
mySheep.setSecondsOnFire(myInt);

Parameters:

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

Parameters:

keyDown Type: bool
setSilent(silent as bool)
script.zs
// Sheep.setSilent(silent as bool);
mySheep.setSilent(myBool);

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

ticks Type: int
shear(source as SoundSource)
script.zs
// Sheep.shear(source as SoundSource);
mySheep.shear(mySoundSource);

Parameters:

source Type: SoundSource
Getter
script.zs
// Sheep.sheared as bool
mySheep.sheared

Return Type: bool

Setter
script.zs
// Sheep.sheared = (sheared as bool);
mySheep.sheared = myBool;

Parameters:

sheared Type: bool
Getter
script.zs
// Sheep.shouldBeSaved as bool
mySheep.shouldBeSaved

Return Type: bool

shouldBeSaved() as bool
script.zs
// Sheep.shouldBeSaved() as bool;
mySheep.shouldBeSaved();

Return Type: bool

Getter
script.zs
// Sheep.shouldDiscardFriction as bool
mySheep.shouldDiscardFriction

Return Type: bool

shouldDiscardFriction() as bool
script.zs
// Sheep.shouldDiscardFriction() as bool;
mySheep.shouldDiscardFriction();

Return Type: bool

Getter
script.zs
// Sheep.shouldInformAdmins as bool
mySheep.shouldInformAdmins

Return Type: bool

shouldInformAdmins() as bool
script.zs
// Sheep.shouldInformAdmins() as bool;
mySheep.shouldInformAdmins();

Return Type: bool

Getter
script.zs
// Sheep.shouldShowName as bool
mySheep.shouldShowName

Return Type: bool

shouldShowName() as bool
script.zs
// Sheep.shouldShowName() as bool;
mySheep.shouldShowName();

Return Type: bool

Getter
script.zs
// Sheep.showVehicleHealth as bool
mySheep.showVehicleHealth

Return Type: bool

showVehicleHealth() as bool
script.zs
// Sheep.showVehicleHealth() as bool;
mySheep.showVehicleHealth();

Return Type: bool

Getter
script.zs
// Sheep.sleepingPos as BlockPos
mySheep.sleepingPos

Return Type: BlockPos

sleepingPos() as BlockPos
script.zs
// Sheep.sleepingPos() as BlockPos;
mySheep.sleepingPos();

Return Type: BlockPos

Getter
script.zs
// Sheep.soundSource as SoundSource
mySheep.soundSource

Return Type: SoundSource

soundSource() as SoundSource
script.zs
// Sheep.soundSource() as SoundSource;
mySheep.soundSource();

Return Type: SoundSource

spawnChildFromBreeding(level as ServerLevel, otherParent as Animal)
script.zs
// Sheep.spawnChildFromBreeding(level as ServerLevel, otherParent as Animal);
mySheep.spawnChildFromBreeding(myServerLevel, myAnimal);

Parameters:

level Type: ServerLevel
otherParent Type: Animal
Getter
script.zs
// Sheep.speed as float
mySheep.speed

Return Type: float

speed() as float
script.zs
// Sheep.speed() as float;
mySheep.speed();

Return Type: float

startRiding(entity as Entity) as bool
script.zs
// Sheep.startRiding(entity as Entity) as bool;
mySheep.startRiding(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

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

Parameters:

entity Type: Entity
force Type: bool

Return Type: bool

startSleeping(pos as BlockPos)
script.zs
// Sheep.startSleeping(pos as BlockPos);
mySheep.startSleeping(myBlockPos);

Parameters:

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

Parameters:

Getter
script.zs
// Sheep.stingerCount as int
mySheep.stingerCount

Return Type: int

stingerCount() as int
script.zs
// Sheep.stingerCount() as int;
mySheep.stingerCount();

Return Type: int

stopRiding()
script.zs
// Sheep.stopRiding();
mySheep.stopRiding();
stopSleeping()
script.zs
// Sheep.stopSleeping();
mySheep.stopSleeping();
stopUsingItem()
script.zs
// Sheep.stopUsingItem();
mySheep.stopUsingItem();
Getter
script.zs
// Sheep.stringUUID as string
mySheep.stringUUID

Return Type: string

stringUUID() as string
script.zs
// Sheep.stringUUID() as string;
mySheep.stringUUID();

Return Type: string

swing(hand as InteractionHand)
script.zs
// Sheep.swing(hand as InteractionHand);
mySheep.swing(myInteractionHand);

Parameters:

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

Parameters:

updateSelf Type: bool
Getter
script.zs
// Sheep.tags as Set<string>
mySheep.tags

Return Type: Set<string>

tags() as Set<string>
script.zs
// Sheep.tags() as Set<string>;
mySheep.tags();

Return Type: Set<string>

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

Return Type: LivingEntity

Setter
script.zs
// Sheep.target = (target as LivingEntity);
mySheep.target = myLivingEntity;

Parameters:

target Type: LivingEntity
Getter
script.zs
// Sheep.teamColor as int
mySheep.teamColor

Return Type: int

teamColor() as int
script.zs
// Sheep.teamColor() as int;
mySheep.teamColor();

Return Type: int

teleportTo(x as double, y as double, z as double)
script.zs
// Sheep.teleportTo(x as double, y as double, z as double);
mySheep.teleportTo(myDouble, myDouble, myDouble);

Parameters:

x Type: double
y Type: double
z Type: double
Getter
script.zs
// Sheep.ticksFrozen as int
mySheep.ticksFrozen

Return Type: int

ticksFrozen() as int
script.zs
// Sheep.ticksFrozen() as int;
mySheep.ticksFrozen();

Return Type: int

Getter
script.zs
// Sheep.ticksRequiredToFreeze as int
mySheep.ticksRequiredToFreeze

Return Type: int

ticksRequiredToFreeze() as int
script.zs
// Sheep.ticksRequiredToFreeze() as int;
mySheep.ticksRequiredToFreeze();

Return Type: int

Getter
script.zs
// Sheep.ticksUsingItem as int
mySheep.ticksUsingItem

Return Type: int

ticksUsingItem() as int
script.zs
// Sheep.ticksUsingItem() as int;
mySheep.ticksUsingItem();

Return Type: int

travel(vec as Vec3)
script.zs
// Sheep.travel(vec as Vec3);
mySheep.travel(myVec3);

Parameters:

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

Parameters:

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

Return Type: EntityType<Entity>

type() as EntityType<Entity>
script.zs
// Sheep.type() as EntityType<Entity>;
mySheep.type();

Return Type: EntityType<Entity>

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

Parameters:

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

Parameters:

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

Return Type: InteractionHand

usedItemHand() as InteractionHand
script.zs
// Sheep.usedItemHand() as InteractionHand;
mySheep.usedItemHand();

Return Type: InteractionHand

Getter
script.zs
// Sheep.useItem as ItemStack
mySheep.useItem

Return Type: ItemStack

useItem() as ItemStack
script.zs
// Sheep.useItem() as ItemStack;
mySheep.useItem();

Return Type: ItemStack

Getter
script.zs
// Sheep.useItemRemainingTicks as int
mySheep.useItemRemainingTicks

Return Type: int

useItemRemainingTicks() as int
script.zs
// Sheep.useItemRemainingTicks() as int;
mySheep.useItemRemainingTicks();

Return Type: int

Getter
script.zs
// Sheep.uuid as UUID
mySheep.uuid

Return Type: UUID

uuid() as UUID
script.zs
// Sheep.uuid() as UUID;
mySheep.uuid();

Return Type: UUID

Getter
script.zs
// Sheep.vehicle as Entity
mySheep.vehicle

Return Type: Entity

vehicle() as Entity
script.zs
// Sheep.vehicle() as Entity;
mySheep.vehicle();

Return Type: Entity

Getter
script.zs
// Sheep.voicePitch as float
mySheep.voicePitch

Return Type: float

voicePitch() as float
script.zs
// Sheep.voicePitch() as float;
mySheep.voicePitch();

Return Type: float

wantsToPickUp(stack as ItemStack) as bool
script.zs
// Sheep.wantsToPickUp(stack as ItemStack) as bool;
mySheep.wantsToPickUp(myItemStack);

Parameters:

stack Type: ItemStack

Return Type: bool

Getter
script.zs
// Sheep.x as double
mySheep.x

Return Type: double

x() as double
script.zs
// Sheep.x() as double;
mySheep.x();

Return Type: double

Getter
script.zs
// Sheep.y as double
mySheep.y

Return Type: double

y() as double
script.zs
// Sheep.y() as double;
mySheep.y();

Return Type: double

Getter
script.zs
// Sheep.z as double
mySheep.z

Return Type: double

z() as double
script.zs
// Sheep.z() as double;
mySheep.z();

Return Type: double