ThrownEnderpearl

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.projectile.ThrownEnderpearl;

Extends

ThrownEnderpearl extends ThrowableItemProjectile.

Implements

ThrownEnderpearl implements the following interfaces:

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

Undocumented Interfaces

TraceableEntity,IForgeEntity

Members

Getter
script.zs
// ThrownEnderpearl.acceptsFailure as bool
myThrownEnderpearl.acceptsFailure

Return Type: bool

acceptsFailure() as bool
script.zs
// ThrownEnderpearl.acceptsFailure() as bool;
myThrownEnderpearl.acceptsFailure();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.acceptsSuccess as bool
myThrownEnderpearl.acceptsSuccess

Return Type: bool

acceptsSuccess() as bool
script.zs
// ThrownEnderpearl.acceptsSuccess() as bool;
myThrownEnderpearl.acceptsSuccess();

Return Type: bool

addTag(tagName as string) as bool
script.zs
// ThrownEnderpearl.addTag(tagName as string) as bool;
myThrownEnderpearl.addTag(myString);

Parameters:

tagName Type: string

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.airSupply as int
myThrownEnderpearl.airSupply

Return Type: int

airSupply() as int
script.zs
// ThrownEnderpearl.airSupply() as int;
myThrownEnderpearl.airSupply();

Return Type: int

Getter
script.zs
// ThrownEnderpearl.allSlots as Iterable<ItemStack>
myThrownEnderpearl.allSlots

Return Type: Iterable<ItemStack>

allSlots() as Iterable<ItemStack>
script.zs
// ThrownEnderpearl.allSlots() as Iterable<ItemStack>;
myThrownEnderpearl.allSlots();

Return Type: Iterable<ItemStack>

Getter
script.zs
// ThrownEnderpearl.alwaysAccepts as bool
myThrownEnderpearl.alwaysAccepts

Return Type: bool

alwaysAccepts() as bool
script.zs
// ThrownEnderpearl.alwaysAccepts() as bool;
myThrownEnderpearl.alwaysAccepts();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.armorSlots as Iterable<ItemStack>
myThrownEnderpearl.armorSlots

Return Type: Iterable<ItemStack>

armorSlots() as Iterable<ItemStack>
script.zs
// ThrownEnderpearl.armorSlots() as Iterable<ItemStack>;
myThrownEnderpearl.armorSlots();

Return Type: Iterable<ItemStack>

Getter
script.zs
// ThrownEnderpearl.bbHeight as float
myThrownEnderpearl.bbHeight

Return Type: float

bbHeight() as float
script.zs
// ThrownEnderpearl.bbHeight() as float;
myThrownEnderpearl.bbHeight();

Return Type: float

Getter
script.zs
// ThrownEnderpearl.bbWidth as float
myThrownEnderpearl.bbWidth

Return Type: float

bbWidth() as float
script.zs
// ThrownEnderpearl.bbWidth() as float;
myThrownEnderpearl.bbWidth();

Return Type: float

Getter
script.zs
// ThrownEnderpearl.blockPosiion as BlockPos
myThrownEnderpearl.blockPosiion

Return Type: BlockPos

blockPosiion() as BlockPos
script.zs
// ThrownEnderpearl.blockPosiion() as BlockPos;
myThrownEnderpearl.blockPosiion();

Return Type: BlockPos

Getter
script.zs
// ThrownEnderpearl.blockPosition as BlockPos
myThrownEnderpearl.blockPosition

Return Type: BlockPos

blockPosition() as BlockPos
script.zs
// ThrownEnderpearl.blockPosition() as BlockPos;
myThrownEnderpearl.blockPosition();

Return Type: BlockPos

Getter
script.zs
// ThrownEnderpearl.blockX as int
myThrownEnderpearl.blockX

Return Type: int

blockX() as int
script.zs
// ThrownEnderpearl.blockX() as int;
myThrownEnderpearl.blockX();

Return Type: int

Getter
script.zs
// ThrownEnderpearl.blockY as int
myThrownEnderpearl.blockY

Return Type: int

blockY() as int
script.zs
// ThrownEnderpearl.blockY() as int;
myThrownEnderpearl.blockY();

Return Type: int

Getter
script.zs
// ThrownEnderpearl.blockZ as int
myThrownEnderpearl.blockZ

Return Type: int

blockZ() as int
script.zs
// ThrownEnderpearl.blockZ() as int;
myThrownEnderpearl.blockZ();

Return Type: int

Getter
script.zs
// ThrownEnderpearl.boundingBox as AABB
myThrownEnderpearl.boundingBox

Return Type: AABB

boundingBox() as AABB
script.zs
// ThrownEnderpearl.boundingBox() as AABB;
myThrownEnderpearl.boundingBox();

Return Type: AABB

Getter
script.zs
// ThrownEnderpearl.boundingBoxForCulling as AABB
myThrownEnderpearl.boundingBoxForCulling

Return Type: AABB

boundingBoxForCulling() as AABB
script.zs
// ThrownEnderpearl.boundingBoxForCulling() as AABB;
myThrownEnderpearl.boundingBoxForCulling();

Return Type: AABB

Getter
script.zs
// ThrownEnderpearl.canBeCollidedWith as bool
myThrownEnderpearl.canBeCollidedWith

Return Type: bool

canBeCollidedWith() as bool
script.zs
// ThrownEnderpearl.canBeCollidedWith() as bool;
myThrownEnderpearl.canBeCollidedWith();

