FishingHook

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

Extends

FishingHook extends Projectile.

Implements

FishingHook implements the following interfaces:

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

Undocumented Interfaces

TraceableEntity,IForgeEntity

Members

Getter
script.zs
// FishingHook.acceptsFailure as bool
myFishingHook.acceptsFailure

Return Type: bool

acceptsFailure() as bool
script.zs
// FishingHook.acceptsFailure() as bool;
myFishingHook.acceptsFailure();

Return Type: bool

Getter
script.zs
// FishingHook.acceptsSuccess as bool
myFishingHook.acceptsSuccess

Return Type: bool

acceptsSuccess() as bool
script.zs
// FishingHook.acceptsSuccess() as bool;
myFishingHook.acceptsSuccess();

Return Type: bool

addTag(tagName as string) as bool
script.zs
// FishingHook.addTag(tagName as string) as bool;
myFishingHook.addTag(myString);

Parameters:

tagName Type: string

Return Type: bool

Getter
script.zs
// FishingHook.airSupply as int
myFishingHook.airSupply

Return Type: int

airSupply() as int
script.zs
// FishingHook.airSupply() as int;
myFishingHook.airSupply();

Return Type: int

Getter
script.zs
// FishingHook.allSlots as Iterable<ItemStack>
myFishingHook.allSlots

Return Type: Iterable<ItemStack>

allSlots() as Iterable<ItemStack>
script.zs
// FishingHook.allSlots() as Iterable<ItemStack>;
myFishingHook.allSlots();

Return Type: Iterable<ItemStack>

Getter
script.zs
// FishingHook.alwaysAccepts as bool
myFishingHook.alwaysAccepts

Return Type: bool

alwaysAccepts() as bool
script.zs
// FishingHook.alwaysAccepts() as bool;
myFishingHook.alwaysAccepts();

Return Type: bool

Getter
script.zs
// FishingHook.armorSlots as Iterable<ItemStack>
myFishingHook.armorSlots

Return Type: Iterable<ItemStack>

armorSlots() as Iterable<ItemStack>
script.zs
// FishingHook.armorSlots() as Iterable<ItemStack>;
myFishingHook.armorSlots();

Return Type: Iterable<ItemStack>

Getter
script.zs
// FishingHook.bbHeight as float
myFishingHook.bbHeight

Return Type: float

bbHeight() as float
script.zs
// FishingHook.bbHeight() as float;
myFishingHook.bbHeight();

Return Type: float

Getter
script.zs
// FishingHook.bbWidth as float
myFishingHook.bbWidth

Return Type: float

bbWidth() as float
script.zs
// FishingHook.bbWidth() as float;
myFishingHook.bbWidth();

Return Type: float

Getter
script.zs
// FishingHook.blockPosiion as BlockPos
myFishingHook.blockPosiion

Return Type: BlockPos

blockPosiion() as BlockPos
script.zs
// FishingHook.blockPosiion() as BlockPos;
myFishingHook.blockPosiion();

Return Type: BlockPos

Getter
script.zs
// FishingHook.blockPosition as BlockPos
myFishingHook.blockPosition

Return Type: BlockPos

blockPosition() as BlockPos
script.zs
// FishingHook.blockPosition() as BlockPos;
myFishingHook.blockPosition();

Return Type: BlockPos

Getter
script.zs
// FishingHook.blockX as int
myFishingHook.blockX

Return Type: int

blockX() as int
script.zs
// FishingHook.blockX() as int;
myFishingHook.blockX();

Return Type: int

Getter
script.zs
// FishingHook.blockY as int
myFishingHook.blockY

Return Type: int

blockY() as int
script.zs
// FishingHook.blockY() as int;
myFishingHook.blockY();

Return Type: int

Getter
script.zs
// FishingHook.blockZ as int
myFishingHook.blockZ

Return Type: int

blockZ() as int
script.zs
// FishingHook.blockZ() as int;
myFishingHook.blockZ();

Return Type: int

Getter
script.zs
// FishingHook.boundingBox as AABB
myFishingHook.boundingBox

Return Type: AABB

boundingBox() as AABB
script.zs
// FishingHook.boundingBox() as AABB;
myFishingHook.boundingBox();

Return Type: AABB

Getter
script.zs
// FishingHook.boundingBoxForCulling as AABB
myFishingHook.boundingBoxForCulling

Return Type: AABB

boundingBoxForCulling() as AABB
script.zs
// FishingHook.boundingBoxForCulling() as AABB;
myFishingHook.boundingBoxForCulling();

Return Type: AABB

Getter
script.zs
// FishingHook.canBeCollidedWith as bool
myFishingHook.canBeCollidedWith

Return Type: bool

canBeCollidedWith() as bool
script.zs
// FishingHook.canBeCollidedWith() as bool;
myFishingHook.canBeCollidedWith();

