Fireball

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

Extends

Fireball extends AbstractHurtingProjectile.

Implements

Fireball implements the following interfaces:

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

Undocumented Interfaces

TraceableEntity,IForgeEntity

Members

Getter
script.zs
// Fireball.acceptsFailure as bool
myFireball.acceptsFailure

Return Type: bool

acceptsFailure() as bool
script.zs
// Fireball.acceptsFailure() as bool;
myFireball.acceptsFailure();

Return Type: bool

Getter
script.zs
// Fireball.acceptsSuccess as bool
myFireball.acceptsSuccess

Return Type: bool

acceptsSuccess() as bool
script.zs
// Fireball.acceptsSuccess() as bool;
myFireball.acceptsSuccess();

Return Type: bool

addTag(tagName as string) as bool
script.zs
// Fireball.addTag(tagName as string) as bool;
myFireball.addTag(myString);

Parameters:

tagName Type: string

Return Type: bool

Getter
script.zs
// Fireball.airSupply as int
myFireball.airSupply

Return Type: int

airSupply() as int
script.zs
// Fireball.airSupply() as int;
myFireball.airSupply();

Return Type: int

Getter
script.zs
// Fireball.allSlots as Iterable<ItemStack>
myFireball.allSlots

Return Type: Iterable<ItemStack>

allSlots() as Iterable<ItemStack>
script.zs
// Fireball.allSlots() as Iterable<ItemStack>;
myFireball.allSlots();

Return Type: Iterable<ItemStack>

Getter
script.zs
// Fireball.alwaysAccepts as bool
myFireball.alwaysAccepts

Return Type: bool

alwaysAccepts() as bool
script.zs
// Fireball.alwaysAccepts() as bool;
myFireball.alwaysAccepts();

Return Type: bool

Getter
script.zs
// Fireball.armorSlots as Iterable<ItemStack>
myFireball.armorSlots

Return Type: Iterable<ItemStack>

armorSlots() as Iterable<ItemStack>
script.zs
// Fireball.armorSlots() as Iterable<ItemStack>;
myFireball.armorSlots();

Return Type: Iterable<ItemStack>

Getter
script.zs
// Fireball.bbHeight as float
myFireball.bbHeight

Return Type: float

bbHeight() as float
script.zs
// Fireball.bbHeight() as float;
myFireball.bbHeight();

Return Type: float

Getter
script.zs
// Fireball.bbWidth as float
myFireball.bbWidth

Return Type: float

bbWidth() as float
script.zs
// Fireball.bbWidth() as float;
myFireball.bbWidth();

Return Type: float

Getter
script.zs
// Fireball.blockPosiion as BlockPos
myFireball.blockPosiion

Return Type: BlockPos

blockPosiion() as BlockPos
script.zs
// Fireball.blockPosiion() as BlockPos;
myFireball.blockPosiion();

Return Type: BlockPos

Getter
script.zs
// Fireball.blockPosition as BlockPos
myFireball.blockPosition

Return Type: BlockPos

blockPosition() as BlockPos
script.zs
// Fireball.blockPosition() as BlockPos;
myFireball.blockPosition();

Return Type: BlockPos

Getter
script.zs
// Fireball.blockX as int
myFireball.blockX

Return Type: int

blockX() as int
script.zs
// Fireball.blockX() as int;
myFireball.blockX();

Return Type: int

Getter
script.zs
// Fireball.blockY as int
myFireball.blockY

Return Type: int

blockY() as int
script.zs
// Fireball.blockY() as int;
myFireball.blockY();

Return Type: int

Getter
script.zs
// Fireball.blockZ as int
myFireball.blockZ

Return Type: int

blockZ() as int
script.zs
// Fireball.blockZ() as int;
myFireball.blockZ();

Return Type: int

Getter
script.zs
// Fireball.boundingBox as AABB
myFireball.boundingBox

Return Type: AABB

boundingBox() as AABB
script.zs
// Fireball.boundingBox() as AABB;
myFireball.boundingBox();

Return Type: AABB

Getter
script.zs
// Fireball.boundingBoxForCulling as AABB
myFireball.boundingBoxForCulling

Return Type: AABB

boundingBoxForCulling() as AABB
script.zs
// Fireball.boundingBoxForCulling() as AABB;
myFireball.boundingBoxForCulling();

Return Type: AABB

Getter
script.zs
// Fireball.canBeCollidedWith as bool
myFireball.canBeCollidedWith

Return Type: bool

canBeCollidedWith() as bool
script.zs
// Fireball.canBeCollidedWith() as bool;
myFireball.canBeCollidedWith();

Return Type: bool

canCollideWith(other as Entity) as bool
script.zs
// Fireball.canCollideWith(other as Entity) as bool;
myFireball.canCollideWith(myEntity);

Parameters:

other Type: Entity

Return Type: bool

Getter
script.zs
// Fireball.canFreeze as bool
myFireball.canFreeze