Return Type: bool

canCollideWith(other as Entity) as bool
script.zs
// ThrownEnderpearl.canCollideWith(other as Entity) as bool;
myThrownEnderpearl.canCollideWith(myEntity);

Parameters:

other Type: Entity

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.canFreeze as bool
myThrownEnderpearl.canFreeze

Return Type: bool

canFreeze() as bool
script.zs
// ThrownEnderpearl.canFreeze() as bool;
myThrownEnderpearl.canFreeze();

Return Type: bool

clearFire()
script.zs
// ThrownEnderpearl.clearFire();
myThrownEnderpearl.clearFire();
closerThan(other as Entity, distance as double) as bool
script.zs
// ThrownEnderpearl.closerThan(other as Entity, distance as double) as bool;
myThrownEnderpearl.closerThan(myEntity, myDouble);

Parameters:

other Type: Entity
distance Type: double

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.commandSenderWorld as Level
myThrownEnderpearl.commandSenderWorld

Return Type: Level

commandSenderWorld() as Level
script.zs
// ThrownEnderpearl.commandSenderWorld() as Level;
myThrownEnderpearl.commandSenderWorld();

Return Type: Level

Getter
script.zs
// ThrownEnderpearl.controllingPassenger as Entity
myThrownEnderpearl.controllingPassenger

Return Type: Entity

controllingPassenger() as Entity
script.zs
// ThrownEnderpearl.controllingPassenger() as Entity;
myThrownEnderpearl.controllingPassenger();

Return Type: Entity

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

Return Type: MapData

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

Returns: The custom data for this Entity.

script.zs
// ThrownEnderpearl.customData() as MapData;
myThrownEnderpearl.customData();

Return Type: MapData

Getter
script.zs
// ThrownEnderpearl.customName as Component
myThrownEnderpearl.customName

Return Type: Component

Getter
script.zs
// ThrownEnderpearl.customName as Component
myThrownEnderpearl.customName

Return Type: Component

customName() as Component
script.zs
// ThrownEnderpearl.customName() as Component;
myThrownEnderpearl.customName();

Return Type: Component

customName() as Component
script.zs
// ThrownEnderpearl.customName() as Component;
myThrownEnderpearl.customName();

Return Type: Component

Getter
script.zs
// ThrownEnderpearl.dampensVibrations as bool
myThrownEnderpearl.dampensVibrations

Return Type: bool

dampensVibrations() as bool
script.zs
// ThrownEnderpearl.dampensVibrations() as bool;
myThrownEnderpearl.dampensVibrations();

Return Type: bool

Getter
Gets the NBT data of this Entity.
script.zs
// ThrownEnderpearl.data as MapData
myThrownEnderpearl.data

Return Type: MapData

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

Returns: The NBT data of this Entity.

script.zs
// ThrownEnderpearl.data() as MapData;
myThrownEnderpearl.data();

Return Type: MapData

Getter
script.zs
// ThrownEnderpearl.deltaMovement as Vec3
myThrownEnderpearl.deltaMovement

Return Type: Vec3

Setter
script.zs
// ThrownEnderpearl.deltaMovement = (deltaMovement as Vec3);
myThrownEnderpearl.deltaMovement = myVec3;

Parameters:

deltaMovement Type: Vec3
deltaMovement() as Vec3
script.zs
// ThrownEnderpearl.deltaMovement() as Vec3;
myThrownEnderpearl.deltaMovement();

Return Type: Vec3

deltaMovement(deltaMovement as Vec3)
script.zs
// ThrownEnderpearl.deltaMovement(deltaMovement as Vec3);
myThrownEnderpearl.deltaMovement(myVec3);

Parameters:

deltaMovement Type: Vec3
Getter
script.zs
// ThrownEnderpearl.dimensionChangingDelay as int
myThrownEnderpearl.dimensionChangingDelay

Return Type: int

dimensionChangingDelay() as int
script.zs
// ThrownEnderpearl.dimensionChangingDelay() as int;
myThrownEnderpearl.dimensionChangingDelay();

Return Type: int

Getter
script.zs
// ThrownEnderpearl.direction as Direction
myThrownEnderpearl.direction

Return Type: Direction

direction() as Direction
script.zs
// ThrownEnderpearl.direction() as Direction;
myThrownEnderpearl.direction();

Return Type: Direction

discard()
script.zs
// ThrownEnderpearl.discard();
myThrownEnderpearl.discard();
Getter
script.zs
// ThrownEnderpearl.dismountsUnderwater as bool
myThrownEnderpearl.dismountsUnderwater

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.displayName as Component
myThrownEnderpearl.displayName

Return Type: Component

Getter
script.zs
// ThrownEnderpearl.displayName as Component
myThrownEnderpearl.displayName

Return Type: Component

displayName() as Component
script.zs
// ThrownEnderpearl.displayName() as Component;
myThrownEnderpearl.displayName();

Return Type: Component

displayName() as Component
script.zs
// ThrownEnderpearl.displayName() as Component;
myThrownEnderpearl.displayName();

Return Type: Component

distanceTo(entity as Entity) as float
script.zs
// ThrownEnderpearl.distanceTo(entity as Entity) as float;
myThrownEnderpearl.distanceTo(myEntity);

Parameters:

entity Type: Entity

Return Type: float

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

Parameters:

entity Type: Entity

Return Type: double