Return Type: bool

canCollideWith(other as Entity) as bool
script.zs
// FishingHook.canCollideWith(other as Entity) as bool;
myFishingHook.canCollideWith(myEntity);

Parameters:

other Type: Entity

Return Type: bool

Getter
script.zs
// FishingHook.canFreeze as bool
myFishingHook.canFreeze

Return Type: bool

canFreeze() as bool
script.zs
// FishingHook.canFreeze() as bool;
myFishingHook.canFreeze();

Return Type: bool

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

Parameters:

other Type: Entity
distance Type: double

Return Type: bool

Getter
script.zs
// FishingHook.commandSenderWorld as Level
myFishingHook.commandSenderWorld

Return Type: Level

commandSenderWorld() as Level
script.zs
// FishingHook.commandSenderWorld() as Level;
myFishingHook.commandSenderWorld();

Return Type: Level

Getter
script.zs
// FishingHook.controllingPassenger as Entity
myFishingHook.controllingPassenger

Return Type: Entity

controllingPassenger() as Entity
script.zs
// FishingHook.controllingPassenger() as Entity;
myFishingHook.controllingPassenger();

Return Type: Entity

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

Return Type: MapData

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

Returns: The custom data for this Entity.

script.zs
// FishingHook.customData() as MapData;
myFishingHook.customData();

Return Type: MapData

Getter
script.zs
// FishingHook.customName as Component
myFishingHook.customName

Return Type: Component

Getter
script.zs
// FishingHook.customName as Component
myFishingHook.customName

Return Type: Component

customName() as Component
script.zs
// FishingHook.customName() as Component;
myFishingHook.customName();

Return Type: Component

customName() as Component
script.zs
// FishingHook.customName() as Component;
myFishingHook.customName();

Return Type: Component

Getter
script.zs
// FishingHook.dampensVibrations as bool
myFishingHook.dampensVibrations

Return Type: bool

dampensVibrations() as bool
script.zs
// FishingHook.dampensVibrations() as bool;
myFishingHook.dampensVibrations();

Return Type: bool

Getter
Gets the NBT data of this Entity.
script.zs
// FishingHook.data as MapData
myFishingHook.data

Return Type: MapData

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

Returns: The NBT data of this Entity.

script.zs
// FishingHook.data() as MapData;
myFishingHook.data();

Return Type: MapData

Getter
script.zs
// FishingHook.deltaMovement as Vec3
myFishingHook.deltaMovement

Return Type: Vec3

Setter
script.zs
// FishingHook.deltaMovement = (deltaMovement as Vec3);
myFishingHook.deltaMovement = myVec3;

Parameters:

deltaMovement Type: Vec3
deltaMovement() as Vec3
script.zs
// FishingHook.deltaMovement() as Vec3;
myFishingHook.deltaMovement();

Return Type: Vec3

deltaMovement(deltaMovement as Vec3)
script.zs
// FishingHook.deltaMovement(deltaMovement as Vec3);
myFishingHook.deltaMovement(myVec3);

Parameters:

deltaMovement Type: Vec3
Getter
script.zs
// FishingHook.dimensionChangingDelay as int
myFishingHook.dimensionChangingDelay

Return Type: int

dimensionChangingDelay() as int
script.zs
// FishingHook.dimensionChangingDelay() as int;
myFishingHook.dimensionChangingDelay();

Return Type: int

Getter
script.zs
// FishingHook.direction as Direction
myFishingHook.direction

Return Type: Direction

direction() as Direction
script.zs
// FishingHook.direction() as Direction;
myFishingHook.direction();

Return Type: Direction

discard()
script.zs
// FishingHook.discard();
myFishingHook.discard();
Getter
script.zs
// FishingHook.dismountsUnderwater as bool
myFishingHook.dismountsUnderwater

Return Type: bool

Getter
script.zs
// FishingHook.displayName as Component
myFishingHook.displayName

Return Type: Component

Getter
script.zs
// FishingHook.displayName as Component
myFishingHook.displayName

Return Type: Component

displayName() as Component
script.zs
// FishingHook.displayName() as Component;
myFishingHook.displayName();

Return Type: Component

displayName() as Component
script.zs
// FishingHook.displayName() as Component;
myFishingHook.displayName();

Return Type: Component

distanceTo(entity as Entity) as float
script.zs
// FishingHook.distanceTo(entity as Entity) as float;
myFishingHook.distanceTo(myEntity);

Parameters:

entity Type: Entity

Return Type: float

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

Parameters:

entity Type: Entity

Return Type: double

distanceToSqr(vec as Vec3) as double
script.zs
// FishingHook.distanceToSqr(vec as Vec3) as double;
myFishingHook.distanceToSqr(myVec3);

