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.
import crafttweaker.api.entity.type.projectile.ThrownEnderpearl;
Extends
ThrownEnderpearl extends ThrowableItemProjectile
.
Implements
ThrownEnderpearl
implements the following interfaces:
ItemSupplier
,Nameable
,EntityAccess
,CommandSource
,IAttachmentHolder
Undocumented Interfaces
TraceableEntity
,SyncedDataHolder
,ScoreHolder
,IEntityExtension
,INBTSerializable<CompoundTag>
Members
// ThrownEnderpearl.acceptsFailure as boolmyThrownEnderpearl.acceptsFailure
Return Type:
bool
Returns: True if the commands from this source should return failure messages, false otherwise.
// ThrownEnderpearl.acceptsFailure() as bool;myThrownEnderpearl.acceptsFailure();
Return Type:
bool
// ThrownEnderpearl.acceptsSuccess as boolmyThrownEnderpearl.acceptsSuccess
Return Type:
bool
Returns: True if the commands from this source should return successful messages, false otherwise.
// ThrownEnderpearl.acceptsSuccess() as bool;myThrownEnderpearl.acceptsSuccess();
Return Type:
bool
Returns: true if the tag was added.
// ThrownEnderpearl.addTag(tagName as string) as bool;myThrownEnderpearl.addTag(myString);
Parameters:
tagName: string
Type: string
- The name of the tag to add.
Return Type:
bool
// ThrownEnderpearl.airSupply as intmyThrownEnderpearl.airSupply
Return Type:
int
Returns: The current air supply of the entity.
// ThrownEnderpearl.airSupply() as int;myThrownEnderpearl.airSupply();
Return Type:
int
// ThrownEnderpearl.alwaysAccepts as boolmyThrownEnderpearl.alwaysAccepts
Return Type:
bool
Returns: True if the command source always accepts, false otherwise.
// ThrownEnderpearl.alwaysAccepts() as bool;myThrownEnderpearl.alwaysAccepts();
Return Type:
bool
// ThrownEnderpearl.bbHeight as floatmyThrownEnderpearl.bbHeight
Return Type:
float
Returns: The height of the bounding box of the entity.
// ThrownEnderpearl.bbHeight() as float;myThrownEnderpearl.bbHeight();
Return Type:
float
// ThrownEnderpearl.bbWidth as floatmyThrownEnderpearl.bbWidth
Return Type:
float
Returns: The width of the bounding box of the entity.
// ThrownEnderpearl.bbWidth() as float;myThrownEnderpearl.bbWidth();
Return Type:
float
// ThrownEnderpearl.blockX as intmyThrownEnderpearl.blockX
Return Type:
int
Returns: The x coordinate of the entity.
// ThrownEnderpearl.blockX() as int;myThrownEnderpearl.blockX();
Return Type:
int
// ThrownEnderpearl.blockY as intmyThrownEnderpearl.blockY
Return Type:
int
Returns: The y coordinate of the entity.
// ThrownEnderpearl.blockY() as int;myThrownEnderpearl.blockY();
Return Type:
int
// ThrownEnderpearl.blockZ as intmyThrownEnderpearl.blockZ
Return Type:
int
Returns: The z coordinate of the entity.
// ThrownEnderpearl.blockZ() as int;myThrownEnderpearl.blockZ();
Return Type:
int
// ThrownEnderpearl.canBeCollidedWith as boolmyThrownEnderpearl.canBeCollidedWith
Return Type:
bool
Returns: true if the entity can be collided with.
// ThrownEnderpearl.canBeCollidedWith() as bool;myThrownEnderpearl.canBeCollidedWith();
Return Type:
bool
Returns: true if the entity can collide with the given entity.
myThrownEnderpearl.canCollideWith(myEntity);
Return Type:
bool
// ThrownEnderpearl.canFreeze as boolmyThrownEnderpearl.canFreeze
Return Type:
bool
Returns: Whether the entity can freeze.
// ThrownEnderpearl.canFreeze() as bool;myThrownEnderpearl.canFreeze();
Return Type:
bool
// ThrownEnderpearl.clearFire();myThrownEnderpearl.clearFire();
Returns: true if the entity is closer than the given distance to the other entity.
myThrownEnderpearl.closerThan(myEntity, myDouble);
Parameters:
Return Type:
bool
net.minecraft.world.entity.item.ItemEntity
s who's item is in the dampens_vibrations item tag.// ThrownEnderpearl.dampensVibrations as boolmyThrownEnderpearl.dampensVibrations
Return Type:
bool
net.minecraft.world.entity.item.ItemEntity
s who's item is in the dampens_vibrations item tag.Returns: true if the entity dampens vibrations.
// ThrownEnderpearl.dampensVibrations() as bool;myThrownEnderpearl.dampensVibrations();
Return Type:
bool
// ThrownEnderpearl.dimensionChangingDelay as intmyThrownEnderpearl.dimensionChangingDelay
Return Type:
int
Returns: The dimension changing delay of the entity.
// ThrownEnderpearl.dimensionChangingDelay() as int;myThrownEnderpearl.dimensionChangingDelay();
Return Type:
int
// ThrownEnderpearl.discard();myThrownEnderpearl.discard();
// ThrownEnderpearl.dismountsUnderwater as boolmyThrownEnderpearl.dismountsUnderwater
Return Type:
bool
Returns: true if the entity dismounts underwater.
// ThrownEnderpearl.dismountsUnderwater() as bool;myThrownEnderpearl.dismountsUnderwater();
Return Type:
bool
Returns: The squared distance to the given position.
// ThrownEnderpearl.distanceToSqr(x as double, y as double, z as double) as double;myThrownEnderpearl.distanceToSqr(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
- The x position to get the squared distance to. y: double
Type: double
- The y position to get the squared distance to. z: double
Type: double
- The z position to get the squared distance to.
Return Type:
double
Returns: The squared distance to the given entity.
myThrownEnderpearl.distanceToSqr(myEntity);
Return Type:
double
Returns: The squared distance to the given vector.
myThrownEnderpearl.distanceToSqr(myVec3);
Return Type:
double
// ThrownEnderpearl.ejectPassengers();myThrownEnderpearl.ejectPassengers();
// ThrownEnderpearl.eyeHeight as floatmyThrownEnderpearl.eyeHeight
Return Type:
float
Returns: The eye height of the entity.
// ThrownEnderpearl.eyeHeight() as float;myThrownEnderpearl.eyeHeight();
Return Type:
float
// ThrownEnderpearl.eyeY as doublemyThrownEnderpearl.eyeY
Return Type:
double
Returns: The y coordinate of the entity's eyes.
// ThrownEnderpearl.eyeY() as double;myThrownEnderpearl.eyeY();
Return Type:
double
// ThrownEnderpearl.fireImmune as boolmyThrownEnderpearl.fireImmune
Return Type:
bool
Returns: true if the entity is fire immune.
// ThrownEnderpearl.fireImmune() as bool;myThrownEnderpearl.fireImmune();
Return Type:
bool
// ThrownEnderpearl.fireTicks as intmyThrownEnderpearl.fireTicks
Return Type:
int
// ThrownEnderpearl.fireTicks = (ticks as int);myThrownEnderpearl.fireTicks = myInt;
Parameters:
ticks: int
Type: int
- The number of ticks to set the remaining fire ticks to. // ThrownEnderpearl.fireTicks(ticks as int);myThrownEnderpearl.fireTicks(myInt);
Parameters:
ticks: int
Type: int
- The number of ticks to set the remaining fire ticks to. Returns: The remaining fire ticks of the entity.
// ThrownEnderpearl.fireTicks() as int;myThrownEnderpearl.fireTicks();
Return Type:
int
// ThrownEnderpearl.fluidJumpThreshold as doublemyThrownEnderpearl.fluidJumpThreshold
Return Type:
double
Returns: The fluid jump threshold of the entity.
// ThrownEnderpearl.fluidJumpThreshold() as double;myThrownEnderpearl.fluidJumpThreshold();
Return Type:
double
myThrownEnderpearl.getAttachmentData<T>(myAttachmentType);
Parameters:
type: AttachmentType<T>
Type: AttachmentType<T>
Return Type:
T
myThrownEnderpearl.getAttachmentData<T>(mySupplier);
Parameters:
type: Supplier<AttachmentType<T>>
Type: Supplier<AttachmentType<T>>
Return Type:
T
Returns: The eye position of the entity.
myThrownEnderpearl.getEyePosition(myFloat);
Parameters:
partialTicks: float
Type: float
- The partial ticks to get the eye position for.
Return Type:
Vec3
Returns: The view vector of the entity.
myThrownEnderpearl.getViewVector(myFloat);
Parameters:
partialTicks: float
Type: float
- The partial ticks to get the view vector for.
Return Type:
Vec3
Returns: The x coordinate of the entity.
// ThrownEnderpearl.getX(scale as double) as double;myThrownEnderpearl.getX(myDouble);
Parameters:
scale: double
Type: double
- The scale to get the x coordinate of the entity.
Return Type:
double
Returns: The y coordinate of the entity.
// ThrownEnderpearl.getY(scale as double) as double;myThrownEnderpearl.getY(myDouble);
Parameters:
scale: double
Type: double
- The scale to get the y coordinate of the entity.
Return Type:
double
Returns: The z coordinate of the entity.
// ThrownEnderpearl.getZ(scale as double) as double;myThrownEnderpearl.getZ(myDouble);
Parameters:
scale: double
Type: double
- The scale to get the z coordinate of the entity.
Return Type:
double
myThrownEnderpearl.hasAttachmentData<T>(myAttachmentType);
Parameters:
type: AttachmentType<T>
Type: AttachmentType<T>
Return Type:
bool
myThrownEnderpearl.hasAttachmentData<T>(mySupplier);
Parameters:
type: Supplier<AttachmentType<T>>
Type: Supplier<AttachmentType<T>>
Return Type:
bool
// ThrownEnderpearl.hasCustomName as boolmyThrownEnderpearl.hasCustomName
Return Type:
bool
// ThrownEnderpearl.hasCustomName as boolmyThrownEnderpearl.hasCustomName
Return Type:
bool
Returns: true if the entity has a custom name.
// ThrownEnderpearl.hasCustomName() as bool;myThrownEnderpearl.hasCustomName();
Return Type:
bool
// ThrownEnderpearl.hasCustomName() as bool;myThrownEnderpearl.hasCustomName();
Return Type:
bool
// ThrownEnderpearl.hasExactlyOnePlayerPassenger as boolmyThrownEnderpearl.hasExactlyOnePlayerPassenger
Return Type:
bool
Returns: true if the entity has exactly one player passenger.
// ThrownEnderpearl.hasExactlyOnePlayerPassenger() as bool;myThrownEnderpearl.hasExactlyOnePlayerPassenger();
Return Type:
bool
// ThrownEnderpearl.hasGlowingTag as boolmyThrownEnderpearl.hasGlowingTag
Return Type:
bool
Returns: true if the entity is currently glowing.
// ThrownEnderpearl.hasGlowingTag() as bool;myThrownEnderpearl.hasGlowingTag();
Return Type:
bool
Returns: true if the entity has an indirect passenger.
myThrownEnderpearl.hasIndirectPassenger(myEntity);
Return Type:
bool
Returns: true if the entity has a passenger that matches the predicate.
myThrownEnderpearl.hasPassenger(myPredicate);
Parameters:
Return Type:
bool
DamageSource
and amount.Returns: true if the entity was hurt.
myThrownEnderpearl.hurt(myDamageSource, myFloat);
Parameters:
amount: float
Type: float
- The amount of damage to deal.
Return Type:
bool
// ThrownEnderpearl.id as intmyThrownEnderpearl.id
Return Type:
int
Returns: The ID of the entity.
// ThrownEnderpearl.id() as int;myThrownEnderpearl.id();
Return Type:
int
BlockState
that this entity is currently inside.// ThrownEnderpearl.inBlockState as BlockStatemyThrownEnderpearl.inBlockState
Return Type:
BlockState
BlockState
that this entity is currently inside.Returns: The block state that this entity is currently inside
myThrownEnderpearl.inBlockState();
Return Type:
BlockState
// ThrownEnderpearl.isAlive as boolmyThrownEnderpearl.isAlive
Return Type:
bool
Returns: true if the entity is alive.
// ThrownEnderpearl.isAlive() as bool;myThrownEnderpearl.isAlive();
Return Type:
bool
// ThrownEnderpearl.isAlwaysTicking as boolmyThrownEnderpearl.isAlwaysTicking
Return Type:
bool
Returns: true if the entity is always ticking.
// ThrownEnderpearl.isAlwaysTicking() as bool;myThrownEnderpearl.isAlwaysTicking();
Return Type:
bool
// ThrownEnderpearl.isAttackable as boolmyThrownEnderpearl.isAttackable
Return Type:
bool
Returns: true if the entity is attackable.
// ThrownEnderpearl.isAttackable() as bool;myThrownEnderpearl.isAttackable();
Return Type:
bool
BlockState
at the given BlockPos
.Returns: true if the entity is colliding with the block.
myThrownEnderpearl.isColliding(myBlockPos, myBlockState);
Parameters:
Return Type:
bool
// ThrownEnderpearl.isCrouching as boolmyThrownEnderpearl.isCrouching
Return Type:
bool
Returns: true if the entity is crouching.
// ThrownEnderpearl.isCrouching() as bool;myThrownEnderpearl.isCrouching();
Return Type:
bool
// ThrownEnderpearl.isCurrentlyGlowing as boolmyThrownEnderpearl.isCurrentlyGlowing
Return Type:
bool
Returns: true if the entity is currently glowing.
// ThrownEnderpearl.isCurrentlyGlowing() as bool;myThrownEnderpearl.isCurrentlyGlowing();
Return Type:
bool
// ThrownEnderpearl.isCustomNameVisible as boolmyThrownEnderpearl.isCustomNameVisible
Return Type:
bool
Returns: true if the custom name is visible.
// ThrownEnderpearl.isCustomNameVisible() as bool;myThrownEnderpearl.isCustomNameVisible();
Return Type:
bool
// ThrownEnderpearl.isDescending as boolmyThrownEnderpearl.isDescending
Return Type:
bool
Returns: true if the entity is descending.
// ThrownEnderpearl.isDescending() as bool;myThrownEnderpearl.isDescending();
Return Type:
bool
// ThrownEnderpearl.isDiscrete as boolmyThrownEnderpearl.isDiscrete
Return Type:
bool
Returns: true if the entity is being discrete.
// ThrownEnderpearl.isDiscrete() as bool;myThrownEnderpearl.isDiscrete();
Return Type:
bool
Returns: true if the entity is free to move in the given position.
// ThrownEnderpearl.isFree(x as double, y as double, z as double) as bool;myThrownEnderpearl.isFree(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
- The x position to check. y: double
Type: double
- The y position to check. z: double
Type: double
- The z position to check.
Return Type:
bool
// ThrownEnderpearl.isFullyFrozen as boolmyThrownEnderpearl.isFullyFrozen
Return Type:
bool
Returns: true if the entity is fully frozen.
// ThrownEnderpearl.isFullyFrozen() as bool;myThrownEnderpearl.isFullyFrozen();
Return Type:
bool
// ThrownEnderpearl.isInLava as boolmyThrownEnderpearl.isInLava
Return Type:
bool
Returns: true if the entity is in lava.
// ThrownEnderpearl.isInLava() as bool;myThrownEnderpearl.isInLava();
Return Type:
bool
// ThrownEnderpearl.isInvisible as boolmyThrownEnderpearl.isInvisible
Return Type:
bool
Returns: true if the entity is invisible.
// ThrownEnderpearl.isInvisible() as bool;myThrownEnderpearl.isInvisible();
Return Type:
bool
Player
.Returns: true if the entity is invisible to the player.
myThrownEnderpearl.isInvisibleTo(myPlayer);
Return Type:
bool
// ThrownEnderpearl.isInvulnerable as boolmyThrownEnderpearl.isInvulnerable
Return Type:
bool
Returns: true if the entity is invulnerable.
// ThrownEnderpearl.isInvulnerable() as bool;myThrownEnderpearl.isInvulnerable();
Return Type:
bool
DamageSource
.Returns: true if the entity is invulnerable to the damage source.
myThrownEnderpearl.isInvulnerableTo(myDamageSource);
Parameters:
Return Type:
bool
// ThrownEnderpearl.isInWall as boolmyThrownEnderpearl.isInWall
Return Type:
bool
Returns: true if the entity is in a wall.
// ThrownEnderpearl.isInWall() as bool;myThrownEnderpearl.isInWall();
Return Type:
bool
// ThrownEnderpearl.isInWater as boolmyThrownEnderpearl.isInWater
Return Type:
bool
Returns: true if the entity is in water.
// ThrownEnderpearl.isInWater() as bool;myThrownEnderpearl.isInWater();
Return Type:
bool
// ThrownEnderpearl.isInWaterOrBubble as boolmyThrownEnderpearl.isInWaterOrBubble
Return Type:
bool
Returns: true if the entity is in water or a bubble column.
// ThrownEnderpearl.isInWaterOrBubble() as bool;myThrownEnderpearl.isInWaterOrBubble();
Return Type:
bool
// ThrownEnderpearl.isInWaterOrRain as boolmyThrownEnderpearl.isInWaterOrRain
Return Type:
bool
Returns: true if the entity is in water or rain.
// ThrownEnderpearl.isInWaterOrRain() as bool;myThrownEnderpearl.isInWaterOrRain();
Return Type:
bool
// ThrownEnderpearl.isInWaterRainOrBubble as boolmyThrownEnderpearl.isInWaterRainOrBubble
Return Type:
bool
Returns: true if the entity is in water or rain or a bubble column.
// ThrownEnderpearl.isInWaterRainOrBubble() as bool;myThrownEnderpearl.isInWaterRainOrBubble();
Return Type:
bool
// ThrownEnderpearl.isNoGravity as boolmyThrownEnderpearl.isNoGravity
Return Type:
bool
Returns: true if the entity has no gravity.
// ThrownEnderpearl.isNoGravity() as bool;myThrownEnderpearl.isNoGravity();
Return Type:
bool
// ThrownEnderpearl.isOnFire as boolmyThrownEnderpearl.isOnFire
Return Type:
bool
Returns: true if the entity is on fire.
// ThrownEnderpearl.isOnFire() as bool;myThrownEnderpearl.isOnFire();
Return Type:
bool
// ThrownEnderpearl.isOnPortalCooldown as boolmyThrownEnderpearl.isOnPortalCooldown
Return Type:
bool
Returns: true if the entity is on portal cooldown.
// ThrownEnderpearl.isOnPortalCooldown() as bool;myThrownEnderpearl.isOnPortalCooldown();
Return Type:
bool
// ThrownEnderpearl.isPassenger as boolmyThrownEnderpearl.isPassenger
Return Type:
bool
Returns: true if the entity is a passenger.
// ThrownEnderpearl.isPassenger() as bool;myThrownEnderpearl.isPassenger();
Return Type:
bool
Returns: true if the entity is a passenger of the same vehicle.
myThrownEnderpearl.isPassengerOfSameVehicle(myEntity);
Return Type:
bool
// ThrownEnderpearl.isPickable as boolmyThrownEnderpearl.isPickable
Return Type:
bool
Returns: true if the entity is pickable.
// ThrownEnderpearl.isPickable() as bool;myThrownEnderpearl.isPickable();
Return Type:
bool
// ThrownEnderpearl.isPushable as boolmyThrownEnderpearl.isPushable
Return Type:
bool
Returns: true if the entity is pushable.
// ThrownEnderpearl.isPushable() as bool;myThrownEnderpearl.isPushable();
Return Type:
bool
// ThrownEnderpearl.isPushedByFluid as boolmyThrownEnderpearl.isPushedByFluid
Return Type:
bool
Returns: true if the entity is pushed by fluid.
// ThrownEnderpearl.isPushedByFluid() as bool;myThrownEnderpearl.isPushedByFluid();
Return Type:
bool
// ThrownEnderpearl.isRemoved as boolmyThrownEnderpearl.isRemoved
Return Type:
bool
Returns: Whether the entity has been removed.
// ThrownEnderpearl.isRemoved() as bool;myThrownEnderpearl.isRemoved();
Return Type:
bool
// ThrownEnderpearl.isShiftKeyDown as boolmyThrownEnderpearl.isShiftKeyDown
Return Type:
bool
Returns: true if the shift key is down.
// ThrownEnderpearl.isShiftKeyDown() as bool;myThrownEnderpearl.isShiftKeyDown();
Return Type:
bool
// ThrownEnderpearl.isSilent as boolmyThrownEnderpearl.isSilent
Return Type:
bool
Returns: true if the entity is silent.
// ThrownEnderpearl.isSilent() as bool;myThrownEnderpearl.isSilent();
Return Type:
bool
// ThrownEnderpearl.isSpectator as boolmyThrownEnderpearl.isSpectator
Return Type:
bool
Returns: true if the entity is a spectator.
// ThrownEnderpearl.isSpectator() as bool;myThrownEnderpearl.isSpectator();
Return Type:
bool
// ThrownEnderpearl.isSprinting as boolmyThrownEnderpearl.isSprinting
Return Type:
bool
Returns: true if the entity is sprinting.
// ThrownEnderpearl.isSprinting() as bool;myThrownEnderpearl.isSprinting();
Return Type:
bool
// ThrownEnderpearl.isSteppingCarefully as boolmyThrownEnderpearl.isSteppingCarefully
Return Type:
bool
Returns: true if the entity is stepping carefully.
// ThrownEnderpearl.isSteppingCarefully() as bool;myThrownEnderpearl.isSteppingCarefully();
Return Type:
bool
// ThrownEnderpearl.isSuppressingBounce as boolmyThrownEnderpearl.isSuppressingBounce
Return Type:
bool
Returns: true if the entity is suppressing bounce.
// ThrownEnderpearl.isSuppressingBounce() as bool;myThrownEnderpearl.isSuppressingBounce();
Return Type:
bool
// ThrownEnderpearl.isSwimming as boolmyThrownEnderpearl.isSwimming
Return Type:
bool
Returns: true if the entity is swimming.
// ThrownEnderpearl.isSwimming() as bool;myThrownEnderpearl.isSwimming();
Return Type:
bool
// ThrownEnderpearl.isUnderWater as boolmyThrownEnderpearl.isUnderWater
Return Type:
bool
Returns: true if the entity is underwater.
// ThrownEnderpearl.isUnderWater() as bool;myThrownEnderpearl.isUnderWater();
Return Type:
bool
// ThrownEnderpearl.isVehicle as boolmyThrownEnderpearl.isVehicle
Return Type:
bool
Returns: true if the entity is a vehicle.
// ThrownEnderpearl.isVehicle() as bool;myThrownEnderpearl.isVehicle();
Return Type:
bool
// ThrownEnderpearl.isVisuallyCrawling as boolmyThrownEnderpearl.isVisuallyCrawling
Return Type:
bool
Returns: true if the entity is visually crawling.
// ThrownEnderpearl.isVisuallyCrawling() as bool;myThrownEnderpearl.isVisuallyCrawling();
Return Type:
bool
// ThrownEnderpearl.isVisuallySwimming as boolmyThrownEnderpearl.isVisuallySwimming
Return Type:
bool
Returns: true if the entity is visually swimming.
// ThrownEnderpearl.isVisuallySwimming() as bool;myThrownEnderpearl.isVisuallySwimming();
Return Type:
bool
// ThrownEnderpearl.kill();myThrownEnderpearl.kill();
// ThrownEnderpearl.lavaHurt();myThrownEnderpearl.lavaHurt();
// ThrownEnderpearl.maxAirSupply as intmyThrownEnderpearl.maxAirSupply
Return Type:
int
Returns: The maximum air supply of the entity.
// ThrownEnderpearl.maxAirSupply() as int;myThrownEnderpearl.maxAirSupply();
Return Type:
int
// ThrownEnderpearl.maxFallDistance as intmyThrownEnderpearl.maxFallDistance
Return Type:
int
Returns: The maximum fall distance of the entity.
// ThrownEnderpearl.maxFallDistance() as int;myThrownEnderpearl.maxFallDistance();
Return Type:
int
myThrownEnderpearl.moveRelative(myFloat, myVec3);
// ThrownEnderpearl.moveTo(x as double, y as double, z as double);myThrownEnderpearl.moveTo(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
- The x position to move the entity to. y: double
Type: double
- The y position to move the entity to. z: double
Type: double
- The z position to move the entity to. myThrownEnderpearl.moveTo(myBlockPos, myFloat, myFloat);
// 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: double
Type: double
- The x position to move the entity to. y: double
Type: double
- The y position to move the entity to. z: double
Type: double
- The z position to move the entity to. yaw: float
Type: float
- The yaw to move the entity to. pitch: float
Type: float
- The pitch to move the entity to. // ThrownEnderpearl.onGround as boolmyThrownEnderpearl.onGround
Return Type:
bool
// ThrownEnderpearl.percentFrozen as floatmyThrownEnderpearl.percentFrozen
Return Type:
float
Returns: The percent the entity is frozen.
// ThrownEnderpearl.percentFrozen() as float;myThrownEnderpearl.percentFrozen();
Return Type:
float
// ThrownEnderpearl.pistonPushReaction as PushReactionmyThrownEnderpearl.pistonPushReaction
Return Type:
PushReaction
Returns: The piston push reaction of the entity.
myThrownEnderpearl.pistonPushReaction();
Return Type:
PushReaction
myThrownEnderpearl.playSound(mySoundEvent, myFloat, myFloat);
Parameters:
volume: float
Type: float
- The volume of the sound. pitch: float
Type: float
- The pitch of the sound. // ThrownEnderpearl.registryName as ResourceLocationmyThrownEnderpearl.registryName
Return Type:
ResourceLocation
Returns: The registry name of the entity.
myThrownEnderpearl.registryName();
Return Type:
ResourceLocation
Returns: true if the tag was removed.
// ThrownEnderpearl.removeTag(tagName as string) as bool;myThrownEnderpearl.removeTag(myString);
Parameters:
tagName: string
Type: string
- The name of the tag to remove.
Return Type:
bool
// ThrownEnderpearl.removeVehicle();myThrownEnderpearl.removeVehicle();
// ThrownEnderpearl.setAirSupply(air as int);myThrownEnderpearl.setAirSupply(myInt);
Parameters:
air: int
Type: int
- The new air supply of the entity. myThrownEnderpearl.setAttachmentData<T>(myAttachmentType, myT);
Parameters:
type: AttachmentType<T>
Type: AttachmentType<T>
data: T
Type: T
Return Type:
T?
myThrownEnderpearl.setAttachmentData<T>(mySupplier, myT);
Parameters:
type: Supplier<AttachmentType<T>>
Type: Supplier<AttachmentType<T>>
data: T
Type: T
Return Type:
T?
// ThrownEnderpearl.setCustomNameVisible(visible as bool);myThrownEnderpearl.setCustomNameVisible(myBool);
Parameters:
visible: bool
Type: bool
- true if the custom name should be visible. // ThrownEnderpearl.setDeltaMovement(xDelta as double, yDelta as double, zDelta as double);myThrownEnderpearl.setDeltaMovement(myDouble, myDouble, myDouble);
Parameters:
xDelta: double
Type: double
- The x delta movement to set. yDelta: double
Type: double
- The y delta movement to set. zDelta: double
Type: double
- The z delta movement to set. // ThrownEnderpearl.setGlowingTag(glowing as bool);myThrownEnderpearl.setGlowingTag(myBool);
Parameters:
glowing: bool
Type: bool
- true if the entity should be glowing. // ThrownEnderpearl.setInvisible(invisible as bool);myThrownEnderpearl.setInvisible(myBool);
Parameters:
invisible: bool
Type: bool
- true if the entity should be invisible. // ThrownEnderpearl.setInvulnerable(invulnerable as bool);myThrownEnderpearl.setInvulnerable(myBool);
Parameters:
invulnerable: bool
Type: bool
- true if the entity should be invulnerable. // ThrownEnderpearl.setIsInPowderSnow(inPowderSnow as bool);myThrownEnderpearl.setIsInPowderSnow(myBool);
Parameters:
inPowderSnow: bool
Type: bool
- Whether the entity is in powder snow. // ThrownEnderpearl.setNoGravity(noGravity as bool);myThrownEnderpearl.setNoGravity(myBool);
Parameters:
noGravity: bool
Type: bool
- The no gravity state to set the entity to. // ThrownEnderpearl.setOldPosAndRot();myThrownEnderpearl.setOldPosAndRot();
// ThrownEnderpearl.setOnGround(onGround as bool);myThrownEnderpearl.setOnGround(myBool);
Parameters:
onGround: bool
Type: bool
- The on ground state to set the entity to. // ThrownEnderpearl.setPortalCooldown();myThrownEnderpearl.setPortalCooldown();
// ThrownEnderpearl.setPos(x as double, y as double, z as double);myThrownEnderpearl.setPos(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
- The x position to set the entity to. y: double
Type: double
- The y position to set the entity to. z: double
Type: double
- The z position to set the entity to. // ThrownEnderpearl.setPosRaw(x as double, y as double, z as double);myThrownEnderpearl.setPosRaw(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
- The x coordinate to set the position to. y: double
Type: double
- The y coordinate to set the position to. z: double
Type: double
- The z coordinate to set the position to. myThrownEnderpearl.setRemoved(myRemovalReason);
Parameters:
// ThrownEnderpearl.setShiftKeyDown(keyDown as bool);myThrownEnderpearl.setShiftKeyDown(myBool);
Parameters:
keyDown: bool
Type: bool
- true if the shift key is down. // ThrownEnderpearl.setSilent(silent as bool);myThrownEnderpearl.setSilent(myBool);
Parameters:
silent: bool
Type: bool
- The silent state to set the entity to. // ThrownEnderpearl.setSprinting(sprinting as bool);myThrownEnderpearl.setSprinting(myBool);
Parameters:
sprinting: bool
Type: bool
- true if the entity should be sprinting. // ThrownEnderpearl.setSwimming(swimming as bool);myThrownEnderpearl.setSwimming(myBool);
Parameters:
swimming: bool
Type: bool
- true if the entity should be swimming. // ThrownEnderpearl.setTicksFrozen(ticks as int);myThrownEnderpearl.setTicksFrozen(myInt);
Parameters:
ticks: int
Type: int
- The new number of ticks the entity has been frozen. // ThrownEnderpearl.shouldBeSaved as boolmyThrownEnderpearl.shouldBeSaved
Return Type:
bool
Returns: true if the entity should be saved.
// ThrownEnderpearl.shouldBeSaved() as bool;myThrownEnderpearl.shouldBeSaved();
Return Type:
bool
// ThrownEnderpearl.shouldInformAdmins as boolmyThrownEnderpearl.shouldInformAdmins
Return Type:
bool
Returns: True if the commands from this source should inform admins, false otherwise.
// ThrownEnderpearl.shouldInformAdmins() as bool;myThrownEnderpearl.shouldInformAdmins();
Return Type:
bool
// ThrownEnderpearl.shouldShowName as boolmyThrownEnderpearl.shouldShowName
Return Type:
bool
Returns: true if the entity should show its name.
// ThrownEnderpearl.shouldShowName() as bool;myThrownEnderpearl.shouldShowName();
Return Type:
bool
// ThrownEnderpearl.showVehicleHealth as boolmyThrownEnderpearl.showVehicleHealth
Return Type:
bool
Returns: true if the entity should show vehicle health.
// ThrownEnderpearl.showVehicleHealth() as bool;myThrownEnderpearl.showVehicleHealth();
Return Type:
bool
SoundSource
of the entity.// ThrownEnderpearl.soundSource as SoundSourcemyThrownEnderpearl.soundSource
Return Type:
SoundSource
SoundSource
of the entity.Returns: The sound source of the entity.
myThrownEnderpearl.soundSource();
Return Type:
SoundSource
Returns: true if the entity started riding.
myThrownEnderpearl.startRiding(myEntity, myBool);
Parameters:
Return Type:
bool
// ThrownEnderpearl.stopRiding();myThrownEnderpearl.stopRiding();
// ThrownEnderpearl.stringUUID as stringmyThrownEnderpearl.stringUUID
Return Type:
string
Returns: The UUID of the entity as a string.
// ThrownEnderpearl.stringUUID() as string;myThrownEnderpearl.stringUUID();
Return Type:
string
These tags are arbitrary strings that can be attached to an entity. A single entity is limited to 1024.
// ThrownEnderpearl.tags as Set<string>myThrownEnderpearl.tags
Return Type:
Set<string>
These tags are arbitrary strings that can be attached to an entity. A single entity is limited to 1024.
Returns: The tags of the entity.
// ThrownEnderpearl.tags() as Set<string>;myThrownEnderpearl.tags();
Return Type:
Set<string>
// ThrownEnderpearl.teamColor as intmyThrownEnderpearl.teamColor
Return Type:
int
Returns: The team color of the entity.
// ThrownEnderpearl.teamColor() as int;myThrownEnderpearl.teamColor();
Return Type:
int
// ThrownEnderpearl.teleportTo(x as double, y as double, z as double);myThrownEnderpearl.teleportTo(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
- The x coordinate to teleport to. y: double
Type: double
- The y coordinate to teleport to. z: double
Type: double
- The z coordinate to teleport to. // ThrownEnderpearl.ticksFrozen as intmyThrownEnderpearl.ticksFrozen
Return Type:
int
Returns: The number of ticks the entity has been frozen.
// ThrownEnderpearl.ticksFrozen() as int;myThrownEnderpearl.ticksFrozen();
Return Type:
int
// ThrownEnderpearl.ticksRequiredToFreeze as intmyThrownEnderpearl.ticksRequiredToFreeze
Return Type:
int
Returns: The number of ticks required to freeze the entity.
// ThrownEnderpearl.ticksRequiredToFreeze() as int;myThrownEnderpearl.ticksRequiredToFreeze();
Return Type:
int
// ThrownEnderpearl.turn(yaw as double, pitch as double);myThrownEnderpearl.turn(myDouble, myDouble);
Parameters:
yaw: double
Type: double
- The yaw to turn the entity to. pitch: double
Type: double
- The pitch to turn the entity to. EntityType
of the entity.Returns: The EntityType
of the entity.
myThrownEnderpearl.type();
Return Type:
EntityType<Entity>
// ThrownEnderpearl.unRide();myThrownEnderpearl.unRide();
// ThrownEnderpearl.uuid as UUIDmyThrownEnderpearl.uuid
Return Type:
UUID
Returns: The UUID of the entity.
// ThrownEnderpearl.uuid() as UUID;myThrownEnderpearl.uuid();
Return Type:
UUID
// ThrownEnderpearl.x as doublemyThrownEnderpearl.x
Return Type:
double
Returns: The x coordinate of the entity.
// ThrownEnderpearl.x() as double;myThrownEnderpearl.x();
Return Type:
double
// ThrownEnderpearl.y as doublemyThrownEnderpearl.y
Return Type:
double
Returns: The y coordinate of the entity.
// ThrownEnderpearl.y() as double;myThrownEnderpearl.y();
Return Type:
double
// ThrownEnderpearl.z as doublemyThrownEnderpearl.z
Return Type:
double
Returns: The z coordinate of the entity.
// ThrownEnderpearl.z() as double;myThrownEnderpearl.z();
Return Type:
double