Home Commands Examples Getting Started With Scripts Global Keywords
BracketDumpers BracketHandlers BracketValidators ResourceLocationBracketHandler

ItemEntity

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.item.ItemEntity;

Extends

ItemEntity extends Entity.

Implements

ItemEntity implements the following interfaces:

Nameable,EntityAccess,CommandSource,IAttachmentHolder

Undocumented Interfaces

TraceableEntity,ScoreHolder,IEntityExtension,INBTSerializable<CompoundTag>

Constructors

new(level as Level, x as double, y as double, z as double, stack as ItemStack)
script.zs
// new ItemEntity(level as Level, x as double, y as double, z as double, stack as ItemStack);
new ItemEntity(myLevel, myDouble, myDouble, myDouble, myItemStack);

Parameters:

level Type: Level
x Type: double
y Type: double
z Type: double
stack Type: ItemStack

Members

Getter
script.zs
// ItemEntity.acceptsFailure as bool
myItemEntity.acceptsFailure

Return Type: bool

acceptsFailure() as bool
script.zs
// ItemEntity.acceptsFailure() as bool;
myItemEntity.acceptsFailure();

Return Type: bool

Getter
script.zs
// ItemEntity.acceptsSuccess as bool
myItemEntity.acceptsSuccess

Return Type: bool

acceptsSuccess() as bool
script.zs
// ItemEntity.acceptsSuccess() as bool;
myItemEntity.acceptsSuccess();

Return Type: bool

addTag(tagName as string) as bool
script.zs
// ItemEntity.addTag(tagName as string) as bool;
myItemEntity.addTag(myString);

Parameters:

tagName Type: string

Return Type: bool

Getter
script.zs
// ItemEntity.airSupply as int
myItemEntity.airSupply

Return Type: int

airSupply() as int
script.zs
// ItemEntity.airSupply() as int;
myItemEntity.airSupply();

Return Type: int

Getter
script.zs
// ItemEntity.allSlots as Iterable<ItemStack>
myItemEntity.allSlots

Return Type: Iterable<ItemStack>

allSlots() as Iterable<ItemStack>
script.zs
// ItemEntity.allSlots() as Iterable<ItemStack>;
myItemEntity.allSlots();

Return Type: Iterable<ItemStack>

Getter
script.zs
// ItemEntity.alwaysAccepts as bool
myItemEntity.alwaysAccepts

Return Type: bool

alwaysAccepts() as bool
script.zs
// ItemEntity.alwaysAccepts() as bool;
myItemEntity.alwaysAccepts();

Return Type: bool

Getter
script.zs
// ItemEntity.armorSlots as Iterable<ItemStack>
myItemEntity.armorSlots

Return Type: Iterable<ItemStack>

armorSlots() as Iterable<ItemStack>
script.zs
// ItemEntity.armorSlots() as Iterable<ItemStack>;
myItemEntity.armorSlots();

Return Type: Iterable<ItemStack>

Getter
script.zs
// ItemEntity.bbHeight as float
myItemEntity.bbHeight

Return Type: float

bbHeight() as float
script.zs
// ItemEntity.bbHeight() as float;
myItemEntity.bbHeight();

Return Type: float

Getter
script.zs
// ItemEntity.bbWidth as float
myItemEntity.bbWidth

Return Type: float

bbWidth() as float
script.zs
// ItemEntity.bbWidth() as float;
myItemEntity.bbWidth();

Return Type: float

Getter
script.zs
// ItemEntity.blockPosiion as BlockPos
myItemEntity.blockPosiion

Return Type: BlockPos

blockPosiion() as BlockPos
script.zs
// ItemEntity.blockPosiion() as BlockPos;
myItemEntity.blockPosiion();

Return Type: BlockPos

Getter
script.zs
// ItemEntity.blockPosition as BlockPos
myItemEntity.blockPosition

Return Type: BlockPos

blockPosition() as BlockPos
script.zs
// ItemEntity.blockPosition() as BlockPos;
myItemEntity.blockPosition();

Return Type: BlockPos

Getter
script.zs
// ItemEntity.blockX as int
myItemEntity.blockX

Return Type: int

blockX() as int
script.zs
// ItemEntity.blockX() as int;
myItemEntity.blockX();

Return Type: int

Getter
script.zs
// ItemEntity.blockY as int
myItemEntity.blockY

Return Type: int

blockY() as int
script.zs
// ItemEntity.blockY() as int;
myItemEntity.blockY();

Return Type: int

Getter
script.zs
// ItemEntity.blockZ as int
myItemEntity.blockZ

Return Type: int

blockZ() as int
script.zs
// ItemEntity.blockZ() as int;
myItemEntity.blockZ();

Return Type: int

Getter
script.zs
// ItemEntity.boundingBox as AABB
myItemEntity.boundingBox

Return Type: AABB

boundingBox() as AABB
script.zs
// ItemEntity.boundingBox() as AABB;
myItemEntity.boundingBox();

Return Type: AABB

Getter
script.zs
// ItemEntity.boundingBoxForCulling as AABB
myItemEntity.boundingBoxForCulling

Return Type: AABB

boundingBoxForCulling() as AABB
script.zs
// ItemEntity.boundingBoxForCulling() as AABB;
myItemEntity.boundingBoxForCulling();

Return Type: AABB

Getter
script.zs
// ItemEntity.canBeCollidedWith as bool
myItemEntity.canBeCollidedWith

