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