Parameters:

vec Type: Vec3

Return Type: double

Getter
script.zs
// FishingHook.effectSource as Entity
myFishingHook.effectSource

Return Type: Entity

effectSource() as Entity
script.zs
// FishingHook.effectSource() as Entity;
myFishingHook.effectSource();

Return Type: Entity

ejectPassengers()
script.zs
// FishingHook.ejectPassengers();
myFishingHook.ejectPassengers();
Getter
script.zs
// FishingHook.eyeHeight as float
myFishingHook.eyeHeight

Return Type: float

eyeHeight() as float
script.zs
// FishingHook.eyeHeight() as float;
myFishingHook.eyeHeight();

Return Type: float

Getter
script.zs
// FishingHook.eyePosition as Vec3
myFishingHook.eyePosition

Return Type: Vec3

eyePosition() as Vec3
script.zs
// FishingHook.eyePosition() as Vec3;
myFishingHook.eyePosition();

Return Type: Vec3

Getter
script.zs
// FishingHook.eyeY as double
myFishingHook.eyeY

Return Type: double

eyeY() as double
script.zs
// FishingHook.eyeY() as double;
myFishingHook.eyeY();

Return Type: double

Getter
script.zs
// FishingHook.feetBlockState as BlockState
myFishingHook.feetBlockState

Return Type: BlockState

feetBlockState() as BlockState
script.zs
// FishingHook.feetBlockState() as BlockState;
myFishingHook.feetBlockState();

Return Type: BlockState

Getter
script.zs
// FishingHook.fireImmune as bool
myFishingHook.fireImmune

Return Type: bool

fireImmune() as bool
script.zs
// FishingHook.fireImmune() as bool;
myFishingHook.fireImmune();

Return Type: bool

Getter
script.zs
// FishingHook.firstPassenger as Entity
myFishingHook.firstPassenger

Return Type: Entity

firstPassenger() as Entity
script.zs
// FishingHook.firstPassenger() as Entity;
myFishingHook.firstPassenger();

Return Type: Entity

Getter
script.zs
// FishingHook.fluidJumpThreshold as double
myFishingHook.fluidJumpThreshold

Return Type: double

fluidJumpThreshold() as double
script.zs
// FishingHook.fluidJumpThreshold() as double;
myFishingHook.fluidJumpThreshold();

Return Type: double

Getter
script.zs
// FishingHook.forward as Vec3
myFishingHook.forward

Return Type: Vec3

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

Parameters:

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

Return Type: T?