Return Type: bool

canBeCollidedWith() as bool
script.zs
// ItemEntity.canBeCollidedWith() as bool;
myItemEntity.canBeCollidedWith();

Return Type: bool

canCollideWith(other as Entity) as bool
script.zs
// ItemEntity.canCollideWith(other as Entity) as bool;
myItemEntity.canCollideWith(myEntity);

Parameters:

other Type: Entity

Return Type: bool

Getter
script.zs
// ItemEntity.canFreeze as bool
myItemEntity.canFreeze

Return Type: bool

canFreeze() as bool
script.zs
// ItemEntity.canFreeze() as bool;
myItemEntity.canFreeze();

Return Type: bool

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

Parameters:

other Type: Entity
distance Type: double

Return Type: bool

Getter
script.zs
// ItemEntity.commandSenderWorld as Level
myItemEntity.commandSenderWorld

Return Type: Level

commandSenderWorld() as Level
script.zs
// ItemEntity.commandSenderWorld() as Level;
myItemEntity.commandSenderWorld();

Return Type: Level

Getter
script.zs
// ItemEntity.controllingPassenger as Entity
myItemEntity.controllingPassenger

Return Type: Entity

controllingPassenger() as Entity
script.zs
// ItemEntity.controllingPassenger() as Entity;
myItemEntity.controllingPassenger();

Return Type: Entity

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

Return Type: MapData

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

Returns: The custom data for this Entity.

script.zs
// ItemEntity.customData() as MapData;
myItemEntity.customData();

Return Type: MapData

Getter
script.zs
// ItemEntity.customName as Component
myItemEntity.customName

Return Type: Component

Getter
script.zs
// ItemEntity.customName as Component
myItemEntity.customName

Return Type: Component

customName() as Component
script.zs
// ItemEntity.customName() as Component;
myItemEntity.customName();

Return Type: Component

customName() as Component
script.zs
// ItemEntity.customName() as Component;
myItemEntity.customName();

Return Type: Component

Getter
script.zs
// ItemEntity.dampensVibrations as bool
myItemEntity.dampensVibrations

Return Type: bool

dampensVibrations() as bool
script.zs
// ItemEntity.dampensVibrations() as bool;
myItemEntity.dampensVibrations();

Return Type: bool

Getter
Gets the NBT data of this Entity.
script.zs
// ItemEntity.data as MapData
myItemEntity.data

Return Type: MapData

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

Returns: The NBT data of this Entity.

script.zs
// ItemEntity.data() as MapData;
myItemEntity.data();

Return Type: MapData

Getter
script.zs
// ItemEntity.deltaMovement as Vec3
myItemEntity.deltaMovement

Return Type: Vec3

Setter
script.zs
// ItemEntity.deltaMovement = (deltaMovement as Vec3);
myItemEntity.deltaMovement = myVec3;

Parameters:

deltaMovement Type: Vec3
deltaMovement() as Vec3
script.zs
// ItemEntity.deltaMovement() as Vec3;
myItemEntity.deltaMovement();

Return Type: Vec3

deltaMovement(deltaMovement as Vec3)
script.zs
// ItemEntity.deltaMovement(deltaMovement as Vec3);
myItemEntity.deltaMovement(myVec3);

Parameters:

deltaMovement Type: Vec3
Getter
script.zs
// ItemEntity.dimensionChangingDelay as int
myItemEntity.dimensionChangingDelay

Return Type: int

dimensionChangingDelay() as int
script.zs
// ItemEntity.dimensionChangingDelay() as int;
myItemEntity.dimensionChangingDelay();

Return Type: int

Getter
script.zs
// ItemEntity.direction as Direction
myItemEntity.direction

Return Type: Direction

direction() as Direction
script.zs
// ItemEntity.direction() as Direction;
myItemEntity.direction();

Return Type: Direction

discard()
script.zs
// ItemEntity.discard();
myItemEntity.discard();
Getter
script.zs
// ItemEntity.dismountsUnderwater as bool
myItemEntity.dismountsUnderwater

Return Type: bool

Getter
script.zs
// ItemEntity.displayName as Component
myItemEntity.displayName

Return Type: Component

Getter
script.zs
// ItemEntity.displayName as Component
myItemEntity.displayName

Return Type: Component

displayName() as Component
script.zs
// ItemEntity.displayName() as Component;
myItemEntity.displayName();

Return Type: Component

displayName() as Component
script.zs
// ItemEntity.displayName() as Component;
myItemEntity.displayName();

Return Type: Component

distanceTo(entity as Entity) as float
script.zs
// ItemEntity.distanceTo(entity as Entity) as float;
myItemEntity.distanceTo(myEntity);

Parameters:

entity Type: Entity

Return Type: float

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

Parameters:

entity Type: Entity

Return Type: double

distanceToSqr(vec as Vec3) as double
script.zs
// ItemEntity.distanceToSqr(vec as Vec3) as double;
myItemEntity.distanceToSqr(myVec3);

Parameters:

vec Type: Vec3

Return Type: double

ejectPassengers()
script.zs
// ItemEntity.ejectPassengers();
myItemEntity.ejectPassengers();
Getter
script.zs
// ItemEntity.eyeHeight as float
myItemEntity.eyeHeight

Return Type: float

eyeHeight() as float
script.zs
// ItemEntity.eyeHeight() as float;
myItemEntity.eyeHeight();

