SmallFireball

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

Extends

SmallFireball extends Fireball.

Implements

SmallFireball implements the following interfaces:

ItemSupplier,Nameable,EntityAccess,CommandSource,IAttachmentHolder

Undocumented Interfaces

TraceableEntity,SyncedDataHolder,ScoreHolder,IEntityExtension,INBTSerializable<CompoundTag>

Constructors

new(level as Level, shooter as LivingEntity, direction as Vec3)
script.zs
// new SmallFireball(level as Level, shooter as LivingEntity, direction as Vec3);
new SmallFireball(myLevel, myLivingEntity, myVec3);

Parameters:

level Type: Level - The level this entity is in.
shooter Type: LivingEntity - The entity that created the fireball, used to get the position.
direction Type: Vec3 - The direction that the skull is moving in
new(level as Level, x as double, y as double, z as double, direction as Vec3)
script.zs
// new SmallFireball(level as Level, x as double, y as double, z as double, direction as Vec3);
new SmallFireball(myLevel, myDouble, myDouble, myDouble, myVec3);

Parameters:

level Type: Level - The level this entity is in.
x Type: double - The x position of the entity.
y Type: double - The y position of the entity.
z Type: double - The z position of the entity.
direction Type: Vec3 - The direction that the skull is moving in

Members

Getter
Gets the accelerationPower of this projectile.
script.zs
// SmallFireball.accelerationPower as double
mySmallFireball.accelerationPower

Return Type: double

Setter
Sets the accelerationPower of this projectile.
script.zs
// SmallFireball.accelerationPower = (accelerationPower as double);
mySmallFireball.accelerationPower = myDouble;

Parameters:

accelerationPower Type: double - The accelerationPower of this projectile.
accelerationPower(accelerationPower as double)
Sets the accelerationPower of this projectile.
script.zs
// SmallFireball.accelerationPower(accelerationPower as double);
mySmallFireball.accelerationPower(myDouble);

Parameters:

accelerationPower Type: double - The accelerationPower of this projectile.
Getter
script.zs
// SmallFireball.acceptsFailure as bool
mySmallFireball.acceptsFailure

Return Type: bool

acceptsFailure() as bool
script.zs
// SmallFireball.acceptsFailure() as bool;
mySmallFireball.acceptsFailure();

Return Type: bool

Getter
script.zs
// SmallFireball.acceptsSuccess as bool
mySmallFireball.acceptsSuccess

Return Type: bool

acceptsSuccess() as bool
script.zs
// SmallFireball.acceptsSuccess() as bool;
mySmallFireball.acceptsSuccess();

Return Type: bool

addTag(tagName as string) as bool
script.zs
// SmallFireball.addTag(tagName as string) as bool;
mySmallFireball.addTag(myString);

Parameters:

tagName Type: string

Return Type: bool

Getter
script.zs
// SmallFireball.airSupply as int
mySmallFireball.airSupply

Return Type: int

airSupply() as int
script.zs
// SmallFireball.airSupply() as int;
mySmallFireball.airSupply();

Return Type: int

Getter
script.zs
// SmallFireball.alwaysAccepts as bool
mySmallFireball.alwaysAccepts

Return Type: bool

alwaysAccepts() as bool
script.zs
// SmallFireball.alwaysAccepts() as bool;
mySmallFireball.alwaysAccepts();

Return Type: bool

Getter
script.zs
// SmallFireball.bbHeight as float
mySmallFireball.bbHeight

Return Type: float

bbHeight() as float
script.zs
// SmallFireball.bbHeight() as float;
mySmallFireball.bbHeight();

Return Type: float

Getter
script.zs
// SmallFireball.bbWidth as float
mySmallFireball.bbWidth

Return Type: float

bbWidth() as float
script.zs
// SmallFireball.bbWidth() as float;
mySmallFireball.bbWidth();

Return Type: float

Getter
script.zs
// SmallFireball.blockPosiion as BlockPos
mySmallFireball.blockPosiion

Return Type: BlockPos

blockPosiion() as BlockPos
script.zs
// SmallFireball.blockPosiion() as BlockPos;
mySmallFireball.blockPosiion();

Return Type: BlockPos

Getter
script.zs
// SmallFireball.blockPosition as BlockPos
mySmallFireball.blockPosition

Return Type: BlockPos

blockPosition() as BlockPos
script.zs
// SmallFireball.blockPosition() as BlockPos;
mySmallFireball.blockPosition();

Return Type: BlockPos

Getter
script.zs
// SmallFireball.blockX as int
mySmallFireball.blockX

Return Type: int

blockX() as int
script.zs
// SmallFireball.blockX() as int;
mySmallFireball.blockX();

Return Type: int

Getter
script.zs
// SmallFireball.blockY as int
mySmallFireball.blockY

Return Type: int

blockY() as int
script.zs
// SmallFireball.blockY() as int;
mySmallFireball.blockY();

Return Type: int

Getter
script.zs
// SmallFireball.blockZ as int
mySmallFireball.blockZ

Return Type: int

blockZ() as int
script.zs
// SmallFireball.blockZ() as int;
mySmallFireball.blockZ();

Return Type: int

Getter
script.zs
// SmallFireball.boundingBox as AABB
mySmallFireball.boundingBox