getEyePosition(partialTicks as float) as Vec3
script.zs
// FishingHook.getEyePosition(partialTicks as float) as Vec3;
myFishingHook.getEyePosition(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getPosition(partialTicks as float) as Vec3
script.zs
// FishingHook.getPosition(partialTicks as float) as Vec3;
myFishingHook.getPosition(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getUpVector(partialTicks as float) as Vec3
script.zs
// FishingHook.getUpVector(partialTicks as float) as Vec3;
myFishingHook.getUpVector(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getViewVector(partialTicks as float) as Vec3
script.zs
// FishingHook.getViewVector(partialTicks as float) as Vec3;
myFishingHook.getViewVector(myFloat);

Parameters:

partialTicks Type: float

Return Type: Vec3

getX(scale as double) as double
script.zs
// FishingHook.getX(scale as double) as double;
myFishingHook.getX(myDouble);

Parameters:

scale Type: double

Return Type: double

getY(scale as double) as double
script.zs
// FishingHook.getY(scale as double) as double;
myFishingHook.getY(myDouble);

Parameters:

scale Type: double

Return Type: double

getZ(scale as double) as double
script.zs
// FishingHook.getZ(scale as double) as double;
myFishingHook.getZ(myDouble);

Parameters:

scale Type: double

Return Type: double

Getter
script.zs
// FishingHook.handSlots as Iterable<ItemStack>
myFishingHook.handSlots

Return Type: Iterable<ItemStack>

handSlots() as Iterable<ItemStack>
script.zs
// FishingHook.handSlots() as Iterable<ItemStack>;
myFishingHook.handSlots();

Return Type: Iterable<ItemStack>

Getter
script.zs
// FishingHook.hasCustomName as bool
myFishingHook.hasCustomName

Return Type: bool

Getter
script.zs
// FishingHook.hasCustomName as bool
myFishingHook.hasCustomName

Return Type: bool

hasCustomName() as bool
script.zs
// FishingHook.hasCustomName() as bool;
myFishingHook.hasCustomName();

Return Type: bool

hasCustomName() as bool
script.zs
// FishingHook.hasCustomName() as bool;
myFishingHook.hasCustomName();

Return Type: bool

Getter
script.zs
// FishingHook.hasExactlyOnePlayerPassenger as bool
myFishingHook.hasExactlyOnePlayerPassenger

Return Type: bool

hasExactlyOnePlayerPassenger() as bool
script.zs
// FishingHook.hasExactlyOnePlayerPassenger() as bool;
myFishingHook.hasExactlyOnePlayerPassenger();

Return Type: bool

Getter
script.zs
// FishingHook.hasGlowingTag as bool
myFishingHook.hasGlowingTag

Return Type: bool

hasGlowingTag() as bool
script.zs
// FishingHook.hasGlowingTag() as bool;
myFishingHook.hasGlowingTag();

Return Type: bool

hasIndirectPassenger(entity as Entity) as bool
script.zs
// FishingHook.hasIndirectPassenger(entity as Entity) as bool;
myFishingHook.hasIndirectPassenger(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

hasPassenger(entity as Entity) as bool
script.zs
// FishingHook.hasPassenger(entity as Entity) as bool;
myFishingHook.hasPassenger(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

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

Parameters:

source Type: DamageSource
amount Type: float

Return Type: bool

Getter
script.zs
// FishingHook.id as int
myFishingHook.id

Return Type: int

id() as int
script.zs
// FishingHook.id() as int;
myFishingHook.id();

Return Type: int

Getter
script.zs
// FishingHook.isAlive as bool
myFishingHook.isAlive

Return Type: bool

isAlive() as bool
script.zs
// FishingHook.isAlive() as bool;
myFishingHook.isAlive();

Return Type: bool

Getter
script.zs
// FishingHook.isAlwaysTicking as bool
myFishingHook.isAlwaysTicking

Return Type: bool

isAlwaysTicking() as bool
script.zs
// FishingHook.isAlwaysTicking() as bool;
myFishingHook.isAlwaysTicking();

Return Type: bool

Getter
script.zs
// FishingHook.isAttackable as bool
myFishingHook.isAttackable

Return Type: bool

isAttackable() as bool
script.zs
// FishingHook.isAttackable() as bool;
myFishingHook.isAttackable();

Return Type: bool

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

Parameters:

pos Type: BlockPos
state Type: BlockState

Return Type: bool

Getter
script.zs
// FishingHook.isCrouching as bool
myFishingHook.isCrouching

Return Type: bool

isCrouching() as bool
script.zs
// FishingHook.isCrouching() as bool;
myFishingHook.isCrouching();

Return Type: bool

Getter
script.zs
// FishingHook.isCurrentlyGlowing as bool
myFishingHook.isCurrentlyGlowing

Return Type: bool

isCurrentlyGlowing() as bool
script.zs
// FishingHook.isCurrentlyGlowing() as bool;
myFishingHook.isCurrentlyGlowing();

Return Type: bool

Getter
script.zs
// FishingHook.isCustomNameVisible as bool
myFishingHook.isCustomNameVisible

Return Type: bool

isCustomNameVisible() as bool
script.zs
// FishingHook.isCustomNameVisible() as bool;
myFishingHook.isCustomNameVisible();

Return Type: bool

Getter
script.zs
// FishingHook.isDescending as bool
myFishingHook.isDescending

Return Type: bool

isDescending() as bool
script.zs
// FishingHook.isDescending() as bool;
myFishingHook.isDescending();

Return Type: bool

Getter
script.zs
// FishingHook.isDiscrete as bool
myFishingHook.isDiscrete

Return Type: bool

isDiscrete() as bool
script.zs
// FishingHook.isDiscrete() as bool;
myFishingHook.isDiscrete();

Return Type: bool

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

Parameters:

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

Return Type: bool

Getter
script.zs
// FishingHook.isFullyFrozen as bool
myFishingHook.isFullyFrozen

Return Type: bool

isFullyFrozen() as bool
script.zs
// FishingHook.isFullyFrozen() as bool;
myFishingHook.isFullyFrozen();

Return Type: bool

Getter
script.zs
// FishingHook.isInLava as bool
myFishingHook.isInLava

Return Type: bool

isInLava() as bool
script.zs
// FishingHook.isInLava() as bool;
myFishingHook.isInLava();

Return Type: bool

Getter
script.zs
// FishingHook.isInvisible as bool
myFishingHook.isInvisible

Return Type: bool

isInvisible() as bool
script.zs
// FishingHook.isInvisible() as bool;
myFishingHook.isInvisible();

Return Type: bool

isInvisibleTo(player as Player) as bool
script.zs
// FishingHook.isInvisibleTo(player as Player) as bool;
myFishingHook.isInvisibleTo(myPlayer);

Parameters:

player Type: Player

Return Type: bool

Getter
script.zs
// FishingHook.isInvulnerable as bool
myFishingHook.isInvulnerable

Return Type: bool

isInvulnerable() as bool
script.zs
// FishingHook.isInvulnerable() as bool;
myFishingHook.isInvulnerable();

Return Type: bool

isInvulnerableTo(source as DamageSource) as bool
script.zs
// FishingHook.isInvulnerableTo(source as DamageSource) as bool;
myFishingHook.isInvulnerableTo(myDamageSource);

Parameters:

source Type: DamageSource

Return Type: bool

Getter
script.zs
// FishingHook.isInWall as bool
myFishingHook.isInWall

Return Type: bool

isInWall() as bool
script.zs
// FishingHook.isInWall() as bool;
myFishingHook.isInWall();

Return Type: bool

Getter
script.zs
// FishingHook.isInWater as bool
myFishingHook.isInWater

Return Type: bool

isInWater() as bool
script.zs
// FishingHook.isInWater() as bool;
myFishingHook.isInWater();

Return Type: bool

Getter
script.zs
// FishingHook.isInWaterOrBubble as bool
myFishingHook.isInWaterOrBubble

Return Type: bool

isInWaterOrBubble() as bool
script.zs
// FishingHook.isInWaterOrBubble() as bool;
myFishingHook.isInWaterOrBubble();

Return Type: bool

Getter
script.zs
// FishingHook.isInWaterOrRain as bool
myFishingHook.isInWaterOrRain

Return Type: bool

isInWaterOrRain() as bool
script.zs
// FishingHook.isInWaterOrRain() as bool;
myFishingHook.isInWaterOrRain();

Return Type: bool

Getter
script.zs
// FishingHook.isInWaterRainOrBubble as bool
myFishingHook.isInWaterRainOrBubble

Return Type: bool

isInWaterRainOrBubble() as bool
script.zs
// FishingHook.isInWaterRainOrBubble() as bool;
myFishingHook.isInWaterRainOrBubble();

Return Type: bool

Getter
script.zs
// FishingHook.isNoGravity as bool
myFishingHook.isNoGravity

Return Type: bool

isNoGravity() as bool
script.zs
// FishingHook.isNoGravity() as bool;
myFishingHook.isNoGravity();

Return Type: bool

Getter
script.zs
// FishingHook.isOnFire as bool
myFishingHook.isOnFire

Return Type: bool

isOnFire() as bool
script.zs
// FishingHook.isOnFire() as bool;
myFishingHook.isOnFire();

Return Type: bool

Getter
script.zs
// FishingHook.isOnPortalCooldown as bool
myFishingHook.isOnPortalCooldown

Return Type: bool

isOnPortalCooldown() as bool
script.zs
// FishingHook.isOnPortalCooldown() as bool;
myFishingHook.isOnPortalCooldown();

Return Type: bool

Getter
script.zs
// FishingHook.isPassenger as bool
myFishingHook.isPassenger

Return Type: bool

isPassenger() as bool
script.zs
// FishingHook.isPassenger() as bool;
myFishingHook.isPassenger();

Return Type: bool

isPassengerOfSameVehicle(entity as Entity) as bool
script.zs
// FishingHook.isPassengerOfSameVehicle(entity as Entity) as bool;
myFishingHook.isPassengerOfSameVehicle(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

Getter
script.zs
// FishingHook.isPickable as bool
myFishingHook.isPickable

Return Type: bool

isPickable() as bool
script.zs
// FishingHook.isPickable() as bool;
myFishingHook.isPickable();

Return Type: bool

Getter
script.zs
// FishingHook.isPushable as bool
myFishingHook.isPushable

Return Type: bool

isPushable() as bool
script.zs
// FishingHook.isPushable() as bool;
myFishingHook.isPushable();

Return Type: bool

Getter
script.zs
// FishingHook.isPushedByFluid as bool
myFishingHook.isPushedByFluid

Return Type: bool

isPushedByFluid() as bool
script.zs
// FishingHook.isPushedByFluid() as bool;
myFishingHook.isPushedByFluid();

Return Type: bool

Getter
script.zs
// FishingHook.isRemoved as bool
myFishingHook.isRemoved

Return Type: bool

isRemoved() as bool
script.zs
// FishingHook.isRemoved() as bool;
myFishingHook.isRemoved();

Return Type: bool

Getter
script.zs
// FishingHook.isShiftKeyDown as bool
myFishingHook.isShiftKeyDown

Return Type: bool

isShiftKeyDown() as bool
script.zs
// FishingHook.isShiftKeyDown() as bool;
myFishingHook.isShiftKeyDown();

Return Type: bool

Getter
script.zs
// FishingHook.isSilent as bool
myFishingHook.isSilent

Return Type: bool

isSilent() as bool
script.zs
// FishingHook.isSilent() as bool;
myFishingHook.isSilent();

Return Type: bool

Getter
script.zs
// FishingHook.isSpectator as bool
myFishingHook.isSpectator

Return Type: bool

isSpectator() as bool
script.zs
// FishingHook.isSpectator() as bool;
myFishingHook.isSpectator();

Return Type: bool

Getter
script.zs
// FishingHook.isSprinting as bool
myFishingHook.isSprinting

Return Type: bool

isSprinting() as bool
script.zs
// FishingHook.isSprinting() as bool;
myFishingHook.isSprinting();

Return Type: bool

Getter
script.zs
// FishingHook.isSteppingCarefully as bool
myFishingHook.isSteppingCarefully

Return Type: bool

isSteppingCarefully() as bool
script.zs
// FishingHook.isSteppingCarefully() as bool;
myFishingHook.isSteppingCarefully();

Return Type: bool

Getter
script.zs
// FishingHook.isSuppressingBounce as bool
myFishingHook.isSuppressingBounce

Return Type: bool

isSuppressingBounce() as bool
script.zs
// FishingHook.isSuppressingBounce() as bool;
myFishingHook.isSuppressingBounce();

Return Type: bool

Getter
script.zs
// FishingHook.isSwimming as bool
myFishingHook.isSwimming

Return Type: bool

isSwimming() as bool
script.zs
// FishingHook.isSwimming() as bool;
myFishingHook.isSwimming();

Return Type: bool

Getter
script.zs
// FishingHook.isUnderWater as bool
myFishingHook.isUnderWater

Return Type: bool

isUnderWater() as bool
script.zs
// FishingHook.isUnderWater() as bool;
myFishingHook.isUnderWater();

Return Type: bool

Getter
script.zs
// FishingHook.isVehicle as bool
myFishingHook.isVehicle

Return Type: bool

isVehicle() as bool
script.zs
// FishingHook.isVehicle() as bool;
myFishingHook.isVehicle();

Return Type: bool

Getter
script.zs
// FishingHook.isVisuallyCrawling as bool
myFishingHook.isVisuallyCrawling

Return Type: bool

isVisuallyCrawling() as bool
script.zs
// FishingHook.isVisuallyCrawling() as bool;
myFishingHook.isVisuallyCrawling();

Return Type: bool

Getter
script.zs
// FishingHook.isVisuallySwimming as bool
myFishingHook.isVisuallySwimming

Return Type: bool

isVisuallySwimming() as bool
script.zs
// FishingHook.isVisuallySwimming() as bool;
myFishingHook.isVisuallySwimming();

Return Type: bool

kill()
script.zs
// FishingHook.kill();
myFishingHook.kill();
lavaHurt()
script.zs
// FishingHook.lavaHurt();
myFishingHook.lavaHurt();
Getter
script.zs
// FishingHook.level as Level
myFishingHook.level

Return Type: Level

Getter
script.zs
// FishingHook.lookAngle as Vec3
myFishingHook.lookAngle

Return Type: Vec3

lookAngle() as Vec3
script.zs
// FishingHook.lookAngle() as Vec3;
myFishingHook.lookAngle();

Return Type: Vec3

Getter
script.zs
// FishingHook.maxAirSupply as int
myFishingHook.maxAirSupply

Return Type: int

maxAirSupply() as int
script.zs
// FishingHook.maxAirSupply() as int;
myFishingHook.maxAirSupply();

Return Type: int

Getter
script.zs
// FishingHook.maxFallDistance as int
myFishingHook.maxFallDistance

Return Type: int

maxFallDistance() as int
script.zs
// FishingHook.maxFallDistance() as int;
myFishingHook.maxFallDistance();

Return Type: int

Getter
script.zs
// FishingHook.motionDirection as Direction
myFishingHook.motionDirection

Return Type: Direction

motionDirection() as Direction
script.zs
// FishingHook.motionDirection() as Direction;
myFishingHook.motionDirection();

Return Type: Direction

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

Parameters:

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

Parameters:

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

Return Type: Component

Getter
script.zs
// FishingHook.name as Component
myFishingHook.name

Return Type: Component

name() as Component
script.zs
// FishingHook.name() as Component;
myFishingHook.name();

Return Type: Component

name() as Component
script.zs
// FishingHook.name() as Component;
myFishingHook.name();

Return Type: Component

Getter
script.zs
// FishingHook.onGround as bool
myFishingHook.onGround

Return Type: bool

Getter
script.zs
// FishingHook.onPos as BlockPos
myFishingHook.onPos

Return Type: BlockPos

onPos() as BlockPos
script.zs
// FishingHook.onPos() as BlockPos;
myFishingHook.onPos();

Return Type: BlockPos

Getter
script.zs
// FishingHook.owner as Entity
myFishingHook.owner

Return Type: Entity

Setter
script.zs
// FishingHook.owner = (entity as Entity);
myFishingHook.owner = myEntity;

Parameters:

entity Type: Entity
owner(entity as Entity)
script.zs
// FishingHook.owner(entity as Entity);
myFishingHook.owner(myEntity);

Parameters:

entity Type: Entity
owner() as Entity
script.zs
// FishingHook.owner() as Entity;
myFishingHook.owner();

Return Type: Entity

Getter
script.zs
// FishingHook.passengers as List<Entity>
myFishingHook.passengers

Return Type: List<Entity>

passengers() as List<Entity>
script.zs
// FishingHook.passengers() as List<Entity>;
myFishingHook.passengers();

Return Type: List<Entity>

Getter
script.zs
// FishingHook.percentFrozen as float
myFishingHook.percentFrozen

Return Type: float

percentFrozen() as float
script.zs
// FishingHook.percentFrozen() as float;
myFishingHook.percentFrozen();

Return Type: float

Getter
script.zs
// FishingHook.pistonPushReaction as PushReaction
myFishingHook.pistonPushReaction

Return Type: PushReaction

pistonPushReaction() as PushReaction
script.zs
// FishingHook.pistonPushReaction() as PushReaction;
myFishingHook.pistonPushReaction();

Return Type: PushReaction

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

Parameters:

sound Type: SoundEvent
volume Type: float
pitch Type: float
Getter
script.zs
// FishingHook.portalWaitTime as int
myFishingHook.portalWaitTime

Return Type: int

portalWaitTime() as int
script.zs
// FishingHook.portalWaitTime() as int;
myFishingHook.portalWaitTime();

Return Type: int

Getter
script.zs
// FishingHook.position as Vec3
myFishingHook.position

Return Type: Vec3

position() as Vec3
script.zs
// FishingHook.position() as Vec3;
myFishingHook.position();

Return Type: Vec3

positionRider(entity as Entity)
script.zs
// FishingHook.positionRider(entity as Entity);
myFishingHook.positionRider(myEntity);

Parameters:

entity Type: Entity
Getter
script.zs
// FishingHook.registryName as ResourceLocation
myFishingHook.registryName

Return Type: ResourceLocation

registryName() as ResourceLocation
script.zs
// FishingHook.registryName() as ResourceLocation;
myFishingHook.registryName();

Return Type: ResourceLocation

Getter
script.zs
// FishingHook.remainingFireTicks as int
myFishingHook.remainingFireTicks

Return Type: int

remainingFireTicks() as int
script.zs
// FishingHook.remainingFireTicks() as int;
myFishingHook.remainingFireTicks();

Return Type: int

removeTag(tagName as string) as bool
script.zs
// FishingHook.removeTag(tagName as string) as bool;
myFishingHook.removeTag(myString);

Parameters:

tagName Type: string

Return Type: bool

removeVehicle()
script.zs
// FishingHook.removeVehicle();
myFishingHook.removeVehicle();
Getter
script.zs
// FishingHook.rootVehicle as Entity
myFishingHook.rootVehicle

Return Type: Entity

rootVehicle() as Entity
script.zs
// FishingHook.rootVehicle() as Entity;
myFishingHook.rootVehicle();

Return Type: Entity

sendMessage(component as Component)
script.zs
// FishingHook.sendMessage(component as Component);
myFishingHook.sendMessage(myComponent);

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

glowing Type: bool
setInvisible(invisible as bool)
script.zs
// FishingHook.setInvisible(invisible as bool);
myFishingHook.setInvisible(myBool);

Parameters:

invisible Type: bool
setInvulnerable(invulnerable as bool)
script.zs
// FishingHook.setInvulnerable(invulnerable as bool);
myFishingHook.setInvulnerable(myBool);

Parameters:

invulnerable Type: bool
setIsInPowderSnow(inPowderSnow as bool)
script.zs
// FishingHook.setIsInPowderSnow(inPowderSnow as bool);
myFishingHook.setIsInPowderSnow(myBool);

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

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

Parameters:

setSecondsOnFire(seconds as int)
script.zs
// FishingHook.setSecondsOnFire(seconds as int);
myFishingHook.setSecondsOnFire(myInt);

Parameters:

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

Parameters:

keyDown Type: bool
setSilent(silent as bool)
script.zs
// FishingHook.setSilent(silent as bool);
myFishingHook.setSilent(myBool);

Parameters:

silent Type: bool
setSprinting(sprinting as bool)
script.zs
// FishingHook.setSprinting(sprinting as bool);
myFishingHook.setSprinting(myBool);

Parameters:

sprinting Type: bool
setSwimming(swimming as bool)
script.zs
// FishingHook.setSwimming(swimming as bool);
myFishingHook.setSwimming(myBool);

Parameters:

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

Parameters:

ticks Type: int
Getter
script.zs
// FishingHook.shouldBeSaved as bool
myFishingHook.shouldBeSaved

Return Type: bool

shouldBeSaved() as bool
script.zs
// FishingHook.shouldBeSaved() as bool;
myFishingHook.shouldBeSaved();

Return Type: bool

Getter
script.zs
// FishingHook.shouldInformAdmins as bool
myFishingHook.shouldInformAdmins

Return Type: bool

shouldInformAdmins() as bool
script.zs
// FishingHook.shouldInformAdmins() as bool;
myFishingHook.shouldInformAdmins();

Return Type: bool

Getter
script.zs
// FishingHook.shouldShowName as bool
myFishingHook.shouldShowName

Return Type: bool

shouldShowName() as bool
script.zs
// FishingHook.shouldShowName() as bool;
myFishingHook.shouldShowName();

Return Type: bool

Getter
script.zs
// FishingHook.showVehicleHealth as bool
myFishingHook.showVehicleHealth

Return Type: bool

showVehicleHealth() as bool
script.zs
// FishingHook.showVehicleHealth() as bool;
myFishingHook.showVehicleHealth();

Return Type: bool

Getter
script.zs
// FishingHook.soundSource as SoundSource
myFishingHook.soundSource

Return Type: SoundSource

soundSource() as SoundSource
script.zs
// FishingHook.soundSource() as SoundSource;
myFishingHook.soundSource();

Return Type: SoundSource

startRiding(entity as Entity) as bool
script.zs
// FishingHook.startRiding(entity as Entity) as bool;
myFishingHook.startRiding(myEntity);

Parameters:

entity Type: Entity

Return Type: bool

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

Parameters:

entity Type: Entity
force Type: bool

Return Type: bool

stopRiding()
script.zs
// FishingHook.stopRiding();
myFishingHook.stopRiding();
Getter
script.zs
// FishingHook.stringUUID as string
myFishingHook.stringUUID

Return Type: string

stringUUID() as string
script.zs
// FishingHook.stringUUID() as string;
myFishingHook.stringUUID();

Return Type: string

Getter
script.zs
// FishingHook.tags as Set<string>
myFishingHook.tags

Return Type: Set<string>

tags() as Set<string>
script.zs
// FishingHook.tags() as Set<string>;
myFishingHook.tags();

Return Type: Set<string>

Getter
script.zs
// FishingHook.teamColor as int
myFishingHook.teamColor

Return Type: int

teamColor() as int
script.zs
// FishingHook.teamColor() as int;
myFishingHook.teamColor();

Return Type: int

teleportTo(x as double, y as double, z as double)
script.zs
// FishingHook.teleportTo(x as double, y as double, z as double);
myFishingHook.teleportTo(myDouble, myDouble, myDouble);

Parameters:

x Type: double
y Type: double
z Type: double
Getter
script.zs
// FishingHook.ticksFrozen as int
myFishingHook.ticksFrozen

Return Type: int

ticksFrozen() as int
script.zs
// FishingHook.ticksFrozen() as int;
myFishingHook.ticksFrozen();

Return Type: int

Getter
script.zs
// FishingHook.ticksRequiredToFreeze as int
myFishingHook.ticksRequiredToFreeze

Return Type: int

ticksRequiredToFreeze() as int
script.zs
// FishingHook.ticksRequiredToFreeze() as int;
myFishingHook.ticksRequiredToFreeze();

Return Type: int

turn(yaw as double, pitch as double)
script.zs
// FishingHook.turn(yaw as double, pitch as double);
myFishingHook.turn(myDouble, myDouble);

Parameters:

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

Return Type: EntityType<Entity>

type() as EntityType<Entity>
script.zs
// FishingHook.type() as EntityType<Entity>;
myFishingHook.type();

Return Type: EntityType<Entity>

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

Parameters:

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

Parameters:

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

Return Type: UUID

uuid() as UUID
script.zs
// FishingHook.uuid() as UUID;
myFishingHook.uuid();

Return Type: UUID

Getter
script.zs
// FishingHook.vehicle as Entity
myFishingHook.vehicle

Return Type: Entity

vehicle() as Entity
script.zs
// FishingHook.vehicle() as Entity;
myFishingHook.vehicle();

Return Type: Entity

Getter
script.zs
// FishingHook.x as double
myFishingHook.x

Return Type: double

x() as double
script.zs
// FishingHook.x() as double;
myFishingHook.x();

Return Type: double

Getter
script.zs
// FishingHook.y as double
myFishingHook.y

Return Type: double

y() as double
script.zs
// FishingHook.y() as double;
myFishingHook.y();

Return Type: double

Getter
script.zs
// FishingHook.z as double
myFishingHook.z

Return Type: double

z() as double
script.zs
// FishingHook.z() as double;
myFishingHook.z();

Return Type: double