Return Type: float

Getter
script.zs
// ItemEntity.eyePosition as Vec3
myItemEntity.eyePosition

Return Type: Vec3

eyePosition() as Vec3
script.zs
// ItemEntity.eyePosition() as Vec3;
myItemEntity.eyePosition();

Return Type: Vec3

Getter
script.zs
// ItemEntity.eyeY as double
myItemEntity.eyeY

Return Type: double

eyeY() as double
script.zs
// ItemEntity.eyeY() as double;
myItemEntity.eyeY();

Return Type: double

Getter
script.zs
// ItemEntity.feetBlockState as BlockState
myItemEntity.feetBlockState

Return Type: BlockState

feetBlockState() as BlockState
script.zs
// ItemEntity.feetBlockState() as BlockState;
myItemEntity.feetBlockState();

Return Type: BlockState

Getter
script.zs
// ItemEntity.fireImmune as bool
myItemEntity.fireImmune

Return Type: bool

fireImmune() as bool
script.zs
// ItemEntity.fireImmune() as bool;
myItemEntity.fireImmune();

Return Type: bool

Getter
script.zs
// ItemEntity.firstPassenger as Entity
myItemEntity.firstPassenger

Return Type: Entity

firstPassenger() as Entity
script.zs
// ItemEntity.firstPassenger() as Entity;
myItemEntity.firstPassenger();

Return Type: Entity

Getter
script.zs
// ItemEntity.fluidJumpThreshold as double
myItemEntity.fluidJumpThreshold

Return Type: double

fluidJumpThreshold() as double
script.zs
// ItemEntity.fluidJumpThreshold() as double;
myItemEntity.fluidJumpThreshold();

Return Type: double

Getter
script.zs
// ItemEntity.forward as Vec3
myItemEntity.forward

Return Type: Vec3

forward() as Vec3
script.zs
// ItemEntity.forward() as Vec3;
myItemEntity.forward();

Return Type: Vec3

getAttachmentData(type as AttachmentType<T>) as T
script.zs
// ItemEntity.getAttachmentData<T>(type as AttachmentType<T>) as T;
myItemEntity.getAttachmentData<T>(myAttachmentType);

Parameters:

type Type: AttachmentType<T>

Return Type: T

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

Parameters:

type Type: Supplier<AttachmentType<T>>

Return Type: T