Return Type: AABB

boundingBox() as AABB
script.zs
// SmallFireball.boundingBox() as AABB;
mySmallFireball.boundingBox();

Return Type: AABB

Getter
script.zs
// SmallFireball.boundingBoxForCulling as AABB
mySmallFireball.boundingBoxForCulling

Return Type: AABB

boundingBoxForCulling() as AABB
script.zs
// SmallFireball.boundingBoxForCulling() as AABB;
mySmallFireball.boundingBoxForCulling();

Return Type: AABB

Getter
script.zs
// SmallFireball.canBeCollidedWith as bool
mySmallFireball.canBeCollidedWith

Return Type: bool

canBeCollidedWith() as bool
script.zs
// SmallFireball.canBeCollidedWith() as bool;
mySmallFireball.canBeCollidedWith();

Return Type: bool

canCollideWith(other as Entity) as bool
script.zs
// SmallFireball.canCollideWith(other as Entity) as bool;
mySmallFireball.canCollideWith(myEntity);

Parameters:

other Type: Entity

Return Type: bool

Getter
script.zs
// SmallFireball.canFreeze as bool
mySmallFireball.canFreeze

Return Type: bool

canFreeze() as bool
script.zs
// SmallFireball.canFreeze() as bool;
mySmallFireball.canFreeze();

Return Type: bool

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

Parameters:

other Type: Entity
distance Type: double

Return Type: bool

Getter
script.zs
// SmallFireball.commandSenderWorld as Level
mySmallFireball.commandSenderWorld

Return Type: Level

commandSenderWorld() as Level
script.zs
// SmallFireball.commandSenderWorld() as Level;
mySmallFireball.commandSenderWorld();

Return Type: Level

Getter
script.zs
// SmallFireball.controllingPassenger as Entity
mySmallFireball.controllingPassenger

Return Type: Entity

controllingPassenger() as Entity
script.zs
// SmallFireball.controllingPassenger() as Entity;
mySmallFireball.controllingPassenger();

Return Type: Entity

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

Return Type: MapData

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

Returns: The custom data for this Entity.

script.zs
// SmallFireball.customData() as MapData;
mySmallFireball.customData();

Return Type: MapData

Getter
script.zs
// SmallFireball.customName as Component
mySmallFireball.customName

Return Type: Component

Getter
script.zs
// SmallFireball.customName as Component
mySmallFireball.customName

Return Type: Component

customName() as Component
script.zs
// SmallFireball.customName() as Component;
mySmallFireball.customName();

Return Type: Component

customName() as Component
script.zs
// SmallFireball.customName() as Component;
mySmallFireball.customName();

Return Type: Component

Getter
script.zs
// SmallFireball.dampensVibrations as bool
mySmallFireball.dampensVibrations

Return Type: bool

dampensVibrations() as bool
script.zs
// SmallFireball.dampensVibrations() as bool;
mySmallFireball.dampensVibrations();

Return Type: bool

Getter
Gets the NBT data of this Entity.
script.zs
// SmallFireball.data as MapData
mySmallFireball.data

Return Type: MapData

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

Returns: The NBT data of this Entity.

script.zs
// SmallFireball.data() as MapData;
mySmallFireball.data();

Return Type: MapData

Getter
script.zs
// SmallFireball.deltaMovement as Vec3
mySmallFireball.deltaMovement

Return Type: Vec3

Setter
script.zs
// SmallFireball.deltaMovement = (deltaMovement as Vec3);
mySmallFireball.deltaMovement = myVec3;

Parameters:

deltaMovement Type: Vec3
deltaMovement() as Vec3
script.zs
// SmallFireball.deltaMovement() as Vec3;
mySmallFireball.deltaMovement();

Return Type: Vec3

deltaMovement(deltaMovement as Vec3)
script.zs
// SmallFireball.deltaMovement(deltaMovement as Vec3);
mySmallFireball.deltaMovement(myVec3);

Parameters:

deltaMovement Type: Vec3
Getter
script.zs
// SmallFireball.dimensionChangingDelay as int
mySmallFireball.dimensionChangingDelay

Return Type: int

dimensionChangingDelay() as int
script.zs
// SmallFireball.dimensionChangingDelay() as int;
mySmallFireball.dimensionChangingDelay();

Return Type: int

Getter
script.zs
// SmallFireball.direction as Direction
mySmallFireball.direction

Return Type: Direction

direction() as Direction
script.zs
// SmallFireball.direction() as Direction;
mySmallFireball.direction();

Return Type: Direction

discard()
script.zs
// SmallFireball.discard();
mySmallFireball.discard();
Getter
script.zs
// SmallFireball.dismountsUnderwater as bool
mySmallFireball.dismountsUnderwater

Return Type: bool

Getter
script.zs
// SmallFireball.displayName as Component
mySmallFireball.displayName

Return Type: Component

Getter
script.zs
// SmallFireball.displayName as Component
mySmallFireball.displayName

Return Type: Component

displayName() as Component
script.zs
// SmallFireball.displayName() as Component;
mySmallFireball.displayName();

Return Type: Component

displayName() as Component
script.zs
// SmallFireball.displayName() as Component;
mySmallFireball.displayName();