distanceToSqr(vec as Vec3) as double
script.zs
// ThrownEnderpearl.distanceToSqr(vec as Vec3) as double;
myThrownEnderpearl.distanceToSqr(myVec3);

Parameters:

vec Type: Vec3

Return Type: double

Getter
script.zs
// ThrownEnderpearl.effectSource as Entity
myThrownEnderpearl.effectSource

Return Type: Entity

effectSource() as Entity
script.zs
// ThrownEnderpearl.effectSource() as Entity;
myThrownEnderpearl.effectSource();

Return Type: Entity

ejectPassengers()
script.zs
// ThrownEnderpearl.ejectPassengers();
myThrownEnderpearl.ejectPassengers();
Getter
script.zs
// ThrownEnderpearl.eyeHeight as float
myThrownEnderpearl.eyeHeight

Return Type: float

eyeHeight() as float
script.zs
// ThrownEnderpearl.eyeHeight() as float;
myThrownEnderpearl.eyeHeight();

Return Type: float

Getter
script.zs
// ThrownEnderpearl.eyePosition as Vec3
myThrownEnderpearl.eyePosition

Return Type: Vec3

eyePosition() as Vec3
script.zs
// ThrownEnderpearl.eyePosition() as Vec3;
myThrownEnderpearl.eyePosition();

Return Type: Vec3

Getter
script.zs
// ThrownEnderpearl.eyeY as double
myThrownEnderpearl.eyeY

Return Type: double

eyeY() as double
script.zs
// ThrownEnderpearl.eyeY() as double;
myThrownEnderpearl.eyeY();

Return Type: double

Getter
script.zs
// ThrownEnderpearl.feetBlockState as BlockState
myThrownEnderpearl.feetBlockState

Return Type: BlockState

feetBlockState() as BlockState
script.zs
// ThrownEnderpearl.feetBlockState() as BlockState;
myThrownEnderpearl.feetBlockState();

Return Type: BlockState

Getter
script.zs
// ThrownEnderpearl.fireImmune as bool
myThrownEnderpearl.fireImmune

Return Type: bool

fireImmune() as bool
script.zs
// ThrownEnderpearl.fireImmune() as bool;
myThrownEnderpearl.fireImmune();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.firstPassenger as Entity
myThrownEnderpearl.firstPassenger

Return Type: Entity

firstPassenger() as Entity
script.zs
// ThrownEnderpearl.firstPassenger() as Entity;
myThrownEnderpearl.firstPassenger();

Return Type: Entity

Getter
script.zs
// ThrownEnderpearl.fluidJumpThreshold as double
myThrownEnderpearl.fluidJumpThreshold

Return Type: double

fluidJumpThreshold() as double
script.zs
// ThrownEnderpearl.fluidJumpThreshold() as double;
myThrownEnderpearl.fluidJumpThreshold();

Return Type: double

Getter
script.zs
// ThrownEnderpearl.forward as Vec3
myThrownEnderpearl.forward

Return Type: Vec3

forward() as Vec3
script.zs
// ThrownEnderpearl.forward() as Vec3;
myThrownEnderpearl.forward();

Return Type: Vec3

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

Returns: The found capability or null.

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

Parameters:

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

Return Type: T?

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

Returns: The found capability or null.

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

Parameters:

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

Return Type: T?