getEyePosition(partialTicks as float) as Vec3
script.zs
// ItemEntity.getEyePosition(partialTicks as float) as Vec3;
myItemEntity.getEyePosition(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getPosition(partialTicks as float) as Vec3
script.zs
// ItemEntity.getPosition(partialTicks as float) as Vec3;
myItemEntity.getPosition(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getUpVector(partialTicks as float) as Vec3
script.zs
// ItemEntity.getUpVector(partialTicks as float) as Vec3;
myItemEntity.getUpVector(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getViewVector(partialTicks as float) as Vec3
script.zs
// ItemEntity.getViewVector(partialTicks as float) as Vec3;
myItemEntity.getViewVector(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getX(scale as double) as double
script.zs
// ItemEntity.getX(scale as double) as double;
myItemEntity.getX(myDouble);

Parameters:

scale Type: double

Return Type: double

getY(scale as double) as double
script.zs
// ItemEntity.getY(scale as double) as double;
myItemEntity.getY(myDouble);

Parameters:

scale Type: double

Return Type: double

getZ(scale as double) as double
script.zs
// ItemEntity.getZ(scale as double) as double;
myItemEntity.getZ(myDouble);

Parameters:

scale Type: double

Return Type: double

Getter
script.zs
// ItemEntity.handSlots as Iterable<ItemStack>
myItemEntity.handSlots

Return Type: Iterable<ItemStack>

handSlots() as Iterable<ItemStack>
script.zs
// ItemEntity.handSlots() as Iterable<ItemStack>;
myItemEntity.handSlots();

Return Type: Iterable<ItemStack>

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

Parameters:

type Type: AttachmentType<T>

Return Type: bool

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

Parameters:

type Type: Supplier<AttachmentType<T>>

Return Type: bool

Getter
script.zs
// ItemEntity.hasCustomName as bool
myItemEntity.hasCustomName

Return Type: bool

Getter
script.zs
// ItemEntity.hasCustomName as bool
myItemEntity.hasCustomName

Return Type: bool

hasCustomName() as bool
script.zs
// ItemEntity.hasCustomName() as bool;
myItemEntity.hasCustomName();

Return Type: bool

hasCustomName() as bool
script.zs
// ItemEntity.hasCustomName() as bool;
myItemEntity.hasCustomName();

Return Type: bool

Getter
script.zs
// ItemEntity.hasExactlyOnePlayerPassenger as bool
myItemEntity.hasExactlyOnePlayerPassenger

Return Type: bool

hasExactlyOnePlayerPassenger() as bool
script.zs
// ItemEntity.hasExactlyOnePlayerPassenger() as bool;
myItemEntity.hasExactlyOnePlayerPassenger();

Return Type: bool

Getter
script.zs
// ItemEntity.hasGlowingTag as bool
myItemEntity.hasGlowingTag

Return Type: bool

hasGlowingTag() as bool
script.zs
// ItemEntity.hasGlowingTag() as bool;
myItemEntity.hasGlowingTag();

Return Type: bool

hasIndirectPassenger(entity as Entity) as bool
script.zs
// ItemEntity.hasIndirectPassenger(entity as Entity) as bool;
myItemEntity.hasIndirectPassenger(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

hasPassenger(entity as Entity) as bool
script.zs
// ItemEntity.hasPassenger(entity as Entity) as bool;
myItemEntity.hasPassenger(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

hasPassenger(predicate as function(t as Entity) as bool) as bool
script.zs
// ItemEntity.hasPassenger(predicate as function(t as Entity) as bool) as bool;
myItemEntity.hasPassenger(myPredicate);

Parameters:

predicate Type: function(t as Entity) as bool

Return Type: bool

Getter
script.zs
// ItemEntity.hasPickupDelay as bool
myItemEntity.hasPickupDelay

Return Type: bool

hasPickupDelay() as bool
script.zs
// ItemEntity.hasPickupDelay() as bool;
myItemEntity.hasPickupDelay();

Return Type: bool

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

Parameters:

source Type: DamageSource
amount Type: float

Return Type: bool

Getter
script.zs
// ItemEntity.id as int
myItemEntity.id

Return Type: int

id() as int
script.zs
// ItemEntity.id() as int;
myItemEntity.id();

Return Type: int

Getter
script.zs
// ItemEntity.isAlive as bool
myItemEntity.isAlive

Return Type: bool

isAlive() as bool
script.zs
// ItemEntity.isAlive() as bool;
myItemEntity.isAlive();

Return Type: bool

Getter
script.zs
// ItemEntity.isAlwaysTicking as bool
myItemEntity.isAlwaysTicking

Return Type: bool

isAlwaysTicking() as bool
script.zs
// ItemEntity.isAlwaysTicking() as bool;
myItemEntity.isAlwaysTicking();

Return Type: bool

Getter
script.zs
// ItemEntity.isAttackable as bool
myItemEntity.isAttackable

Return Type: bool

isAttackable() as bool
script.zs
// ItemEntity.isAttackable() as bool;
myItemEntity.isAttackable();

Return Type: bool

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

Parameters:

pos Type: BlockPos
state Type: BlockState

Return Type: bool

Getter
script.zs
// ItemEntity.isCrouching as bool
myItemEntity.isCrouching

Return Type: bool

isCrouching() as bool
script.zs
// ItemEntity.isCrouching() as bool;
myItemEntity.isCrouching();

Return Type: bool

Getter
script.zs
// ItemEntity.isCurrentlyGlowing as bool
myItemEntity.isCurrentlyGlowing

Return Type: bool

isCurrentlyGlowing() as bool
script.zs
// ItemEntity.isCurrentlyGlowing() as bool;
myItemEntity.isCurrentlyGlowing();

Return Type: bool

Getter
script.zs
// ItemEntity.isCustomNameVisible as bool
myItemEntity.isCustomNameVisible

Return Type: bool

isCustomNameVisible() as bool
script.zs
// ItemEntity.isCustomNameVisible() as bool;
myItemEntity.isCustomNameVisible();

Return Type: bool

Getter
script.zs
// ItemEntity.isDescending as bool
myItemEntity.isDescending

Return Type: bool

isDescending() as bool
script.zs
// ItemEntity.isDescending() as bool;
myItemEntity.isDescending();

Return Type: bool

Getter
script.zs
// ItemEntity.isDiscrete as bool
myItemEntity.isDiscrete

Return Type: bool

isDiscrete() as bool
script.zs
// ItemEntity.isDiscrete() as bool;
myItemEntity.isDiscrete();

Return Type: bool

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

Parameters:

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

Return Type: bool

Getter
script.zs
// ItemEntity.isFullyFrozen as bool
myItemEntity.isFullyFrozen

Return Type: bool

isFullyFrozen() as bool
script.zs
// ItemEntity.isFullyFrozen() as bool;
myItemEntity.isFullyFrozen();

Return Type: bool

Getter
script.zs
// ItemEntity.isInLava as bool
myItemEntity.isInLava

Return Type: bool

isInLava() as bool
script.zs
// ItemEntity.isInLava() as bool;
myItemEntity.isInLava();

Return Type: bool

Getter
script.zs
// ItemEntity.isInvisible as bool
myItemEntity.isInvisible

Return Type: bool

isInvisible() as bool
script.zs
// ItemEntity.isInvisible() as bool;
myItemEntity.isInvisible();

Return Type: bool

isInvisibleTo(player as Player) as bool
script.zs
// ItemEntity.isInvisibleTo(player as Player) as bool;
myItemEntity.isInvisibleTo(myPlayer);

Parameters:

player Type: Player

Return Type: bool

Getter
script.zs
// ItemEntity.isInvulnerable as bool
myItemEntity.isInvulnerable

Return Type: bool

isInvulnerable() as bool
script.zs
// ItemEntity.isInvulnerable() as bool;
myItemEntity.isInvulnerable();

Return Type: bool

isInvulnerableTo(source as DamageSource) as bool
script.zs
// ItemEntity.isInvulnerableTo(source as DamageSource) as bool;
myItemEntity.isInvulnerableTo(myDamageSource);

Parameters:

source Type: DamageSource

Return Type: bool

Getter
script.zs
// ItemEntity.isInWall as bool
myItemEntity.isInWall

Return Type: bool

isInWall() as bool
script.zs
// ItemEntity.isInWall() as bool;
myItemEntity.isInWall();

Return Type: bool

Getter
script.zs
// ItemEntity.isInWater as bool
myItemEntity.isInWater

Return Type: bool

isInWater() as bool
script.zs
// ItemEntity.isInWater() as bool;
myItemEntity.isInWater();

Return Type: bool

Getter
script.zs
// ItemEntity.isInWaterOrBubble as bool
myItemEntity.isInWaterOrBubble

Return Type: bool

isInWaterOrBubble() as bool
script.zs
// ItemEntity.isInWaterOrBubble() as bool;
myItemEntity.isInWaterOrBubble();

Return Type: bool

Getter
script.zs
// ItemEntity.isInWaterOrRain as bool
myItemEntity.isInWaterOrRain

Return Type: bool

isInWaterOrRain() as bool
script.zs
// ItemEntity.isInWaterOrRain() as bool;
myItemEntity.isInWaterOrRain();

Return Type: bool

Getter
script.zs
// ItemEntity.isInWaterRainOrBubble as bool
myItemEntity.isInWaterRainOrBubble

Return Type: bool

isInWaterRainOrBubble() as bool
script.zs
// ItemEntity.isInWaterRainOrBubble() as bool;
myItemEntity.isInWaterRainOrBubble();

Return Type: bool

Getter
script.zs
// ItemEntity.isNoGravity as bool
myItemEntity.isNoGravity

Return Type: bool

isNoGravity() as bool
script.zs
// ItemEntity.isNoGravity() as bool;
myItemEntity.isNoGravity();

Return Type: bool

Getter
script.zs
// ItemEntity.isOnFire as bool
myItemEntity.isOnFire

Return Type: bool

isOnFire() as bool
script.zs
// ItemEntity.isOnFire() as bool;
myItemEntity.isOnFire();

Return Type: bool

Getter
script.zs
// ItemEntity.isOnPortalCooldown as bool
myItemEntity.isOnPortalCooldown

Return Type: bool

isOnPortalCooldown() as bool
script.zs
// ItemEntity.isOnPortalCooldown() as bool;
myItemEntity.isOnPortalCooldown();

Return Type: bool

Getter
script.zs
// ItemEntity.isPassenger as bool
myItemEntity.isPassenger

Return Type: bool

isPassenger() as bool
script.zs
// ItemEntity.isPassenger() as bool;
myItemEntity.isPassenger();

Return Type: bool

isPassengerOfSameVehicle(entity as Entity) as bool
script.zs
// ItemEntity.isPassengerOfSameVehicle(entity as Entity) as bool;
myItemEntity.isPassengerOfSameVehicle(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

Getter
script.zs
// ItemEntity.isPickable as bool
myItemEntity.isPickable

Return Type: bool

isPickable() as bool
script.zs
// ItemEntity.isPickable() as bool;
myItemEntity.isPickable();

Return Type: bool

Getter
script.zs
// ItemEntity.isPushable as bool
myItemEntity.isPushable

Return Type: bool

isPushable() as bool
script.zs
// ItemEntity.isPushable() as bool;
myItemEntity.isPushable();

Return Type: bool

Getter
script.zs
// ItemEntity.isPushedByFluid as bool
myItemEntity.isPushedByFluid

Return Type: bool

isPushedByFluid() as bool
script.zs
// ItemEntity.isPushedByFluid() as bool;
myItemEntity.isPushedByFluid();

Return Type: bool

Getter
script.zs
// ItemEntity.isRemoved as bool
myItemEntity.isRemoved

Return Type: bool

isRemoved() as bool
script.zs
// ItemEntity.isRemoved() as bool;
myItemEntity.isRemoved();

Return Type: bool

Getter
script.zs
// ItemEntity.isShiftKeyDown as bool
myItemEntity.isShiftKeyDown

Return Type: bool

isShiftKeyDown() as bool
script.zs
// ItemEntity.isShiftKeyDown() as bool;
myItemEntity.isShiftKeyDown();

Return Type: bool

Getter
script.zs
// ItemEntity.isSilent as bool
myItemEntity.isSilent

Return Type: bool

isSilent() as bool
script.zs
// ItemEntity.isSilent() as bool;
myItemEntity.isSilent();

Return Type: bool

Getter
script.zs
// ItemEntity.isSpectator as bool
myItemEntity.isSpectator

Return Type: bool

isSpectator() as bool
script.zs
// ItemEntity.isSpectator() as bool;
myItemEntity.isSpectator();

Return Type: bool

Getter
script.zs
// ItemEntity.isSprinting as bool
myItemEntity.isSprinting

Return Type: bool

isSprinting() as bool
script.zs
// ItemEntity.isSprinting() as bool;
myItemEntity.isSprinting();

Return Type: bool

Getter
script.zs
// ItemEntity.isSteppingCarefully as bool
myItemEntity.isSteppingCarefully

Return Type: bool

isSteppingCarefully() as bool
script.zs
// ItemEntity.isSteppingCarefully() as bool;
myItemEntity.isSteppingCarefully();

Return Type: bool

Getter
script.zs
// ItemEntity.isSuppressingBounce as bool
myItemEntity.isSuppressingBounce

Return Type: bool

isSuppressingBounce() as bool
script.zs
// ItemEntity.isSuppressingBounce() as bool;
myItemEntity.isSuppressingBounce();

Return Type: bool

Getter
script.zs
// ItemEntity.isSwimming as bool
myItemEntity.isSwimming

Return Type: bool

isSwimming() as bool
script.zs
// ItemEntity.isSwimming() as bool;
myItemEntity.isSwimming();

Return Type: bool

Getter
script.zs
// ItemEntity.isUnderWater as bool
myItemEntity.isUnderWater

Return Type: bool

isUnderWater() as bool
script.zs
// ItemEntity.isUnderWater() as bool;
myItemEntity.isUnderWater();

Return Type: bool

Getter
script.zs
// ItemEntity.isVehicle as bool
myItemEntity.isVehicle

Return Type: bool

isVehicle() as bool
script.zs
// ItemEntity.isVehicle() as bool;
myItemEntity.isVehicle();

Return Type: bool

Getter
script.zs
// ItemEntity.isVisuallyCrawling as bool
myItemEntity.isVisuallyCrawling

Return Type: bool

isVisuallyCrawling() as bool
script.zs
// ItemEntity.isVisuallyCrawling() as bool;
myItemEntity.isVisuallyCrawling();

Return Type: bool

Getter
script.zs
// ItemEntity.isVisuallySwimming as bool
myItemEntity.isVisuallySwimming

Return Type: bool

isVisuallySwimming() as bool
script.zs
// ItemEntity.isVisuallySwimming() as bool;
myItemEntity.isVisuallySwimming();

Return Type: bool

Getter
Gets the IItemStack inside this ItemEntity.
script.zs
// ItemEntity.item as IItemStack
myItemEntity.item

Return Type: IItemStack

Setter
Sets the IItemStack inside this ItemEntity.
script.zs
// ItemEntity.item = (stack as IItemStack);
myItemEntity.item = myIItemStack;

Parameters:

stack Type: IItemStack - The new IItemStack.
item() as IItemStack
Gets the IItemStack inside this ItemEntity.

Returns: The IItemStack inside this ItemEntity.

script.zs
// ItemEntity.item() as IItemStack;
myItemEntity.item();

Return Type: IItemStack

item(stack as IItemStack)
Sets the IItemStack inside this ItemEntity.
script.zs
// ItemEntity.item(stack as IItemStack);
myItemEntity.item(<item:minecraft:diamond>);

Parameters:

stack Type: IItemStack - The new IItemStack.
kill()
script.zs
// ItemEntity.kill();
myItemEntity.kill();
lavaHurt()
script.zs
// ItemEntity.lavaHurt();
myItemEntity.lavaHurt();
Getter
script.zs
// ItemEntity.level as Level
myItemEntity.level

Return Type: Level

Getter
script.zs
// ItemEntity.lookAngle as Vec3
myItemEntity.lookAngle

Return Type: Vec3

lookAngle() as Vec3
script.zs
// ItemEntity.lookAngle() as Vec3;
myItemEntity.lookAngle();

Return Type: Vec3

Getter
script.zs
// ItemEntity.maxAirSupply as int
myItemEntity.maxAirSupply

Return Type: int

maxAirSupply() as int
script.zs
// ItemEntity.maxAirSupply() as int;
myItemEntity.maxAirSupply();

Return Type: int

Getter
script.zs
// ItemEntity.maxFallDistance as int
myItemEntity.maxFallDistance

Return Type: int

maxFallDistance() as int
script.zs
// ItemEntity.maxFallDistance() as int;
myItemEntity.maxFallDistance();

Return Type: int

Getter
script.zs
// ItemEntity.motionDirection as Direction
myItemEntity.motionDirection

Return Type: Direction

motionDirection() as Direction
script.zs
// ItemEntity.motionDirection() as Direction;
myItemEntity.motionDirection();

Return Type: Direction

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

Parameters:

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

Parameters:

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

Return Type: Component

Getter
script.zs
// ItemEntity.name as Component
myItemEntity.name

Return Type: Component

name() as Component
script.zs
// ItemEntity.name() as Component;
myItemEntity.name();

Return Type: Component

name() as Component
script.zs
// ItemEntity.name() as Component;
myItemEntity.name();

Return Type: Component

Getter
script.zs
// ItemEntity.onGround as bool
myItemEntity.onGround

Return Type: bool

Getter
script.zs
// ItemEntity.onPos as BlockPos
myItemEntity.onPos

Return Type: BlockPos

onPos() as BlockPos
script.zs
// ItemEntity.onPos() as BlockPos;
myItemEntity.onPos();

Return Type: BlockPos

Getter
script.zs
// ItemEntity.passengers as List<Entity>
myItemEntity.passengers

Return Type: List<Entity>

passengers() as List<Entity>
script.zs
// ItemEntity.passengers() as List<Entity>;
myItemEntity.passengers();

Return Type: List<Entity>

Getter
script.zs
// ItemEntity.percentFrozen as float
myItemEntity.percentFrozen

Return Type: float

percentFrozen() as float
script.zs
// ItemEntity.percentFrozen() as float;
myItemEntity.percentFrozen();

Return Type: float

Getter
script.zs
// ItemEntity.pistonPushReaction as PushReaction
myItemEntity.pistonPushReaction

Return Type: PushReaction

pistonPushReaction() as PushReaction
script.zs
// ItemEntity.pistonPushReaction() as PushReaction;
myItemEntity.pistonPushReaction();

Return Type: PushReaction

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

Parameters:

sound Type: SoundEvent
volume Type: float
pitch Type: float
Getter
script.zs
// ItemEntity.portalWaitTime as int
myItemEntity.portalWaitTime

Return Type: int

portalWaitTime() as int
script.zs
// ItemEntity.portalWaitTime() as int;
myItemEntity.portalWaitTime();

Return Type: int

Getter
script.zs
// ItemEntity.position as Vec3
myItemEntity.position

Return Type: Vec3

position() as Vec3
script.zs
// ItemEntity.position() as Vec3;
myItemEntity.position();

Return Type: Vec3

positionRider(entity as Entity)
script.zs
// ItemEntity.positionRider(entity as Entity);
myItemEntity.positionRider(myEntity);

Parameters:

entity Type: Entity
Getter
script.zs
// ItemEntity.registryName as ResourceLocation
myItemEntity.registryName

Return Type: ResourceLocation

registryName() as ResourceLocation
script.zs
// ItemEntity.registryName() as ResourceLocation;
myItemEntity.registryName();

Return Type: ResourceLocation

Getter
script.zs
// ItemEntity.remainingFireTicks as int
myItemEntity.remainingFireTicks

Return Type: int

remainingFireTicks() as int
script.zs
// ItemEntity.remainingFireTicks() as int;
myItemEntity.remainingFireTicks();

Return Type: int

removeTag(tagName as string) as bool
script.zs
// ItemEntity.removeTag(tagName as string) as bool;
myItemEntity.removeTag(myString);

Parameters:

tagName Type: string

Return Type: bool

removeVehicle()
script.zs
// ItemEntity.removeVehicle();
myItemEntity.removeVehicle();
Getter
script.zs
// ItemEntity.rootVehicle as Entity
myItemEntity.rootVehicle

Return Type: Entity

rootVehicle() as Entity
script.zs
// ItemEntity.rootVehicle() as Entity;
myItemEntity.rootVehicle();

Return Type: Entity

sendMessage(component as Component)
script.zs
// ItemEntity.sendMessage(component as Component);
myItemEntity.sendMessage(myComponent);

Parameters:

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

Parameters:

air Type: int
setAttachmentData(type as AttachmentType<T>, data as T) as T?
script.zs
// ItemEntity.setAttachmentData<T>(type as AttachmentType<T>, data as T) as T?;
myItemEntity.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
// ItemEntity.setAttachmentData<T>(type as Supplier<AttachmentType<T>>, data as T) as T?;
myItemEntity.setAttachmentData<T>(mySupplier, myT);

Parameters:

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

Return Type: T?

setCustomName(name as Component)
script.zs
// ItemEntity.setCustomName(name as Component);
myItemEntity.setCustomName(myComponent);

Parameters:

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

Parameters:

visible Type: bool
setDefaultPickUpDelay()
script.zs
// ItemEntity.setDefaultPickUpDelay();
myItemEntity.setDefaultPickUpDelay();
setDeltaMovement(xDelta as double, yDelta as double, zDelta as double)
script.zs
// ItemEntity.setDeltaMovement(xDelta as double, yDelta as double, zDelta as double);
myItemEntity.setDeltaMovement(myDouble, myDouble, myDouble);

Parameters:

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

Parameters:

glowing Type: bool
setInvisible(invisible as bool)
script.zs
// ItemEntity.setInvisible(invisible as bool);
myItemEntity.setInvisible(myBool);

Parameters:

invisible Type: bool
setInvulnerable(invulnerable as bool)
script.zs
// ItemEntity.setInvulnerable(invulnerable as bool);
myItemEntity.setInvulnerable(myBool);

Parameters:

invulnerable Type: bool
setIsInPowderSnow(inPowderSnow as bool)
script.zs
// ItemEntity.setIsInPowderSnow(inPowderSnow as bool);
myItemEntity.setIsInPowderSnow(myBool);

Parameters:

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

Parameters:

stack Type: ItemStack
setNeverPickUp()
script.zs
// ItemEntity.setNeverPickUp();
myItemEntity.setNeverPickUp();
setNoGravity(noGravity as bool)
script.zs
// ItemEntity.setNoGravity(noGravity as bool);
myItemEntity.setNoGravity(myBool);

Parameters:

noGravity Type: bool
setNoPickUpDelay()
script.zs
// ItemEntity.setNoPickUpDelay();
myItemEntity.setNoPickUpDelay();
setOldPosAndRot()
script.zs
// ItemEntity.setOldPosAndRot();
myItemEntity.setOldPosAndRot();
setOnGround(onGround as bool)
script.zs
// ItemEntity.setOnGround(onGround as bool);
myItemEntity.setOnGround(myBool);

Parameters:

onGround Type: bool
setPickUpDelay(ticks as int)
script.zs
// ItemEntity.setPickUpDelay(ticks as int);
myItemEntity.setPickUpDelay(myInt);

Parameters:

ticks Type: int
setPortalCooldown()
script.zs
// ItemEntity.setPortalCooldown();
myItemEntity.setPortalCooldown();
setPos(position as Vec3)
script.zs
// ItemEntity.setPos(position as Vec3);
myItemEntity.setPos(myVec3);

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

setSecondsOnFire(seconds as int)
script.zs
// ItemEntity.setSecondsOnFire(seconds as int);
myItemEntity.setSecondsOnFire(myInt);

Parameters:

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

Parameters:

keyDown Type: bool
setSilent(silent as bool)
script.zs
// ItemEntity.setSilent(silent as bool);
myItemEntity.setSilent(myBool);

Parameters:

silent Type: bool
setSprinting(sprinting as bool)
script.zs
// ItemEntity.setSprinting(sprinting as bool);
myItemEntity.setSprinting(myBool);

Parameters:

sprinting Type: bool
setSwimming(swimming as bool)
script.zs
// ItemEntity.setSwimming(swimming as bool);
myItemEntity.setSwimming(myBool);

Parameters:

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

Parameters:

ticks Type: int
Getter
script.zs
// ItemEntity.shouldBeSaved as bool
myItemEntity.shouldBeSaved

Return Type: bool

shouldBeSaved() as bool
script.zs
// ItemEntity.shouldBeSaved() as bool;
myItemEntity.shouldBeSaved();

Return Type: bool

Getter
script.zs
// ItemEntity.shouldInformAdmins as bool
myItemEntity.shouldInformAdmins

Return Type: bool

shouldInformAdmins() as bool
script.zs
// ItemEntity.shouldInformAdmins() as bool;
myItemEntity.shouldInformAdmins();

Return Type: bool

Getter
script.zs
// ItemEntity.shouldShowName as bool
myItemEntity.shouldShowName

Return Type: bool

shouldShowName() as bool
script.zs
// ItemEntity.shouldShowName() as bool;
myItemEntity.shouldShowName();

Return Type: bool

Getter
script.zs
// ItemEntity.showVehicleHealth as bool
myItemEntity.showVehicleHealth

Return Type: bool

showVehicleHealth() as bool
script.zs
// ItemEntity.showVehicleHealth() as bool;
myItemEntity.showVehicleHealth();

Return Type: bool

Getter
script.zs
// ItemEntity.soundSource as SoundSource
myItemEntity.soundSource

Return Type: SoundSource

soundSource() as SoundSource
script.zs
// ItemEntity.soundSource() as SoundSource;
myItemEntity.soundSource();

Return Type: SoundSource

startRiding(entity as Entity) as bool
script.zs
// ItemEntity.startRiding(entity as Entity) as bool;
myItemEntity.startRiding(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

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

Parameters:

entity Type: Entity
force Type: bool

Return Type: bool

stopRiding()
script.zs
// ItemEntity.stopRiding();
myItemEntity.stopRiding();
Getter
script.zs
// ItemEntity.stringUUID as string
myItemEntity.stringUUID

Return Type: string

stringUUID() as string
script.zs
// ItemEntity.stringUUID() as string;
myItemEntity.stringUUID();

Return Type: string

Getter
script.zs
// ItemEntity.tags as Set<string>
myItemEntity.tags

Return Type: Set<string>

tags() as Set<string>
script.zs
// ItemEntity.tags() as Set<string>;
myItemEntity.tags();

Return Type: Set<string>

Getter
script.zs
// ItemEntity.teamColor as int
myItemEntity.teamColor

Return Type: int

teamColor() as int
script.zs
// ItemEntity.teamColor() as int;
myItemEntity.teamColor();

Return Type: int

teleportTo(x as double, y as double, z as double)
script.zs
// ItemEntity.teleportTo(x as double, y as double, z as double);
myItemEntity.teleportTo(myDouble, myDouble, myDouble);

Parameters:

x Type: double
y Type: double
z Type: double
Getter
script.zs
// ItemEntity.ticksFrozen as int
myItemEntity.ticksFrozen

Return Type: int

ticksFrozen() as int
script.zs
// ItemEntity.ticksFrozen() as int;
myItemEntity.ticksFrozen();

Return Type: int

Getter
script.zs
// ItemEntity.ticksRequiredToFreeze as int
myItemEntity.ticksRequiredToFreeze

Return Type: int

ticksRequiredToFreeze() as int
script.zs
// ItemEntity.ticksRequiredToFreeze() as int;
myItemEntity.ticksRequiredToFreeze();

Return Type: int

turn(yaw as double, pitch as double)
script.zs
// ItemEntity.turn(yaw as double, pitch as double);
myItemEntity.turn(myDouble, myDouble);

Parameters:

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

Return Type: EntityType<Entity>

type() as EntityType<Entity>
script.zs
// ItemEntity.type() as EntityType<Entity>;
myItemEntity.type();

Return Type: EntityType<Entity>

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

Parameters:

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

Parameters:

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

Return Type: UUID

uuid() as UUID
script.zs
// ItemEntity.uuid() as UUID;
myItemEntity.uuid();

Return Type: UUID

Getter
script.zs
// ItemEntity.vehicle as Entity
myItemEntity.vehicle

Return Type: Entity

vehicle() as Entity
script.zs
// ItemEntity.vehicle() as Entity;
myItemEntity.vehicle();

Return Type: Entity

Getter
script.zs
// ItemEntity.x as double
myItemEntity.x

Return Type: double

x() as double
script.zs
// ItemEntity.x() as double;
myItemEntity.x();

Return Type: double

Getter
script.zs
// ItemEntity.y as double
myItemEntity.y

Return Type: double

y() as double
script.zs
// ItemEntity.y() as double;
myItemEntity.y();

Return Type: double

Getter
script.zs
// ItemEntity.z as double
myItemEntity.z

Return Type: double

z() as double
script.zs
// ItemEntity.z() as double;
myItemEntity.z();

Return Type: double