Return Type: bool

canFreeze() as bool
script.zs
// Fireball.canFreeze() as bool;
myFireball.canFreeze();

Return Type: bool

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

Parameters:

other Type: Entity
distance Type: double

Return Type: bool

Getter
script.zs
// Fireball.commandSenderWorld as Level
myFireball.commandSenderWorld

Return Type: Level

commandSenderWorld() as Level
script.zs
// Fireball.commandSenderWorld() as Level;
myFireball.commandSenderWorld();

Return Type: Level

Getter
script.zs
// Fireball.controllingPassenger as Entity
myFireball.controllingPassenger

Return Type: Entity

controllingPassenger() as Entity
script.zs
// Fireball.controllingPassenger() as Entity;
myFireball.controllingPassenger();

Return Type: Entity

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

Return Type: MapData

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

Returns: The custom data for this Entity.

script.zs
// Fireball.customData() as MapData;
myFireball.customData();

Return Type: MapData

Getter
script.zs
// Fireball.customName as Component
myFireball.customName

Return Type: Component

Getter
script.zs
// Fireball.customName as Component
myFireball.customName

Return Type: Component

customName() as Component
script.zs
// Fireball.customName() as Component;
myFireball.customName();

Return Type: Component

customName() as Component
script.zs
// Fireball.customName() as Component;
myFireball.customName();

Return Type: Component

Getter
script.zs
// Fireball.dampensVibrations as bool
myFireball.dampensVibrations

Return Type: bool

dampensVibrations() as bool
script.zs
// Fireball.dampensVibrations() as bool;
myFireball.dampensVibrations();

Return Type: bool

Getter
Gets the NBT data of this Entity.
script.zs
// Fireball.data as MapData
myFireball.data

Return Type: MapData

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

Returns: The NBT data of this Entity.

script.zs
// Fireball.data() as MapData;
myFireball.data();

Return Type: MapData

Getter
script.zs
// Fireball.deltaMovement as Vec3
myFireball.deltaMovement

Return Type: Vec3

Setter
script.zs
// Fireball.deltaMovement = (deltaMovement as Vec3);
myFireball.deltaMovement = myVec3;

Parameters:

deltaMovement Type: Vec3
deltaMovement() as Vec3
script.zs
// Fireball.deltaMovement() as Vec3;
myFireball.deltaMovement();

Return Type: Vec3

deltaMovement(deltaMovement as Vec3)
script.zs
// Fireball.deltaMovement(deltaMovement as Vec3);
myFireball.deltaMovement(myVec3);

Parameters:

deltaMovement Type: Vec3
Getter
script.zs
// Fireball.dimensionChangingDelay as int
myFireball.dimensionChangingDelay

Return Type: int

dimensionChangingDelay() as int
script.zs
// Fireball.dimensionChangingDelay() as int;
myFireball.dimensionChangingDelay();

Return Type: int

Getter
script.zs
// Fireball.direction as Direction
myFireball.direction

Return Type: Direction

direction() as Direction
script.zs
// Fireball.direction() as Direction;
myFireball.direction();

Return Type: Direction

discard()
script.zs
// Fireball.discard();
myFireball.discard();
Getter
script.zs
// Fireball.dismountsUnderwater as bool
myFireball.dismountsUnderwater

Return Type: bool

Getter
script.zs
// Fireball.displayName as Component
myFireball.displayName

Return Type: Component

Getter
script.zs
// Fireball.displayName as Component
myFireball.displayName

Return Type: Component

displayName() as Component
script.zs
// Fireball.displayName() as Component;
myFireball.displayName();

Return Type: Component

displayName() as Component
script.zs
// Fireball.displayName() as Component;
myFireball.displayName();

Return Type: Component

distanceTo(entity as Entity) as float
script.zs
// Fireball.distanceTo(entity as Entity) as float;
myFireball.distanceTo(myEntity);

Parameters:

entity Type: Entity

Return Type: float

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

Parameters:

entity Type: Entity

Return Type: double

distanceToSqr(vec as Vec3) as double
script.zs
// Fireball.distanceToSqr(vec as Vec3) as double;
myFireball.distanceToSqr(myVec3);

Parameters:

vec Type: Vec3

Return Type: double

Getter
script.zs
// Fireball.effectSource as Entity
myFireball.effectSource

Return Type: Entity

effectSource() as Entity
script.zs
// Fireball.effectSource() as Entity;
myFireball.effectSource();

Return Type: Entity

ejectPassengers()
script.zs
// Fireball.ejectPassengers();
myFireball.ejectPassengers();
Getter
script.zs
// Fireball.eyeHeight as float
myFireball.eyeHeight

Return Type: float

eyeHeight() as float
script.zs
// Fireball.eyeHeight() as float;
myFireball.eyeHeight();

Return Type: float