Return Type: Component

distanceTo(entity as Entity) as float
script.zs
// SmallFireball.distanceTo(entity as Entity) as float;
mySmallFireball.distanceTo(myEntity);

Parameters:

entity Type: Entity

Return Type: float

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

Parameters:

entity Type: Entity

Return Type: double

distanceToSqr(vec as Vec3) as double
script.zs
// SmallFireball.distanceToSqr(vec as Vec3) as double;
mySmallFireball.distanceToSqr(myVec3);

Parameters:

vec Type: Vec3

Return Type: double

Getter
script.zs
// SmallFireball.effectSource as Entity
mySmallFireball.effectSource

Return Type: Entity

effectSource() as Entity
script.zs
// SmallFireball.effectSource() as Entity;
mySmallFireball.effectSource();

Return Type: Entity

ejectPassengers()
script.zs
// SmallFireball.ejectPassengers();
mySmallFireball.ejectPassengers();
Getter
script.zs
// SmallFireball.eyeHeight as float
mySmallFireball.eyeHeight

Return Type: float

eyeHeight() as float
script.zs
// SmallFireball.eyeHeight() as float;
mySmallFireball.eyeHeight();

Return Type: float

Getter
script.zs
// SmallFireball.eyePosition as Vec3
mySmallFireball.eyePosition

Return Type: Vec3

eyePosition() as Vec3
script.zs
// SmallFireball.eyePosition() as Vec3;
mySmallFireball.eyePosition();

Return Type: Vec3

Getter
script.zs
// SmallFireball.eyeY as double
mySmallFireball.eyeY

Return Type: double

eyeY() as double
script.zs
// SmallFireball.eyeY() as double;
mySmallFireball.eyeY();

Return Type: double

Getter
script.zs
// SmallFireball.fireImmune as bool
mySmallFireball.fireImmune

Return Type: bool

fireImmune() as bool
script.zs
// SmallFireball.fireImmune() as bool;
mySmallFireball.fireImmune();

Return Type: bool

Getter
script.zs
// SmallFireball.fireTicks as int
mySmallFireball.fireTicks

Return Type: int

Setter
script.zs
// SmallFireball.fireTicks = (ticks as int);
mySmallFireball.fireTicks = myInt;

Parameters:

ticks Type: int
Getter
script.zs
// SmallFireball.firstPassenger as Entity
mySmallFireball.firstPassenger

Return Type: Entity

firstPassenger() as Entity
script.zs
// SmallFireball.firstPassenger() as Entity;
mySmallFireball.firstPassenger();

Return Type: Entity

Getter
script.zs
// SmallFireball.fluidJumpThreshold as double
mySmallFireball.fluidJumpThreshold

Return Type: double

fluidJumpThreshold() as double
script.zs
// SmallFireball.fluidJumpThreshold() as double;
mySmallFireball.fluidJumpThreshold();

Return Type: double

Getter
script.zs
// SmallFireball.forward as Vec3
mySmallFireball.forward

Return Type: Vec3

forward() as Vec3
script.zs
// SmallFireball.forward() as Vec3;
mySmallFireball.forward();

Return Type: Vec3

getAttachmentData(type as AttachmentType<T>) as T
script.zs
// SmallFireball.getAttachmentData<T>(type as AttachmentType<T>) as T;
mySmallFireball.getAttachmentData<T>(myAttachmentType);

Parameters:

type Type: AttachmentType<T>

Return Type: T

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

Parameters:

type Type: Supplier<AttachmentType<T>>

Return Type: T