getEyePosition(partialTicks as float) as Vec3
script.zs
// ThrownEnderpearl.getEyePosition(partialTicks as float) as Vec3;
myThrownEnderpearl.getEyePosition(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getPosition(partialTicks as float) as Vec3
script.zs
// ThrownEnderpearl.getPosition(partialTicks as float) as Vec3;
myThrownEnderpearl.getPosition(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getUpVector(partialTicks as float) as Vec3
script.zs
// ThrownEnderpearl.getUpVector(partialTicks as float) as Vec3;
myThrownEnderpearl.getUpVector(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getViewVector(partialTicks as float) as Vec3
script.zs
// ThrownEnderpearl.getViewVector(partialTicks as float) as Vec3;
myThrownEnderpearl.getViewVector(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getX(scale as double) as double
script.zs
// ThrownEnderpearl.getX(scale as double) as double;
myThrownEnderpearl.getX(myDouble);

Parameters:

scale Type: double

Return Type: double

getY(scale as double) as double
script.zs
// ThrownEnderpearl.getY(scale as double) as double;
myThrownEnderpearl.getY(myDouble);

Parameters:

scale Type: double

Return Type: double

getZ(scale as double) as double
script.zs
// ThrownEnderpearl.getZ(scale as double) as double;
myThrownEnderpearl.getZ(myDouble);

Parameters:

scale Type: double

Return Type: double

Getter
script.zs
// ThrownEnderpearl.handSlots as Iterable<ItemStack>
myThrownEnderpearl.handSlots

Return Type: Iterable<ItemStack>

handSlots() as Iterable<ItemStack>
script.zs
// ThrownEnderpearl.handSlots() as Iterable<ItemStack>;
myThrownEnderpearl.handSlots();

Return Type: Iterable<ItemStack>

Getter
script.zs
// ThrownEnderpearl.hasCustomName as bool
myThrownEnderpearl.hasCustomName

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.hasCustomName as bool
myThrownEnderpearl.hasCustomName

Return Type: bool

hasCustomName() as bool
script.zs
// ThrownEnderpearl.hasCustomName() as bool;
myThrownEnderpearl.hasCustomName();

Return Type: bool

hasCustomName() as bool
script.zs
// ThrownEnderpearl.hasCustomName() as bool;
myThrownEnderpearl.hasCustomName();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.hasExactlyOnePlayerPassenger as bool
myThrownEnderpearl.hasExactlyOnePlayerPassenger

Return Type: bool

hasExactlyOnePlayerPassenger() as bool
script.zs
// ThrownEnderpearl.hasExactlyOnePlayerPassenger() as bool;
myThrownEnderpearl.hasExactlyOnePlayerPassenger();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.hasGlowingTag as bool
myThrownEnderpearl.hasGlowingTag

Return Type: bool

hasGlowingTag() as bool
script.zs
// ThrownEnderpearl.hasGlowingTag() as bool;
myThrownEnderpearl.hasGlowingTag();

Return Type: bool

hasIndirectPassenger(entity as Entity) as bool
script.zs
// ThrownEnderpearl.hasIndirectPassenger(entity as Entity) as bool;
myThrownEnderpearl.hasIndirectPassenger(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

hasPassenger(entity as Entity) as bool
script.zs
// ThrownEnderpearl.hasPassenger(entity as Entity) as bool;
myThrownEnderpearl.hasPassenger(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

hasPassenger(predicate as function(t as Entity) as bool) as bool
script.zs
// ThrownEnderpearl.hasPassenger(predicate as function(t as Entity) as bool) as bool;
myThrownEnderpearl.hasPassenger(myPredicate);

Parameters:

predicate Type: function(t as Entity) as bool

Return Type: bool

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

Parameters:

source Type: DamageSource
amount Type: float

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.id as int
myThrownEnderpearl.id

Return Type: int

id() as int
script.zs
// ThrownEnderpearl.id() as int;
myThrownEnderpearl.id();

Return Type: int

Getter
script.zs
// ThrownEnderpearl.isAlive as bool
myThrownEnderpearl.isAlive

Return Type: bool

isAlive() as bool
script.zs
// ThrownEnderpearl.isAlive() as bool;
myThrownEnderpearl.isAlive();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isAlwaysTicking as bool
myThrownEnderpearl.isAlwaysTicking

Return Type: bool

isAlwaysTicking() as bool
script.zs
// ThrownEnderpearl.isAlwaysTicking() as bool;
myThrownEnderpearl.isAlwaysTicking();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isAttackable as bool
myThrownEnderpearl.isAttackable

Return Type: bool

isAttackable() as bool
script.zs
// ThrownEnderpearl.isAttackable() as bool;
myThrownEnderpearl.isAttackable();

Return Type: bool

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

Parameters:

pos Type: BlockPos
state Type: BlockState

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isCrouching as bool
myThrownEnderpearl.isCrouching

Return Type: bool

isCrouching() as bool
script.zs
// ThrownEnderpearl.isCrouching() as bool;
myThrownEnderpearl.isCrouching();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isCurrentlyGlowing as bool
myThrownEnderpearl.isCurrentlyGlowing

Return Type: bool

isCurrentlyGlowing() as bool
script.zs
// ThrownEnderpearl.isCurrentlyGlowing() as bool;
myThrownEnderpearl.isCurrentlyGlowing();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isCustomNameVisible as bool
myThrownEnderpearl.isCustomNameVisible

Return Type: bool

isCustomNameVisible() as bool
script.zs
// ThrownEnderpearl.isCustomNameVisible() as bool;
myThrownEnderpearl.isCustomNameVisible();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isDescending as bool
myThrownEnderpearl.isDescending

Return Type: bool

isDescending() as bool
script.zs
// ThrownEnderpearl.isDescending() as bool;
myThrownEnderpearl.isDescending();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isDiscrete as bool
myThrownEnderpearl.isDiscrete

Return Type: bool

isDiscrete() as bool
script.zs
// ThrownEnderpearl.isDiscrete() as bool;
myThrownEnderpearl.isDiscrete();

Return Type: bool

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

Parameters:

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

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isFullyFrozen as bool
myThrownEnderpearl.isFullyFrozen

Return Type: bool

isFullyFrozen() as bool
script.zs
// ThrownEnderpearl.isFullyFrozen() as bool;
myThrownEnderpearl.isFullyFrozen();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isInLava as bool
myThrownEnderpearl.isInLava

Return Type: bool

isInLava() as bool
script.zs
// ThrownEnderpearl.isInLava() as bool;
myThrownEnderpearl.isInLava();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isInvisible as bool
myThrownEnderpearl.isInvisible

Return Type: bool

isInvisible() as bool
script.zs
// ThrownEnderpearl.isInvisible() as bool;
myThrownEnderpearl.isInvisible();

Return Type: bool

isInvisibleTo(player as Player) as bool
script.zs
// ThrownEnderpearl.isInvisibleTo(player as Player) as bool;
myThrownEnderpearl.isInvisibleTo(myPlayer);

Parameters:

player Type: Player

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isInvulnerable as bool
myThrownEnderpearl.isInvulnerable

Return Type: bool

isInvulnerable() as bool
script.zs
// ThrownEnderpearl.isInvulnerable() as bool;
myThrownEnderpearl.isInvulnerable();

Return Type: bool

isInvulnerableTo(source as DamageSource) as bool
script.zs
// ThrownEnderpearl.isInvulnerableTo(source as DamageSource) as bool;
myThrownEnderpearl.isInvulnerableTo(myDamageSource);

Parameters:

source Type: DamageSource

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isInWall as bool
myThrownEnderpearl.isInWall

Return Type: bool

isInWall() as bool
script.zs
// ThrownEnderpearl.isInWall() as bool;
myThrownEnderpearl.isInWall();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isInWater as bool
myThrownEnderpearl.isInWater

Return Type: bool

isInWater() as bool
script.zs
// ThrownEnderpearl.isInWater() as bool;
myThrownEnderpearl.isInWater();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isInWaterOrBubble as bool
myThrownEnderpearl.isInWaterOrBubble

Return Type: bool

isInWaterOrBubble() as bool
script.zs
// ThrownEnderpearl.isInWaterOrBubble() as bool;
myThrownEnderpearl.isInWaterOrBubble();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isInWaterOrRain as bool
myThrownEnderpearl.isInWaterOrRain

Return Type: bool

isInWaterOrRain() as bool
script.zs
// ThrownEnderpearl.isInWaterOrRain() as bool;
myThrownEnderpearl.isInWaterOrRain();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isInWaterRainOrBubble as bool
myThrownEnderpearl.isInWaterRainOrBubble

Return Type: bool

isInWaterRainOrBubble() as bool
script.zs
// ThrownEnderpearl.isInWaterRainOrBubble() as bool;
myThrownEnderpearl.isInWaterRainOrBubble();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isNoGravity as bool
myThrownEnderpearl.isNoGravity

Return Type: bool

isNoGravity() as bool
script.zs
// ThrownEnderpearl.isNoGravity() as bool;
myThrownEnderpearl.isNoGravity();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isOnFire as bool
myThrownEnderpearl.isOnFire

Return Type: bool

isOnFire() as bool
script.zs
// ThrownEnderpearl.isOnFire() as bool;
myThrownEnderpearl.isOnFire();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isOnPortalCooldown as bool
myThrownEnderpearl.isOnPortalCooldown

Return Type: bool

isOnPortalCooldown() as bool
script.zs
// ThrownEnderpearl.isOnPortalCooldown() as bool;
myThrownEnderpearl.isOnPortalCooldown();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isPassenger as bool
myThrownEnderpearl.isPassenger

Return Type: bool

isPassenger() as bool
script.zs
// ThrownEnderpearl.isPassenger() as bool;
myThrownEnderpearl.isPassenger();

Return Type: bool

isPassengerOfSameVehicle(entity as Entity) as bool
script.zs
// ThrownEnderpearl.isPassengerOfSameVehicle(entity as Entity) as bool;
myThrownEnderpearl.isPassengerOfSameVehicle(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isPickable as bool
myThrownEnderpearl.isPickable

Return Type: bool

isPickable() as bool
script.zs
// ThrownEnderpearl.isPickable() as bool;
myThrownEnderpearl.isPickable();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isPushable as bool
myThrownEnderpearl.isPushable

Return Type: bool

isPushable() as bool
script.zs
// ThrownEnderpearl.isPushable() as bool;
myThrownEnderpearl.isPushable();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isPushedByFluid as bool
myThrownEnderpearl.isPushedByFluid

Return Type: bool

isPushedByFluid() as bool
script.zs
// ThrownEnderpearl.isPushedByFluid() as bool;
myThrownEnderpearl.isPushedByFluid();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isRemoved as bool
myThrownEnderpearl.isRemoved

Return Type: bool

isRemoved() as bool
script.zs
// ThrownEnderpearl.isRemoved() as bool;
myThrownEnderpearl.isRemoved();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isShiftKeyDown as bool
myThrownEnderpearl.isShiftKeyDown

Return Type: bool

isShiftKeyDown() as bool
script.zs
// ThrownEnderpearl.isShiftKeyDown() as bool;
myThrownEnderpearl.isShiftKeyDown();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isSilent as bool
myThrownEnderpearl.isSilent

Return Type: bool

isSilent() as bool
script.zs
// ThrownEnderpearl.isSilent() as bool;
myThrownEnderpearl.isSilent();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isSpectator as bool
myThrownEnderpearl.isSpectator

Return Type: bool

isSpectator() as bool
script.zs
// ThrownEnderpearl.isSpectator() as bool;
myThrownEnderpearl.isSpectator();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isSprinting as bool
myThrownEnderpearl.isSprinting

Return Type: bool

isSprinting() as bool
script.zs
// ThrownEnderpearl.isSprinting() as bool;
myThrownEnderpearl.isSprinting();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isSteppingCarefully as bool
myThrownEnderpearl.isSteppingCarefully

Return Type: bool

isSteppingCarefully() as bool
script.zs
// ThrownEnderpearl.isSteppingCarefully() as bool;
myThrownEnderpearl.isSteppingCarefully();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isSuppressingBounce as bool
myThrownEnderpearl.isSuppressingBounce

Return Type: bool

isSuppressingBounce() as bool
script.zs
// ThrownEnderpearl.isSuppressingBounce() as bool;
myThrownEnderpearl.isSuppressingBounce();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isSwimming as bool
myThrownEnderpearl.isSwimming

Return Type: bool

isSwimming() as bool
script.zs
// ThrownEnderpearl.isSwimming() as bool;
myThrownEnderpearl.isSwimming();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isUnderWater as bool
myThrownEnderpearl.isUnderWater

Return Type: bool

isUnderWater() as bool
script.zs
// ThrownEnderpearl.isUnderWater() as bool;
myThrownEnderpearl.isUnderWater();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isVehicle as bool
myThrownEnderpearl.isVehicle

Return Type: bool

isVehicle() as bool
script.zs
// ThrownEnderpearl.isVehicle() as bool;
myThrownEnderpearl.isVehicle();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isVisuallyCrawling as bool
myThrownEnderpearl.isVisuallyCrawling

Return Type: bool

isVisuallyCrawling() as bool
script.zs
// ThrownEnderpearl.isVisuallyCrawling() as bool;
myThrownEnderpearl.isVisuallyCrawling();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.isVisuallySwimming as bool
myThrownEnderpearl.isVisuallySwimming

Return Type: bool

isVisuallySwimming() as bool
script.zs
// ThrownEnderpearl.isVisuallySwimming() as bool;
myThrownEnderpearl.isVisuallySwimming();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.item as ItemStack
myThrownEnderpearl.item

Return Type: ItemStack

Setter
script.zs
// ThrownEnderpearl.item = (stack as ItemStack);
myThrownEnderpearl.item = myItemStack;

Parameters:

stack Type: ItemStack
item(stack as ItemStack)
script.zs
// ThrownEnderpearl.item(stack as ItemStack);
myThrownEnderpearl.item(myItemStack);

Parameters:

stack Type: ItemStack
item() as ItemStack
script.zs
// ThrownEnderpearl.item() as ItemStack;
myThrownEnderpearl.item();

Return Type: ItemStack

kill()
script.zs
// ThrownEnderpearl.kill();
myThrownEnderpearl.kill();
lavaHurt()
script.zs
// ThrownEnderpearl.lavaHurt();
myThrownEnderpearl.lavaHurt();
Getter
script.zs
// ThrownEnderpearl.level as Level
myThrownEnderpearl.level

Return Type: Level

Getter
script.zs
// ThrownEnderpearl.lookAngle as Vec3
myThrownEnderpearl.lookAngle

Return Type: Vec3

lookAngle() as Vec3
script.zs
// ThrownEnderpearl.lookAngle() as Vec3;
myThrownEnderpearl.lookAngle();

Return Type: Vec3

Getter
script.zs
// ThrownEnderpearl.maxAirSupply as int
myThrownEnderpearl.maxAirSupply

Return Type: int

maxAirSupply() as int
script.zs
// ThrownEnderpearl.maxAirSupply() as int;
myThrownEnderpearl.maxAirSupply();

Return Type: int

Getter
script.zs
// ThrownEnderpearl.maxFallDistance as int
myThrownEnderpearl.maxFallDistance

Return Type: int

maxFallDistance() as int
script.zs
// ThrownEnderpearl.maxFallDistance() as int;
myThrownEnderpearl.maxFallDistance();

Return Type: int

Getter
script.zs
// ThrownEnderpearl.motionDirection as Direction
myThrownEnderpearl.motionDirection

Return Type: Direction

motionDirection() as Direction
script.zs
// ThrownEnderpearl.motionDirection() as Direction;
myThrownEnderpearl.motionDirection();

Return Type: Direction

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

Parameters:

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

Parameters:

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

Return Type: Component

Getter
script.zs
// ThrownEnderpearl.name as Component
myThrownEnderpearl.name

Return Type: Component

name() as Component
script.zs
// ThrownEnderpearl.name() as Component;
myThrownEnderpearl.name();

Return Type: Component

name() as Component
script.zs
// ThrownEnderpearl.name() as Component;
myThrownEnderpearl.name();

Return Type: Component

Getter
script.zs
// ThrownEnderpearl.onGround as bool
myThrownEnderpearl.onGround

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.onPos as BlockPos
myThrownEnderpearl.onPos

Return Type: BlockPos

onPos() as BlockPos
script.zs
// ThrownEnderpearl.onPos() as BlockPos;
myThrownEnderpearl.onPos();

Return Type: BlockPos

Getter
script.zs
// ThrownEnderpearl.owner as Entity
myThrownEnderpearl.owner

Return Type: Entity

Setter
script.zs
// ThrownEnderpearl.owner = (entity as Entity);
myThrownEnderpearl.owner = myEntity;

Parameters:

entity Type: Entity
owner(entity as Entity)
script.zs
// ThrownEnderpearl.owner(entity as Entity);
myThrownEnderpearl.owner(myEntity);

Parameters:

entity Type: Entity
owner() as Entity
script.zs
// ThrownEnderpearl.owner() as Entity;
myThrownEnderpearl.owner();

Return Type: Entity

Getter
script.zs
// ThrownEnderpearl.passengers as List<Entity>
myThrownEnderpearl.passengers

Return Type: List<Entity>

passengers() as List<Entity>
script.zs
// ThrownEnderpearl.passengers() as List<Entity>;
myThrownEnderpearl.passengers();

Return Type: List<Entity>

Getter
script.zs
// ThrownEnderpearl.percentFrozen as float
myThrownEnderpearl.percentFrozen

Return Type: float

percentFrozen() as float
script.zs
// ThrownEnderpearl.percentFrozen() as float;
myThrownEnderpearl.percentFrozen();

Return Type: float

Getter
script.zs
// ThrownEnderpearl.pistonPushReaction as PushReaction
myThrownEnderpearl.pistonPushReaction

Return Type: PushReaction

pistonPushReaction() as PushReaction
script.zs
// ThrownEnderpearl.pistonPushReaction() as PushReaction;
myThrownEnderpearl.pistonPushReaction();

Return Type: PushReaction

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

Parameters:

sound Type: SoundEvent
volume Type: float
pitch Type: float
Getter
script.zs
// ThrownEnderpearl.portalWaitTime as int
myThrownEnderpearl.portalWaitTime

Return Type: int

portalWaitTime() as int
script.zs
// ThrownEnderpearl.portalWaitTime() as int;
myThrownEnderpearl.portalWaitTime();

Return Type: int

Getter
script.zs
// ThrownEnderpearl.position as Vec3
myThrownEnderpearl.position

Return Type: Vec3

position() as Vec3
script.zs
// ThrownEnderpearl.position() as Vec3;
myThrownEnderpearl.position();

Return Type: Vec3

positionRider(entity as Entity)
script.zs
// ThrownEnderpearl.positionRider(entity as Entity);
myThrownEnderpearl.positionRider(myEntity);

Parameters:

entity Type: Entity
Getter
script.zs
// ThrownEnderpearl.registryName as ResourceLocation
myThrownEnderpearl.registryName

Return Type: ResourceLocation

registryName() as ResourceLocation
script.zs
// ThrownEnderpearl.registryName() as ResourceLocation;
myThrownEnderpearl.registryName();

Return Type: ResourceLocation

Getter
script.zs
// ThrownEnderpearl.remainingFireTicks as int
myThrownEnderpearl.remainingFireTicks

Return Type: int

remainingFireTicks() as int
script.zs
// ThrownEnderpearl.remainingFireTicks() as int;
myThrownEnderpearl.remainingFireTicks();

Return Type: int

removeTag(tagName as string) as bool
script.zs
// ThrownEnderpearl.removeTag(tagName as string) as bool;
myThrownEnderpearl.removeTag(myString);

Parameters:

tagName Type: string

Return Type: bool

removeVehicle()
script.zs
// ThrownEnderpearl.removeVehicle();
myThrownEnderpearl.removeVehicle();
Getter
script.zs
// ThrownEnderpearl.rootVehicle as Entity
myThrownEnderpearl.rootVehicle

Return Type: Entity

rootVehicle() as Entity
script.zs
// ThrownEnderpearl.rootVehicle() as Entity;
myThrownEnderpearl.rootVehicle();

Return Type: Entity

sendMessage(component as Component)
script.zs
// ThrownEnderpearl.sendMessage(component as Component);
myThrownEnderpearl.sendMessage(myComponent);

Parameters:

component Type: Component
setAirSupply(air as int)
script.zs
// ThrownEnderpearl.setAirSupply(air as int);
myThrownEnderpearl.setAirSupply(myInt);

Parameters:

air Type: int
setCustomName(name as Component)
script.zs
// ThrownEnderpearl.setCustomName(name as Component);
myThrownEnderpearl.setCustomName(myComponent);

Parameters:

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

Parameters:

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

Parameters:

xDelta Type: double
yDelta Type: double
zDelta Type: double
setGlowingTag(glowing as bool)
script.zs
// ThrownEnderpearl.setGlowingTag(glowing as bool);
myThrownEnderpearl.setGlowingTag(myBool);

Parameters:

glowing Type: bool
setInvisible(invisible as bool)
script.zs
// ThrownEnderpearl.setInvisible(invisible as bool);
myThrownEnderpearl.setInvisible(myBool);

Parameters:

invisible Type: bool
setInvulnerable(invulnerable as bool)
script.zs
// ThrownEnderpearl.setInvulnerable(invulnerable as bool);
myThrownEnderpearl.setInvulnerable(myBool);

Parameters:

invulnerable Type: bool
setIsInPowderSnow(inPowderSnow as bool)
script.zs
// ThrownEnderpearl.setIsInPowderSnow(inPowderSnow as bool);
myThrownEnderpearl.setIsInPowderSnow(myBool);

Parameters:

inPowderSnow Type: bool
setItemSlot(slot as EquipmentSlot, stack as ItemStack)
script.zs
// ThrownEnderpearl.setItemSlot(slot as EquipmentSlot, stack as ItemStack);
myThrownEnderpearl.setItemSlot(myEquipmentSlot, myItemStack);

Parameters:

stack Type: ItemStack
setNoGravity(noGravity as bool)
script.zs
// ThrownEnderpearl.setNoGravity(noGravity as bool);
myThrownEnderpearl.setNoGravity(myBool);

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

setSecondsOnFire(seconds as int)
script.zs
// ThrownEnderpearl.setSecondsOnFire(seconds as int);
myThrownEnderpearl.setSecondsOnFire(myInt);

Parameters:

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

Parameters:

keyDown Type: bool
setSilent(silent as bool)
script.zs
// ThrownEnderpearl.setSilent(silent as bool);
myThrownEnderpearl.setSilent(myBool);

Parameters:

silent Type: bool
setSprinting(sprinting as bool)
script.zs
// ThrownEnderpearl.setSprinting(sprinting as bool);
myThrownEnderpearl.setSprinting(myBool);

Parameters:

sprinting Type: bool
setSwimming(swimming as bool)
script.zs
// ThrownEnderpearl.setSwimming(swimming as bool);
myThrownEnderpearl.setSwimming(myBool);

Parameters:

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

Parameters:

ticks Type: int
Getter
script.zs
// ThrownEnderpearl.shouldBeSaved as bool
myThrownEnderpearl.shouldBeSaved

Return Type: bool

shouldBeSaved() as bool
script.zs
// ThrownEnderpearl.shouldBeSaved() as bool;
myThrownEnderpearl.shouldBeSaved();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.shouldInformAdmins as bool
myThrownEnderpearl.shouldInformAdmins

Return Type: bool

shouldInformAdmins() as bool
script.zs
// ThrownEnderpearl.shouldInformAdmins() as bool;
myThrownEnderpearl.shouldInformAdmins();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.shouldShowName as bool
myThrownEnderpearl.shouldShowName

Return Type: bool

shouldShowName() as bool
script.zs
// ThrownEnderpearl.shouldShowName() as bool;
myThrownEnderpearl.shouldShowName();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.showVehicleHealth as bool
myThrownEnderpearl.showVehicleHealth

Return Type: bool

showVehicleHealth() as bool
script.zs
// ThrownEnderpearl.showVehicleHealth() as bool;
myThrownEnderpearl.showVehicleHealth();

Return Type: bool

Getter
script.zs
// ThrownEnderpearl.soundSource as SoundSource
myThrownEnderpearl.soundSource

Return Type: SoundSource

soundSource() as SoundSource
script.zs
// ThrownEnderpearl.soundSource() as SoundSource;
myThrownEnderpearl.soundSource();

Return Type: SoundSource

startRiding(entity as Entity) as bool
script.zs
// ThrownEnderpearl.startRiding(entity as Entity) as bool;
myThrownEnderpearl.startRiding(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

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

Parameters:

entity Type: Entity
force Type: bool

Return Type: bool

stopRiding()
script.zs
// ThrownEnderpearl.stopRiding();
myThrownEnderpearl.stopRiding();
Getter
script.zs
// ThrownEnderpearl.stringUUID as string
myThrownEnderpearl.stringUUID

Return Type: string

stringUUID() as string
script.zs
// ThrownEnderpearl.stringUUID() as string;
myThrownEnderpearl.stringUUID();

Return Type: string

Getter
script.zs
// ThrownEnderpearl.tags as Set<string>
myThrownEnderpearl.tags

Return Type: Set<string>

tags() as Set<string>
script.zs
// ThrownEnderpearl.tags() as Set<string>;
myThrownEnderpearl.tags();

Return Type: Set<string>

Getter
script.zs
// ThrownEnderpearl.teamColor as int
myThrownEnderpearl.teamColor

Return Type: int

teamColor() as int
script.zs
// ThrownEnderpearl.teamColor() as int;
myThrownEnderpearl.teamColor();

Return Type: int

teleportTo(x as double, y as double, z as double)
script.zs
// ThrownEnderpearl.teleportTo(x as double, y as double, z as double);
myThrownEnderpearl.teleportTo(myDouble, myDouble, myDouble);

Parameters:

x Type: double
y Type: double
z Type: double
Getter
script.zs
// ThrownEnderpearl.ticksFrozen as int
myThrownEnderpearl.ticksFrozen

Return Type: int

ticksFrozen() as int
script.zs
// ThrownEnderpearl.ticksFrozen() as int;
myThrownEnderpearl.ticksFrozen();

Return Type: int

Getter
script.zs
// ThrownEnderpearl.ticksRequiredToFreeze as int
myThrownEnderpearl.ticksRequiredToFreeze

Return Type: int

ticksRequiredToFreeze() as int
script.zs
// ThrownEnderpearl.ticksRequiredToFreeze() as int;
myThrownEnderpearl.ticksRequiredToFreeze();

Return Type: int

turn(yaw as double, pitch as double)
script.zs
// ThrownEnderpearl.turn(yaw as double, pitch as double);
myThrownEnderpearl.turn(myDouble, myDouble);

Parameters:

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

Return Type: EntityType<Entity>

type() as EntityType<Entity>
script.zs
// ThrownEnderpearl.type() as EntityType<Entity>;
myThrownEnderpearl.type();

Return Type: EntityType<Entity>

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

Parameters:

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

Parameters:

data Type: MapData - The new Data for this Entity
Getter
script.zs
// ThrownEnderpearl.uuid as UUID
myThrownEnderpearl.uuid

Return Type: UUID

uuid() as UUID
script.zs
// ThrownEnderpearl.uuid() as UUID;
myThrownEnderpearl.uuid();

Return Type: UUID

Getter
script.zs
// ThrownEnderpearl.vehicle as Entity
myThrownEnderpearl.vehicle

Return Type: Entity

vehicle() as Entity
script.zs
// ThrownEnderpearl.vehicle() as Entity;
myThrownEnderpearl.vehicle();

Return Type: Entity

Getter
script.zs
// ThrownEnderpearl.x as double
myThrownEnderpearl.x

Return Type: double

x() as double
script.zs
// ThrownEnderpearl.x() as double;
myThrownEnderpearl.x();

Return Type: double

Getter
script.zs
// ThrownEnderpearl.y as double
myThrownEnderpearl.y

Return Type: double

y() as double
script.zs
// ThrownEnderpearl.y() as double;
myThrownEnderpearl.y();

Return Type: double

Getter
script.zs
// ThrownEnderpearl.z as double
myThrownEnderpearl.z

Return Type: double

z() as double
script.zs
// ThrownEnderpearl.z() as double;
myThrownEnderpearl.z();

Return Type: double