Getter
script.zs
// Fireball.eyePosition as Vec3
myFireball.eyePosition

Return Type: Vec3

eyePosition() as Vec3
script.zs
// Fireball.eyePosition() as Vec3;
myFireball.eyePosition();

Return Type: Vec3

Getter
script.zs
// Fireball.eyeY as double
myFireball.eyeY

Return Type: double

eyeY() as double
script.zs
// Fireball.eyeY() as double;
myFireball.eyeY();

Return Type: double

Getter
script.zs
// Fireball.feetBlockState as BlockState
myFireball.feetBlockState

Return Type: BlockState

feetBlockState() as BlockState
script.zs
// Fireball.feetBlockState() as BlockState;
myFireball.feetBlockState();

Return Type: BlockState

Getter
script.zs
// Fireball.fireImmune as bool
myFireball.fireImmune

Return Type: bool

fireImmune() as bool
script.zs
// Fireball.fireImmune() as bool;
myFireball.fireImmune();

Return Type: bool

Getter
script.zs
// Fireball.firstPassenger as Entity
myFireball.firstPassenger

Return Type: Entity

firstPassenger() as Entity
script.zs
// Fireball.firstPassenger() as Entity;
myFireball.firstPassenger();

Return Type: Entity

Getter
script.zs
// Fireball.fluidJumpThreshold as double
myFireball.fluidJumpThreshold

Return Type: double

fluidJumpThreshold() as double
script.zs
// Fireball.fluidJumpThreshold() as double;
myFireball.fluidJumpThreshold();

Return Type: double

Getter
script.zs
// Fireball.forward as Vec3
myFireball.forward

Return Type: Vec3

forward() as Vec3
script.zs
// Fireball.forward() as Vec3;
myFireball.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
// Fireball.getCapability<T>(cap as Capability<T>, side as Direction) as T?;
myFireball.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
// Fireball.getCapability<T>(cap as Capability<T>) as T?;
myFireball.getCapability<T>(Capabilities.ENERGY);

Parameters:

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

Return Type: T?