getEyePosition(partialTicks as float) as Vec3
script.zs
// SmallFireball.getEyePosition(partialTicks as float) as Vec3;
mySmallFireball.getEyePosition(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getPosition(partialTicks as float) as Vec3
script.zs
// SmallFireball.getPosition(partialTicks as float) as Vec3;
mySmallFireball.getPosition(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getUpVector(partialTicks as float) as Vec3
script.zs
// SmallFireball.getUpVector(partialTicks as float) as Vec3;
mySmallFireball.getUpVector(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getViewVector(partialTicks as float) as Vec3
script.zs
// SmallFireball.getViewVector(partialTicks as float) as Vec3;
mySmallFireball.getViewVector(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getX(scale as double) as double
script.zs
// SmallFireball.getX(scale as double) as double;
mySmallFireball.getX(myDouble);

Parameters:

scale Type: double

Return Type: double

getY(scale as double) as double
script.zs
// SmallFireball.getY(scale as double) as double;
mySmallFireball.getY(myDouble);

Parameters:

scale Type: double

Return Type: double

getZ(scale as double) as double
script.zs
// SmallFireball.getZ(scale as double) as double;
mySmallFireball.getZ(myDouble);

Parameters:

scale Type: double

Return Type: double

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

Parameters:

type Type: AttachmentType<T>

Return Type: bool

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

Parameters:

type Type: Supplier<AttachmentType<T>>

Return Type: bool

Getter
script.zs
// SmallFireball.hasCustomName as bool
mySmallFireball.hasCustomName

Return Type: bool

Getter
script.zs
// SmallFireball.hasCustomName as bool
mySmallFireball.hasCustomName

Return Type: bool

hasCustomName() as bool
script.zs
// SmallFireball.hasCustomName() as bool;
mySmallFireball.hasCustomName();

Return Type: bool

hasCustomName() as bool
script.zs
// SmallFireball.hasCustomName() as bool;
mySmallFireball.hasCustomName();

Return Type: bool

Getter
script.zs
// SmallFireball.hasExactlyOnePlayerPassenger as bool
mySmallFireball.hasExactlyOnePlayerPassenger

Return Type: bool

hasExactlyOnePlayerPassenger() as bool
script.zs
// SmallFireball.hasExactlyOnePlayerPassenger() as bool;
mySmallFireball.hasExactlyOnePlayerPassenger();

Return Type: bool

Getter
script.zs
// SmallFireball.hasGlowingTag as bool
mySmallFireball.hasGlowingTag

Return Type: bool

hasGlowingTag() as bool
script.zs
// SmallFireball.hasGlowingTag() as bool;
mySmallFireball.hasGlowingTag();

Return Type: bool

hasIndirectPassenger(entity as Entity) as bool
script.zs
// SmallFireball.hasIndirectPassenger(entity as Entity) as bool;
mySmallFireball.hasIndirectPassenger(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

hasPassenger(entity as Entity) as bool
script.zs
// SmallFireball.hasPassenger(entity as Entity) as bool;
mySmallFireball.hasPassenger(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

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

Parameters:

source Type: DamageSource
amount Type: float

Return Type: bool

Getter
script.zs
// SmallFireball.id as int
mySmallFireball.id

Return Type: int

id() as int
script.zs
// SmallFireball.id() as int;
mySmallFireball.id();

Return Type: int

Getter
script.zs
// SmallFireball.inBlockState as BlockState
mySmallFireball.inBlockState

Return Type: BlockState

Getter
script.zs
// SmallFireball.isAlive as bool
mySmallFireball.isAlive

Return Type: bool

isAlive() as bool
script.zs
// SmallFireball.isAlive() as bool;
mySmallFireball.isAlive();

Return Type: bool

Getter
script.zs
// SmallFireball.isAlwaysTicking as bool
mySmallFireball.isAlwaysTicking

Return Type: bool

isAlwaysTicking() as bool
script.zs
// SmallFireball.isAlwaysTicking() as bool;
mySmallFireball.isAlwaysTicking();

Return Type: bool

Getter
script.zs
// SmallFireball.isAttackable as bool
mySmallFireball.isAttackable

Return Type: bool

isAttackable() as bool
script.zs
// SmallFireball.isAttackable() as bool;
mySmallFireball.isAttackable();

Return Type: bool

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

Parameters:

pos Type: BlockPos
state Type: BlockState

Return Type: bool

Getter
script.zs
// SmallFireball.isCrouching as bool
mySmallFireball.isCrouching

Return Type: bool

isCrouching() as bool
script.zs
// SmallFireball.isCrouching() as bool;
mySmallFireball.isCrouching();

Return Type: bool

Getter
script.zs
// SmallFireball.isCurrentlyGlowing as bool
mySmallFireball.isCurrentlyGlowing

Return Type: bool

isCurrentlyGlowing() as bool
script.zs
// SmallFireball.isCurrentlyGlowing() as bool;
mySmallFireball.isCurrentlyGlowing();

Return Type: bool

Getter
script.zs
// SmallFireball.isCustomNameVisible as bool
mySmallFireball.isCustomNameVisible

Return Type: bool

isCustomNameVisible() as bool
script.zs
// SmallFireball.isCustomNameVisible() as bool;
mySmallFireball.isCustomNameVisible();

Return Type: bool

Getter
script.zs
// SmallFireball.isDescending as bool
mySmallFireball.isDescending

Return Type: bool

isDescending() as bool
script.zs
// SmallFireball.isDescending() as bool;
mySmallFireball.isDescending();

Return Type: bool

Getter
script.zs
// SmallFireball.isDiscrete as bool
mySmallFireball.isDiscrete

Return Type: bool

isDiscrete() as bool
script.zs
// SmallFireball.isDiscrete() as bool;
mySmallFireball.isDiscrete();

Return Type: bool

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

Parameters:

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

Return Type: bool

Getter
script.zs
// SmallFireball.isFullyFrozen as bool
mySmallFireball.isFullyFrozen

Return Type: bool

isFullyFrozen() as bool
script.zs
// SmallFireball.isFullyFrozen() as bool;
mySmallFireball.isFullyFrozen();

Return Type: bool

Getter
script.zs
// SmallFireball.isInLava as bool
mySmallFireball.isInLava

Return Type: bool

isInLava() as bool
script.zs
// SmallFireball.isInLava() as bool;
mySmallFireball.isInLava();

Return Type: bool

Getter
script.zs
// SmallFireball.isInvisible as bool
mySmallFireball.isInvisible

Return Type: bool

isInvisible() as bool
script.zs
// SmallFireball.isInvisible() as bool;
mySmallFireball.isInvisible();

Return Type: bool

isInvisibleTo(player as Player) as bool
script.zs
// SmallFireball.isInvisibleTo(player as Player) as bool;
mySmallFireball.isInvisibleTo(myPlayer);

Parameters:

player Type: Player

Return Type: bool

Getter
script.zs
// SmallFireball.isInvulnerable as bool
mySmallFireball.isInvulnerable

Return Type: bool

isInvulnerable() as bool
script.zs
// SmallFireball.isInvulnerable() as bool;
mySmallFireball.isInvulnerable();

Return Type: bool

isInvulnerableTo(source as DamageSource) as bool
script.zs
// SmallFireball.isInvulnerableTo(source as DamageSource) as bool;
mySmallFireball.isInvulnerableTo(myDamageSource);

Parameters:

source Type: DamageSource

Return Type: bool

Getter
script.zs
// SmallFireball.isInWall as bool
mySmallFireball.isInWall

Return Type: bool

isInWall() as bool
script.zs
// SmallFireball.isInWall() as bool;
mySmallFireball.isInWall();

Return Type: bool

Getter
script.zs
// SmallFireball.isInWater as bool
mySmallFireball.isInWater

Return Type: bool

isInWater() as bool
script.zs
// SmallFireball.isInWater() as bool;
mySmallFireball.isInWater();

Return Type: bool

Getter
script.zs
// SmallFireball.isInWaterOrBubble as bool
mySmallFireball.isInWaterOrBubble

Return Type: bool

isInWaterOrBubble() as bool
script.zs
// SmallFireball.isInWaterOrBubble() as bool;
mySmallFireball.isInWaterOrBubble();

Return Type: bool

Getter
script.zs
// SmallFireball.isInWaterOrRain as bool
mySmallFireball.isInWaterOrRain

Return Type: bool

isInWaterOrRain() as bool
script.zs
// SmallFireball.isInWaterOrRain() as bool;
mySmallFireball.isInWaterOrRain();

Return Type: bool

Getter
script.zs
// SmallFireball.isInWaterRainOrBubble as bool
mySmallFireball.isInWaterRainOrBubble

Return Type: bool

isInWaterRainOrBubble() as bool
script.zs
// SmallFireball.isInWaterRainOrBubble() as bool;
mySmallFireball.isInWaterRainOrBubble();

Return Type: bool

Getter
script.zs
// SmallFireball.isNoGravity as bool
mySmallFireball.isNoGravity

Return Type: bool

isNoGravity() as bool
script.zs
// SmallFireball.isNoGravity() as bool;
mySmallFireball.isNoGravity();

Return Type: bool

Getter
script.zs
// SmallFireball.isOnFire as bool
mySmallFireball.isOnFire

Return Type: bool

isOnFire() as bool
script.zs
// SmallFireball.isOnFire() as bool;
mySmallFireball.isOnFire();

Return Type: bool

Getter
script.zs
// SmallFireball.isOnPortalCooldown as bool
mySmallFireball.isOnPortalCooldown

Return Type: bool

isOnPortalCooldown() as bool
script.zs
// SmallFireball.isOnPortalCooldown() as bool;
mySmallFireball.isOnPortalCooldown();

Return Type: bool

Getter
script.zs
// SmallFireball.isPassenger as bool
mySmallFireball.isPassenger

Return Type: bool

isPassenger() as bool
script.zs
// SmallFireball.isPassenger() as bool;
mySmallFireball.isPassenger();

Return Type: bool

isPassengerOfSameVehicle(entity as Entity) as bool
script.zs
// SmallFireball.isPassengerOfSameVehicle(entity as Entity) as bool;
mySmallFireball.isPassengerOfSameVehicle(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

Getter
script.zs
// SmallFireball.isPickable as bool
mySmallFireball.isPickable

Return Type: bool

isPickable() as bool
script.zs
// SmallFireball.isPickable() as bool;
mySmallFireball.isPickable();

Return Type: bool

Getter
script.zs
// SmallFireball.isPushable as bool
mySmallFireball.isPushable

Return Type: bool

isPushable() as bool
script.zs
// SmallFireball.isPushable() as bool;
mySmallFireball.isPushable();

Return Type: bool

Getter
script.zs
// SmallFireball.isPushedByFluid as bool
mySmallFireball.isPushedByFluid

Return Type: bool

isPushedByFluid() as bool
script.zs
// SmallFireball.isPushedByFluid() as bool;
mySmallFireball.isPushedByFluid();

Return Type: bool

Getter
script.zs
// SmallFireball.isRemoved as bool
mySmallFireball.isRemoved

Return Type: bool

isRemoved() as bool
script.zs
// SmallFireball.isRemoved() as bool;
mySmallFireball.isRemoved();

Return Type: bool

Getter
script.zs
// SmallFireball.isShiftKeyDown as bool
mySmallFireball.isShiftKeyDown

Return Type: bool

isShiftKeyDown() as bool
script.zs
// SmallFireball.isShiftKeyDown() as bool;
mySmallFireball.isShiftKeyDown();

Return Type: bool

Getter
script.zs
// SmallFireball.isSilent as bool
mySmallFireball.isSilent

Return Type: bool

isSilent() as bool
script.zs
// SmallFireball.isSilent() as bool;
mySmallFireball.isSilent();

Return Type: bool

Getter
script.zs
// SmallFireball.isSpectator as bool
mySmallFireball.isSpectator

Return Type: bool

isSpectator() as bool
script.zs
// SmallFireball.isSpectator() as bool;
mySmallFireball.isSpectator();

Return Type: bool

Getter
script.zs
// SmallFireball.isSprinting as bool
mySmallFireball.isSprinting

Return Type: bool

isSprinting() as bool
script.zs
// SmallFireball.isSprinting() as bool;
mySmallFireball.isSprinting();

Return Type: bool

Getter
script.zs
// SmallFireball.isSteppingCarefully as bool
mySmallFireball.isSteppingCarefully

Return Type: bool

isSteppingCarefully() as bool
script.zs
// SmallFireball.isSteppingCarefully() as bool;
mySmallFireball.isSteppingCarefully();

Return Type: bool

Getter
script.zs
// SmallFireball.isSuppressingBounce as bool
mySmallFireball.isSuppressingBounce

Return Type: bool

isSuppressingBounce() as bool
script.zs
// SmallFireball.isSuppressingBounce() as bool;
mySmallFireball.isSuppressingBounce();

Return Type: bool

Getter
script.zs
// SmallFireball.isSwimming as bool
mySmallFireball.isSwimming

Return Type: bool

isSwimming() as bool
script.zs
// SmallFireball.isSwimming() as bool;
mySmallFireball.isSwimming();

Return Type: bool

Getter
script.zs
// SmallFireball.isUnderWater as bool
mySmallFireball.isUnderWater

Return Type: bool

isUnderWater() as bool
script.zs
// SmallFireball.isUnderWater() as bool;
mySmallFireball.isUnderWater();

Return Type: bool

Getter
script.zs
// SmallFireball.isVehicle as bool
mySmallFireball.isVehicle

Return Type: bool

isVehicle() as bool
script.zs
// SmallFireball.isVehicle() as bool;
mySmallFireball.isVehicle();

Return Type: bool

Getter
script.zs
// SmallFireball.isVisuallyCrawling as bool
mySmallFireball.isVisuallyCrawling

Return Type: bool

isVisuallyCrawling() as bool
script.zs
// SmallFireball.isVisuallyCrawling() as bool;
mySmallFireball.isVisuallyCrawling();

Return Type: bool

Getter
script.zs
// SmallFireball.isVisuallySwimming as bool
mySmallFireball.isVisuallySwimming

Return Type: bool

isVisuallySwimming() as bool
script.zs
// SmallFireball.isVisuallySwimming() as bool;
mySmallFireball.isVisuallySwimming();

Return Type: bool

Getter
script.zs
// SmallFireball.item as ItemStack
mySmallFireball.item

Return Type: ItemStack

item() as ItemStack
script.zs
// SmallFireball.item() as ItemStack;
mySmallFireball.item();

Return Type: ItemStack

kill()
script.zs
// SmallFireball.kill();
mySmallFireball.kill();
lavaHurt()
script.zs
// SmallFireball.lavaHurt();
mySmallFireball.lavaHurt();
Getter
script.zs
// SmallFireball.level as Level
mySmallFireball.level

Return Type: Level

Getter
script.zs
// SmallFireball.lookAngle as Vec3
mySmallFireball.lookAngle

Return Type: Vec3

lookAngle() as Vec3
script.zs
// SmallFireball.lookAngle() as Vec3;
mySmallFireball.lookAngle();

Return Type: Vec3

Getter
script.zs
// SmallFireball.maxAirSupply as int
mySmallFireball.maxAirSupply

Return Type: int

maxAirSupply() as int
script.zs
// SmallFireball.maxAirSupply() as int;
mySmallFireball.maxAirSupply();

Return Type: int

Getter
script.zs
// SmallFireball.maxFallDistance as int
mySmallFireball.maxFallDistance

Return Type: int

maxFallDistance() as int
script.zs
// SmallFireball.maxFallDistance() as int;
mySmallFireball.maxFallDistance();

Return Type: int

Getter
script.zs
// SmallFireball.motionDirection as Direction
mySmallFireball.motionDirection

Return Type: Direction

motionDirection() as Direction
script.zs
// SmallFireball.motionDirection() as Direction;
mySmallFireball.motionDirection();

Return Type: Direction

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

Parameters:

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

Parameters:

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

Return Type: Component

Getter
script.zs
// SmallFireball.name as Component
mySmallFireball.name

Return Type: Component

name() as Component
script.zs
// SmallFireball.name() as Component;
mySmallFireball.name();

Return Type: Component

name() as Component
script.zs
// SmallFireball.name() as Component;
mySmallFireball.name();

Return Type: Component

Getter
script.zs
// SmallFireball.onGround as bool
mySmallFireball.onGround

Return Type: bool

Getter
script.zs
// SmallFireball.onPos as BlockPos
mySmallFireball.onPos

Return Type: BlockPos

onPos() as BlockPos
script.zs
// SmallFireball.onPos() as BlockPos;
mySmallFireball.onPos();

Return Type: BlockPos

Getter
script.zs
// SmallFireball.owner as Entity
mySmallFireball.owner

Return Type: Entity

Setter
script.zs
// SmallFireball.owner = (entity as Entity);
mySmallFireball.owner = myEntity;

Parameters:

entity Type: Entity
owner(entity as Entity)
script.zs
// SmallFireball.owner(entity as Entity);
mySmallFireball.owner(myEntity);

Parameters:

entity Type: Entity
owner() as Entity
script.zs
// SmallFireball.owner() as Entity;
mySmallFireball.owner();

Return Type: Entity

Getter
script.zs
// SmallFireball.passengers as List<Entity>
mySmallFireball.passengers

Return Type: List<Entity>

passengers() as List<Entity>
script.zs
// SmallFireball.passengers() as List<Entity>;
mySmallFireball.passengers();

Return Type: List<Entity>

Getter
script.zs
// SmallFireball.percentFrozen as float
mySmallFireball.percentFrozen

Return Type: float

percentFrozen() as float
script.zs
// SmallFireball.percentFrozen() as float;
mySmallFireball.percentFrozen();

Return Type: float

Getter
script.zs
// SmallFireball.pistonPushReaction as PushReaction
mySmallFireball.pistonPushReaction

Return Type: PushReaction

pistonPushReaction() as PushReaction
script.zs
// SmallFireball.pistonPushReaction() as PushReaction;
mySmallFireball.pistonPushReaction();

Return Type: PushReaction

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

Parameters:

sound Type: SoundEvent
volume Type: float
pitch Type: float
Getter
script.zs
// SmallFireball.position as Vec3
mySmallFireball.position

Return Type: Vec3

position() as Vec3
script.zs
// SmallFireball.position() as Vec3;
mySmallFireball.position();

Return Type: Vec3

positionRider(entity as Entity)
script.zs
// SmallFireball.positionRider(entity as Entity);
mySmallFireball.positionRider(myEntity);

Parameters:

entity Type: Entity
Getter
script.zs
// SmallFireball.registryName as ResourceLocation
mySmallFireball.registryName

Return Type: ResourceLocation

registryName() as ResourceLocation
script.zs
// SmallFireball.registryName() as ResourceLocation;
mySmallFireball.registryName();

Return Type: ResourceLocation

removeTag(tagName as string) as bool
script.zs
// SmallFireball.removeTag(tagName as string) as bool;
mySmallFireball.removeTag(myString);

Parameters:

tagName Type: string

Return Type: bool

removeVehicle()
script.zs
// SmallFireball.removeVehicle();
mySmallFireball.removeVehicle();
Getter
script.zs
// SmallFireball.rootVehicle as Entity
mySmallFireball.rootVehicle

Return Type: Entity

rootVehicle() as Entity
script.zs
// SmallFireball.rootVehicle() as Entity;
mySmallFireball.rootVehicle();

Return Type: Entity

sendMessage(component as Component)
script.zs
// SmallFireball.sendMessage(component as Component);
mySmallFireball.sendMessage(myComponent);

Parameters:

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

Parameters:

air Type: int
setAttachmentData(type as AttachmentType<T>, data as T) as T?
script.zs
// SmallFireball.setAttachmentData<T>(type as AttachmentType<T>, data as T) as T?;
mySmallFireball.setAttachmentData<T>(myAttachmentType, myT);

Parameters:

type Type: AttachmentType<T>
data Type: T

Return Type: T?

setAttachmentData(type as Supplier<AttachmentType<T>>, data as T) as T?
script.zs
// SmallFireball.setAttachmentData<T>(type as Supplier<AttachmentType<T>>, data as T) as T?;
mySmallFireball.setAttachmentData<T>(mySupplier, myT);

Parameters:

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

Return Type: T?

setCustomName(name as Component)
script.zs
// SmallFireball.setCustomName(name as Component);
mySmallFireball.setCustomName(myComponent);

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

glowing Type: bool
setInvisible(invisible as bool)
script.zs
// SmallFireball.setInvisible(invisible as bool);
mySmallFireball.setInvisible(myBool);

Parameters:

invisible Type: bool
setInvulnerable(invulnerable as bool)
script.zs
// SmallFireball.setInvulnerable(invulnerable as bool);
mySmallFireball.setInvulnerable(myBool);

Parameters:

invulnerable Type: bool
setIsInPowderSnow(inPowderSnow as bool)
script.zs
// SmallFireball.setIsInPowderSnow(inPowderSnow as bool);
mySmallFireball.setIsInPowderSnow(myBool);

Parameters:

inPowderSnow Type: bool
setNoGravity(noGravity as bool)
script.zs
// SmallFireball.setNoGravity(noGravity as bool);
mySmallFireball.setNoGravity(myBool);

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

x Type: double
y Type: double
z Type: double
setRemoved(var1 as RemovalReason)
script.zs
// SmallFireball.setRemoved(var1 as RemovalReason);
mySmallFireball.setRemoved(myRemovalReason);

Parameters:

setShiftKeyDown(keyDown as bool)
script.zs
// SmallFireball.setShiftKeyDown(keyDown as bool);
mySmallFireball.setShiftKeyDown(myBool);

Parameters:

keyDown Type: bool
setSilent(silent as bool)
script.zs
// SmallFireball.setSilent(silent as bool);
mySmallFireball.setSilent(myBool);

Parameters:

silent Type: bool
setSprinting(sprinting as bool)
script.zs
// SmallFireball.setSprinting(sprinting as bool);
mySmallFireball.setSprinting(myBool);

Parameters:

sprinting Type: bool
setSwimming(swimming as bool)
script.zs
// SmallFireball.setSwimming(swimming as bool);
mySmallFireball.setSwimming(myBool);

Parameters:

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

Parameters:

ticks Type: int
Getter
script.zs
// SmallFireball.shouldBeSaved as bool
mySmallFireball.shouldBeSaved

Return Type: bool

shouldBeSaved() as bool
script.zs
// SmallFireball.shouldBeSaved() as bool;
mySmallFireball.shouldBeSaved();

Return Type: bool

Getter
script.zs
// SmallFireball.shouldInformAdmins as bool
mySmallFireball.shouldInformAdmins

Return Type: bool

shouldInformAdmins() as bool
script.zs
// SmallFireball.shouldInformAdmins() as bool;
mySmallFireball.shouldInformAdmins();

Return Type: bool

Getter
script.zs
// SmallFireball.shouldShowName as bool
mySmallFireball.shouldShowName

Return Type: bool

shouldShowName() as bool
script.zs
// SmallFireball.shouldShowName() as bool;
mySmallFireball.shouldShowName();

Return Type: bool

Getter
script.zs
// SmallFireball.showVehicleHealth as bool
mySmallFireball.showVehicleHealth

Return Type: bool

showVehicleHealth() as bool
script.zs
// SmallFireball.showVehicleHealth() as bool;
mySmallFireball.showVehicleHealth();

Return Type: bool

Getter
script.zs
// SmallFireball.soundSource as SoundSource
mySmallFireball.soundSource

Return Type: SoundSource

soundSource() as SoundSource
script.zs
// SmallFireball.soundSource() as SoundSource;
mySmallFireball.soundSource();

Return Type: SoundSource

startRiding(entity as Entity) as bool
script.zs
// SmallFireball.startRiding(entity as Entity) as bool;
mySmallFireball.startRiding(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

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

Parameters:

entity Type: Entity
force Type: bool

Return Type: bool

stopRiding()
script.zs
// SmallFireball.stopRiding();
mySmallFireball.stopRiding();
Getter
script.zs
// SmallFireball.stringUUID as string
mySmallFireball.stringUUID

Return Type: string

stringUUID() as string
script.zs
// SmallFireball.stringUUID() as string;
mySmallFireball.stringUUID();

Return Type: string

Getter
script.zs
// SmallFireball.tags as Set<string>
mySmallFireball.tags

Return Type: Set<string>

tags() as Set<string>
script.zs
// SmallFireball.tags() as Set<string>;
mySmallFireball.tags();

Return Type: Set<string>

Getter
script.zs
// SmallFireball.teamColor as int
mySmallFireball.teamColor

Return Type: int

teamColor() as int
script.zs
// SmallFireball.teamColor() as int;
mySmallFireball.teamColor();

Return Type: int

teleportTo(x as double, y as double, z as double)
script.zs
// SmallFireball.teleportTo(x as double, y as double, z as double);
mySmallFireball.teleportTo(myDouble, myDouble, myDouble);

Parameters:

x Type: double
y Type: double
z Type: double
Getter
script.zs
// SmallFireball.ticksFrozen as int
mySmallFireball.ticksFrozen

Return Type: int

ticksFrozen() as int
script.zs
// SmallFireball.ticksFrozen() as int;
mySmallFireball.ticksFrozen();

Return Type: int

Getter
script.zs
// SmallFireball.ticksRequiredToFreeze as int
mySmallFireball.ticksRequiredToFreeze

Return Type: int

ticksRequiredToFreeze() as int
script.zs
// SmallFireball.ticksRequiredToFreeze() as int;
mySmallFireball.ticksRequiredToFreeze();

Return Type: int

turn(yaw as double, pitch as double)
script.zs
// SmallFireball.turn(yaw as double, pitch as double);
mySmallFireball.turn(myDouble, myDouble);

Parameters:

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

Return Type: EntityType<Entity>

type() as EntityType<Entity>
script.zs
// SmallFireball.type() as EntityType<Entity>;
mySmallFireball.type();

Return Type: EntityType<Entity>

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

Parameters:

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

Parameters:

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

Return Type: UUID

uuid() as UUID
script.zs
// SmallFireball.uuid() as UUID;
mySmallFireball.uuid();

Return Type: UUID

Getter
script.zs
// SmallFireball.vehicle as Entity
mySmallFireball.vehicle

Return Type: Entity

vehicle() as Entity
script.zs
// SmallFireball.vehicle() as Entity;
mySmallFireball.vehicle();

Return Type: Entity

Getter
script.zs
// SmallFireball.x as double
mySmallFireball.x

Return Type: double

x() as double
script.zs
// SmallFireball.x() as double;
mySmallFireball.x();

Return Type: double

Getter
script.zs
// SmallFireball.y as double
mySmallFireball.y

Return Type: double

y() as double
script.zs
// SmallFireball.y() as double;
mySmallFireball.y();

Return Type: double

Getter
script.zs
// SmallFireball.z as double
mySmallFireball.z

Return Type: double

z() as double
script.zs
// SmallFireball.z() as double;
mySmallFireball.z();

Return Type: double