getEyePosition(partialTicks as float) as Vec3
script.zs
// Fireball.getEyePosition(partialTicks as float) as Vec3;
myFireball.getEyePosition(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getPosition(partialTicks as float) as Vec3
script.zs
// Fireball.getPosition(partialTicks as float) as Vec3;
myFireball.getPosition(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getUpVector(partialTicks as float) as Vec3
script.zs
// Fireball.getUpVector(partialTicks as float) as Vec3;
myFireball.getUpVector(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getViewVector(partialTicks as float) as Vec3
script.zs
// Fireball.getViewVector(partialTicks as float) as Vec3;
myFireball.getViewVector(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getX(scale as double) as double
script.zs
// Fireball.getX(scale as double) as double;
myFireball.getX(myDouble);

Parameters:

scale Type: double

Return Type: double

getY(scale as double) as double
script.zs
// Fireball.getY(scale as double) as double;
myFireball.getY(myDouble);

Parameters:

scale Type: double

Return Type: double

getZ(scale as double) as double
script.zs
// Fireball.getZ(scale as double) as double;
myFireball.getZ(myDouble);

Parameters:

scale Type: double

Return Type: double

Getter
script.zs
// Fireball.handSlots as Iterable<ItemStack>
myFireball.handSlots

Return Type: Iterable<ItemStack>

handSlots() as Iterable<ItemStack>
script.zs
// Fireball.handSlots() as Iterable<ItemStack>;
myFireball.handSlots();

Return Type: Iterable<ItemStack>

Getter
script.zs
// Fireball.hasCustomName as bool
myFireball.hasCustomName

Return Type: bool

Getter
script.zs
// Fireball.hasCustomName as bool
myFireball.hasCustomName

Return Type: bool

hasCustomName() as bool
script.zs
// Fireball.hasCustomName() as bool;
myFireball.hasCustomName();

Return Type: bool

hasCustomName() as bool
script.zs
// Fireball.hasCustomName() as bool;
myFireball.hasCustomName();

Return Type: bool

Getter
script.zs
// Fireball.hasExactlyOnePlayerPassenger as bool
myFireball.hasExactlyOnePlayerPassenger

Return Type: bool

hasExactlyOnePlayerPassenger() as bool
script.zs
// Fireball.hasExactlyOnePlayerPassenger() as bool;
myFireball.hasExactlyOnePlayerPassenger();

Return Type: bool

Getter
script.zs
// Fireball.hasGlowingTag as bool
myFireball.hasGlowingTag

Return Type: bool

hasGlowingTag() as bool
script.zs
// Fireball.hasGlowingTag() as bool;
myFireball.hasGlowingTag();

Return Type: bool

hasIndirectPassenger(entity as Entity) as bool
script.zs
// Fireball.hasIndirectPassenger(entity as Entity) as bool;
myFireball.hasIndirectPassenger(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

hasPassenger(entity as Entity) as bool
script.zs
// Fireball.hasPassenger(entity as Entity) as bool;
myFireball.hasPassenger(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

hasPassenger(predicate as function(t as Entity) as bool) as bool
script.zs
// Fireball.hasPassenger(predicate as function(t as Entity) as bool) as bool;
myFireball.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
// Fireball.hurt(source as DamageSource, amount as float) as bool;
myFireball.hurt(myDamageSource, myFloat);

Parameters:

source Type: DamageSource
amount Type: float

Return Type: bool

Getter
script.zs
// Fireball.id as int
myFireball.id

Return Type: int

id() as int
script.zs
// Fireball.id() as int;
myFireball.id();

Return Type: int

Getter
script.zs
// Fireball.isAlive as bool
myFireball.isAlive

Return Type: bool

isAlive() as bool
script.zs
// Fireball.isAlive() as bool;
myFireball.isAlive();

Return Type: bool

Getter
script.zs
// Fireball.isAlwaysTicking as bool
myFireball.isAlwaysTicking

Return Type: bool

isAlwaysTicking() as bool
script.zs
// Fireball.isAlwaysTicking() as bool;
myFireball.isAlwaysTicking();

Return Type: bool

Getter
script.zs
// Fireball.isAttackable as bool
myFireball.isAttackable

Return Type: bool

isAttackable() as bool
script.zs
// Fireball.isAttackable() as bool;
myFireball.isAttackable();

Return Type: bool

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

Parameters:

pos Type: BlockPos
state Type: BlockState

Return Type: bool

Getter
script.zs
// Fireball.isCrouching as bool
myFireball.isCrouching

Return Type: bool

isCrouching() as bool
script.zs
// Fireball.isCrouching() as bool;
myFireball.isCrouching();

Return Type: bool

Getter
script.zs
// Fireball.isCurrentlyGlowing as bool
myFireball.isCurrentlyGlowing

Return Type: bool

isCurrentlyGlowing() as bool
script.zs
// Fireball.isCurrentlyGlowing() as bool;
myFireball.isCurrentlyGlowing();

Return Type: bool

Getter
script.zs
// Fireball.isCustomNameVisible as bool
myFireball.isCustomNameVisible

Return Type: bool

isCustomNameVisible() as bool
script.zs
// Fireball.isCustomNameVisible() as bool;
myFireball.isCustomNameVisible();

Return Type: bool

Getter
script.zs
// Fireball.isDescending as bool
myFireball.isDescending

Return Type: bool

isDescending() as bool
script.zs
// Fireball.isDescending() as bool;
myFireball.isDescending();

Return Type: bool

Getter
script.zs
// Fireball.isDiscrete as bool
myFireball.isDiscrete

Return Type: bool

isDiscrete() as bool
script.zs
// Fireball.isDiscrete() as bool;
myFireball.isDiscrete();

Return Type: bool

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

Parameters:

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

Return Type: bool

Getter
script.zs
// Fireball.isFullyFrozen as bool
myFireball.isFullyFrozen

Return Type: bool

isFullyFrozen() as bool
script.zs
// Fireball.isFullyFrozen() as bool;
myFireball.isFullyFrozen();

Return Type: bool

Getter
script.zs
// Fireball.isInLava as bool
myFireball.isInLava

Return Type: bool

isInLava() as bool
script.zs
// Fireball.isInLava() as bool;
myFireball.isInLava();

Return Type: bool

Getter
script.zs
// Fireball.isInvisible as bool
myFireball.isInvisible

Return Type: bool

isInvisible() as bool
script.zs
// Fireball.isInvisible() as bool;
myFireball.isInvisible();

Return Type: bool

isInvisibleTo(player as Player) as bool
script.zs
// Fireball.isInvisibleTo(player as Player) as bool;
myFireball.isInvisibleTo(myPlayer);

Parameters:

player Type: Player

Return Type: bool

Getter
script.zs
// Fireball.isInvulnerable as bool
myFireball.isInvulnerable

Return Type: bool

isInvulnerable() as bool
script.zs
// Fireball.isInvulnerable() as bool;
myFireball.isInvulnerable();

Return Type: bool

isInvulnerableTo(source as DamageSource) as bool
script.zs
// Fireball.isInvulnerableTo(source as DamageSource) as bool;
myFireball.isInvulnerableTo(myDamageSource);

Parameters:

source Type: DamageSource

Return Type: bool

Getter
script.zs
// Fireball.isInWall as bool
myFireball.isInWall

Return Type: bool

isInWall() as bool
script.zs
// Fireball.isInWall() as bool;
myFireball.isInWall();

Return Type: bool

Getter
script.zs
// Fireball.isInWater as bool
myFireball.isInWater

Return Type: bool

isInWater() as bool
script.zs
// Fireball.isInWater() as bool;
myFireball.isInWater();

Return Type: bool

Getter
script.zs
// Fireball.isInWaterOrBubble as bool
myFireball.isInWaterOrBubble

Return Type: bool

isInWaterOrBubble() as bool
script.zs
// Fireball.isInWaterOrBubble() as bool;
myFireball.isInWaterOrBubble();

Return Type: bool

Getter
script.zs
// Fireball.isInWaterOrRain as bool
myFireball.isInWaterOrRain

Return Type: bool

isInWaterOrRain() as bool
script.zs
// Fireball.isInWaterOrRain() as bool;
myFireball.isInWaterOrRain();

Return Type: bool

Getter
script.zs
// Fireball.isInWaterRainOrBubble as bool
myFireball.isInWaterRainOrBubble

Return Type: bool

isInWaterRainOrBubble() as bool
script.zs
// Fireball.isInWaterRainOrBubble() as bool;
myFireball.isInWaterRainOrBubble();

Return Type: bool

Getter
script.zs
// Fireball.isNoGravity as bool
myFireball.isNoGravity

Return Type: bool

isNoGravity() as bool
script.zs
// Fireball.isNoGravity() as bool;
myFireball.isNoGravity();

Return Type: bool

Getter
script.zs
// Fireball.isOnFire as bool
myFireball.isOnFire

Return Type: bool

isOnFire() as bool
script.zs
// Fireball.isOnFire() as bool;
myFireball.isOnFire();

Return Type: bool

Getter
script.zs
// Fireball.isOnPortalCooldown as bool
myFireball.isOnPortalCooldown

Return Type: bool

isOnPortalCooldown() as bool
script.zs
// Fireball.isOnPortalCooldown() as bool;
myFireball.isOnPortalCooldown();

Return Type: bool

Getter
script.zs
// Fireball.isPassenger as bool
myFireball.isPassenger

Return Type: bool

isPassenger() as bool
script.zs
// Fireball.isPassenger() as bool;
myFireball.isPassenger();

Return Type: bool

isPassengerOfSameVehicle(entity as Entity) as bool
script.zs
// Fireball.isPassengerOfSameVehicle(entity as Entity) as bool;
myFireball.isPassengerOfSameVehicle(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

Getter
script.zs
// Fireball.isPickable as bool
myFireball.isPickable

Return Type: bool

isPickable() as bool
script.zs
// Fireball.isPickable() as bool;
myFireball.isPickable();

Return Type: bool

Getter
script.zs
// Fireball.isPushable as bool
myFireball.isPushable

Return Type: bool

isPushable() as bool
script.zs
// Fireball.isPushable() as bool;
myFireball.isPushable();

Return Type: bool

Getter
script.zs
// Fireball.isPushedByFluid as bool
myFireball.isPushedByFluid

Return Type: bool

isPushedByFluid() as bool
script.zs
// Fireball.isPushedByFluid() as bool;
myFireball.isPushedByFluid();

Return Type: bool

Getter
script.zs
// Fireball.isRemoved as bool
myFireball.isRemoved

Return Type: bool

isRemoved() as bool
script.zs
// Fireball.isRemoved() as bool;
myFireball.isRemoved();

Return Type: bool

Getter
script.zs
// Fireball.isShiftKeyDown as bool
myFireball.isShiftKeyDown

Return Type: bool

isShiftKeyDown() as bool
script.zs
// Fireball.isShiftKeyDown() as bool;
myFireball.isShiftKeyDown();

Return Type: bool

Getter
script.zs
// Fireball.isSilent as bool
myFireball.isSilent

Return Type: bool

isSilent() as bool
script.zs
// Fireball.isSilent() as bool;
myFireball.isSilent();

Return Type: bool

Getter
script.zs
// Fireball.isSpectator as bool
myFireball.isSpectator

Return Type: bool

isSpectator() as bool
script.zs
// Fireball.isSpectator() as bool;
myFireball.isSpectator();

Return Type: bool

Getter
script.zs
// Fireball.isSprinting as bool
myFireball.isSprinting

Return Type: bool

isSprinting() as bool
script.zs
// Fireball.isSprinting() as bool;
myFireball.isSprinting();

Return Type: bool

Getter
script.zs
// Fireball.isSteppingCarefully as bool
myFireball.isSteppingCarefully

Return Type: bool

isSteppingCarefully() as bool
script.zs
// Fireball.isSteppingCarefully() as bool;
myFireball.isSteppingCarefully();

Return Type: bool

Getter
script.zs
// Fireball.isSuppressingBounce as bool
myFireball.isSuppressingBounce

Return Type: bool

isSuppressingBounce() as bool
script.zs
// Fireball.isSuppressingBounce() as bool;
myFireball.isSuppressingBounce();

Return Type: bool

Getter
script.zs
// Fireball.isSwimming as bool
myFireball.isSwimming

Return Type: bool

isSwimming() as bool
script.zs
// Fireball.isSwimming() as bool;
myFireball.isSwimming();

Return Type: bool

Getter
script.zs
// Fireball.isUnderWater as bool
myFireball.isUnderWater

Return Type: bool

isUnderWater() as bool
script.zs
// Fireball.isUnderWater() as bool;
myFireball.isUnderWater();

Return Type: bool

Getter
script.zs
// Fireball.isVehicle as bool
myFireball.isVehicle

Return Type: bool

isVehicle() as bool
script.zs
// Fireball.isVehicle() as bool;
myFireball.isVehicle();

Return Type: bool

Getter
script.zs
// Fireball.isVisuallyCrawling as bool
myFireball.isVisuallyCrawling

Return Type: bool

isVisuallyCrawling() as bool
script.zs
// Fireball.isVisuallyCrawling() as bool;
myFireball.isVisuallyCrawling();

Return Type: bool

Getter
script.zs
// Fireball.isVisuallySwimming as bool
myFireball.isVisuallySwimming

Return Type: bool

isVisuallySwimming() as bool
script.zs
// Fireball.isVisuallySwimming() as bool;
myFireball.isVisuallySwimming();

Return Type: bool

Getter
script.zs
// Fireball.item as ItemStack
myFireball.item

Return Type: ItemStack

item() as ItemStack
script.zs
// Fireball.item() as ItemStack;
myFireball.item();

Return Type: ItemStack

kill()
script.zs
// Fireball.kill();
myFireball.kill();
lavaHurt()
script.zs
// Fireball.lavaHurt();
myFireball.lavaHurt();
Getter
script.zs
// Fireball.level as Level
myFireball.level

Return Type: Level

Getter
script.zs
// Fireball.lookAngle as Vec3
myFireball.lookAngle

Return Type: Vec3

lookAngle() as Vec3
script.zs
// Fireball.lookAngle() as Vec3;
myFireball.lookAngle();

Return Type: Vec3

Getter
script.zs
// Fireball.maxAirSupply as int
myFireball.maxAirSupply

Return Type: int

maxAirSupply() as int
script.zs
// Fireball.maxAirSupply() as int;
myFireball.maxAirSupply();

Return Type: int

Getter
script.zs
// Fireball.maxFallDistance as int
myFireball.maxFallDistance

Return Type: int

maxFallDistance() as int
script.zs
// Fireball.maxFallDistance() as int;
myFireball.maxFallDistance();

Return Type: int

Getter
script.zs
// Fireball.motionDirection as Direction
myFireball.motionDirection

Return Type: Direction

motionDirection() as Direction
script.zs
// Fireball.motionDirection() as Direction;
myFireball.motionDirection();

Return Type: Direction

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

Parameters:

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

Parameters:

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

Return Type: Component

Getter
script.zs
// Fireball.name as Component
myFireball.name

Return Type: Component

name() as Component
script.zs
// Fireball.name() as Component;
myFireball.name();

Return Type: Component

name() as Component
script.zs
// Fireball.name() as Component;
myFireball.name();

Return Type: Component

Getter
script.zs
// Fireball.onGround as bool
myFireball.onGround

Return Type: bool

Getter
script.zs
// Fireball.onPos as BlockPos
myFireball.onPos

Return Type: BlockPos

onPos() as BlockPos
script.zs
// Fireball.onPos() as BlockPos;
myFireball.onPos();

Return Type: BlockPos

Getter
script.zs
// Fireball.owner as Entity
myFireball.owner

Return Type: Entity

Setter
script.zs
// Fireball.owner = (entity as Entity);
myFireball.owner = myEntity;

Parameters:

entity Type: Entity
owner(entity as Entity)
script.zs
// Fireball.owner(entity as Entity);
myFireball.owner(myEntity);

Parameters:

entity Type: Entity
owner() as Entity
script.zs
// Fireball.owner() as Entity;
myFireball.owner();

Return Type: Entity

Getter
script.zs
// Fireball.passengers as List<Entity>
myFireball.passengers

Return Type: List<Entity>

passengers() as List<Entity>
script.zs
// Fireball.passengers() as List<Entity>;
myFireball.passengers();

Return Type: List<Entity>

Getter
script.zs
// Fireball.percentFrozen as float
myFireball.percentFrozen

Return Type: float

percentFrozen() as float
script.zs
// Fireball.percentFrozen() as float;
myFireball.percentFrozen();

Return Type: float

Getter
script.zs
// Fireball.pistonPushReaction as PushReaction
myFireball.pistonPushReaction

Return Type: PushReaction

pistonPushReaction() as PushReaction
script.zs
// Fireball.pistonPushReaction() as PushReaction;
myFireball.pistonPushReaction();

Return Type: PushReaction

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

Parameters:

sound Type: SoundEvent
volume Type: float
pitch Type: float
Getter
script.zs
// Fireball.portalWaitTime as int
myFireball.portalWaitTime

Return Type: int

portalWaitTime() as int
script.zs
// Fireball.portalWaitTime() as int;
myFireball.portalWaitTime();

Return Type: int

Getter
script.zs
// Fireball.position as Vec3
myFireball.position

Return Type: Vec3

position() as Vec3
script.zs
// Fireball.position() as Vec3;
myFireball.position();

Return Type: Vec3

positionRider(entity as Entity)
script.zs
// Fireball.positionRider(entity as Entity);
myFireball.positionRider(myEntity);

Parameters:

entity Type: Entity
Getter
script.zs
// Fireball.registryName as ResourceLocation
myFireball.registryName

Return Type: ResourceLocation

registryName() as ResourceLocation
script.zs
// Fireball.registryName() as ResourceLocation;
myFireball.registryName();

Return Type: ResourceLocation

Getter
script.zs
// Fireball.remainingFireTicks as int
myFireball.remainingFireTicks

Return Type: int

remainingFireTicks() as int
script.zs
// Fireball.remainingFireTicks() as int;
myFireball.remainingFireTicks();

Return Type: int

removeTag(tagName as string) as bool
script.zs
// Fireball.removeTag(tagName as string) as bool;
myFireball.removeTag(myString);

Parameters:

tagName Type: string

Return Type: bool

removeVehicle()
script.zs
// Fireball.removeVehicle();
myFireball.removeVehicle();
Getter
script.zs
// Fireball.rootVehicle as Entity
myFireball.rootVehicle

Return Type: Entity

rootVehicle() as Entity
script.zs
// Fireball.rootVehicle() as Entity;
myFireball.rootVehicle();

Return Type: Entity

sendMessage(component as Component)
script.zs
// Fireball.sendMessage(component as Component);
myFireball.sendMessage(myComponent);

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

glowing Type: bool
setInvisible(invisible as bool)
script.zs
// Fireball.setInvisible(invisible as bool);
myFireball.setInvisible(myBool);

Parameters:

invisible Type: bool
setInvulnerable(invulnerable as bool)
script.zs
// Fireball.setInvulnerable(invulnerable as bool);
myFireball.setInvulnerable(myBool);

Parameters:

invulnerable Type: bool
setIsInPowderSnow(inPowderSnow as bool)
script.zs
// Fireball.setIsInPowderSnow(inPowderSnow as bool);
myFireball.setIsInPowderSnow(myBool);

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

setSecondsOnFire(seconds as int)
script.zs
// Fireball.setSecondsOnFire(seconds as int);
myFireball.setSecondsOnFire(myInt);

Parameters:

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

Parameters:

keyDown Type: bool
setSilent(silent as bool)
script.zs
// Fireball.setSilent(silent as bool);
myFireball.setSilent(myBool);

Parameters:

silent Type: bool
setSprinting(sprinting as bool)
script.zs
// Fireball.setSprinting(sprinting as bool);
myFireball.setSprinting(myBool);

Parameters:

sprinting Type: bool
setSwimming(swimming as bool)
script.zs
// Fireball.setSwimming(swimming as bool);
myFireball.setSwimming(myBool);

Parameters:

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

Parameters:

ticks Type: int
Getter
script.zs
// Fireball.shouldBeSaved as bool
myFireball.shouldBeSaved

Return Type: bool

shouldBeSaved() as bool
script.zs
// Fireball.shouldBeSaved() as bool;
myFireball.shouldBeSaved();

Return Type: bool

Getter
script.zs
// Fireball.shouldInformAdmins as bool
myFireball.shouldInformAdmins

Return Type: bool

shouldInformAdmins() as bool
script.zs
// Fireball.shouldInformAdmins() as bool;
myFireball.shouldInformAdmins();

Return Type: bool

Getter
script.zs
// Fireball.shouldShowName as bool
myFireball.shouldShowName

Return Type: bool

shouldShowName() as bool
script.zs
// Fireball.shouldShowName() as bool;
myFireball.shouldShowName();

Return Type: bool

Getter
script.zs
// Fireball.showVehicleHealth as bool
myFireball.showVehicleHealth

Return Type: bool

showVehicleHealth() as bool
script.zs
// Fireball.showVehicleHealth() as bool;
myFireball.showVehicleHealth();

Return Type: bool

Getter
script.zs
// Fireball.soundSource as SoundSource
myFireball.soundSource

Return Type: SoundSource

soundSource() as SoundSource
script.zs
// Fireball.soundSource() as SoundSource;
myFireball.soundSource();

Return Type: SoundSource

startRiding(entity as Entity) as bool
script.zs
// Fireball.startRiding(entity as Entity) as bool;
myFireball.startRiding(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

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

Parameters:

entity Type: Entity
force Type: bool

Return Type: bool

stopRiding()
script.zs
// Fireball.stopRiding();
myFireball.stopRiding();
Getter
script.zs
// Fireball.stringUUID as string
myFireball.stringUUID

Return Type: string

stringUUID() as string
script.zs
// Fireball.stringUUID() as string;
myFireball.stringUUID();

Return Type: string

Getter
script.zs
// Fireball.tags as Set<string>
myFireball.tags

Return Type: Set<string>

tags() as Set<string>
script.zs
// Fireball.tags() as Set<string>;
myFireball.tags();

Return Type: Set<string>

Getter
script.zs
// Fireball.teamColor as int
myFireball.teamColor

Return Type: int

teamColor() as int
script.zs
// Fireball.teamColor() as int;
myFireball.teamColor();

Return Type: int

teleportTo(x as double, y as double, z as double)
script.zs
// Fireball.teleportTo(x as double, y as double, z as double);
myFireball.teleportTo(myDouble, myDouble, myDouble);

Parameters:

x Type: double
y Type: double
z Type: double
Getter
script.zs
// Fireball.ticksFrozen as int
myFireball.ticksFrozen

Return Type: int

ticksFrozen() as int
script.zs
// Fireball.ticksFrozen() as int;
myFireball.ticksFrozen();

Return Type: int

Getter
script.zs
// Fireball.ticksRequiredToFreeze as int
myFireball.ticksRequiredToFreeze

Return Type: int

ticksRequiredToFreeze() as int
script.zs
// Fireball.ticksRequiredToFreeze() as int;
myFireball.ticksRequiredToFreeze();

Return Type: int

turn(yaw as double, pitch as double)
script.zs
// Fireball.turn(yaw as double, pitch as double);
myFireball.turn(myDouble, myDouble);

Parameters:

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

Return Type: EntityType<Entity>

type() as EntityType<Entity>
script.zs
// Fireball.type() as EntityType<Entity>;
myFireball.type();

Return Type: EntityType<Entity>

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

Parameters:

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

Parameters:

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

Return Type: UUID

uuid() as UUID
script.zs
// Fireball.uuid() as UUID;
myFireball.uuid();

Return Type: UUID

Getter
script.zs
// Fireball.vehicle as Entity
myFireball.vehicle

Return Type: Entity

vehicle() as Entity
script.zs
// Fireball.vehicle() as Entity;
myFireball.vehicle();

Return Type: Entity

Getter
script.zs
// Fireball.x as double
myFireball.x

Return Type: double

x() as double
script.zs
// Fireball.x() as double;
myFireball.x();

Return Type: double

Getter
Gets the x power of this projectile.
script.zs
// Fireball.xPower as double
myFireball.xPower

Return Type: double

Setter
Sets the x power of this projectile.
script.zs
// Fireball.xPower = (xPower as double);
myFireball.xPower = myDouble;

Parameters:

xPower Type: double - The x power of this projectile.
xPower() as double
Gets the x power of this projectile.

Returns: The x power of this projectile.

script.zs
// Fireball.xPower() as double;
myFireball.xPower();

Return Type: double

xPower(xPower as double)
Sets the x power of this projectile.
script.zs
// Fireball.xPower(xPower as double);
myFireball.xPower(4);

Parameters:

xPower Type: double - The x power of this projectile.
Getter
script.zs
// Fireball.y as double
myFireball.y

Return Type: double

y() as double
script.zs
// Fireball.y() as double;
myFireball.y();

Return Type: double

Getter
Gets the y power of this projectile.
script.zs
// Fireball.yPower as double
myFireball.yPower

Return Type: double

Setter
Sets the y power of this projectile.
script.zs
// Fireball.yPower = (yPower as double);
myFireball.yPower = myDouble;

Parameters:

yPower Type: double - The y power of this projectile.
yPower() as double
Gets the y power of this projectile.

Returns: The y power of this projectile.

script.zs
// Fireball.yPower() as double;
myFireball.yPower();

Return Type: double

yPower(yPower as double)
Sets the y power of this projectile.
script.zs
// Fireball.yPower(yPower as double);
myFireball.yPower(4);

Parameters:

yPower Type: double - The y power of this projectile.
Getter
script.zs
// Fireball.z as double
myFireball.z

Return Type: double

z() as double
script.zs
// Fireball.z() as double;
myFireball.z();

Return Type: double

Getter
Gets the z power of this projectile.
script.zs
// Fireball.zPower as double
myFireball.zPower

Return Type: double

Setter
Sets the z power of this projectile.
script.zs
// Fireball.zPower = (zPower as double);
myFireball.zPower = myDouble;

Parameters:

zPower Type: double - The z power of this projectile.
zPower() as double
Gets the z power of this projectile.

Returns: The z power of this projectile.

script.zs
// Fireball.zPower() as double;
myFireball.zPower();

Return Type: double

zPower(zPower as double)
Sets the z power of this projectile.
script.zs
// Fireball.zPower(zPower as double);
myFireball.zPower(4);

Parameters:

zPower Type: double - The z power of this projectile.