If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at
the top of the file.
import crafttweaker . api.entity.type.projectile . FishingHook;
FishingHook extends Projectile
.
FishingHook
implements the following interfaces:
Nameable
,EntityAccess
,CommandSource
,ICapabilityProviderImpl <ICapabilityProviderImpl >
,ICapabilityProvider
Undocumented Interfaces TraceableEntity
, IEntityExtension
, ICapabilitySerializable <CompoundTag >
, INBTSerializable <Tag >
// FishingHook.acceptsFailure as bool
myFishingHook . acceptsFailure
Return Type:
bool
// FishingHook.acceptsFailure() as bool;
myFishingHook . acceptsFailure();
Return Type:
bool
// FishingHook.acceptsSuccess as bool
myFishingHook . acceptsSuccess
Return Type:
bool
// FishingHook.acceptsSuccess() as bool;
myFishingHook . acceptsSuccess();
Return Type:
bool
// FishingHook.addTag(tagName as string) as bool;
myFishingHook . addTag(myString);
Parameters:
tagName: string
Type: string
Return Type:
bool
// FishingHook.airSupply as int
Return Type:
int
// FishingHook.airSupply() as int;
myFishingHook . airSupply();
Return Type:
int
// FishingHook.allSlots() as Iterable< ItemStack >; myFishingHook . allSlots();
Return Type:
Iterable <ItemStack >
// FishingHook.alwaysAccepts as bool
myFishingHook . alwaysAccepts
Return Type:
bool
// FishingHook.alwaysAccepts() as bool;
myFishingHook . alwaysAccepts();
Return Type:
bool
// FishingHook.armorSlots() as Iterable< ItemStack >; myFishingHook . armorSlots();
Return Type:
Iterable <ItemStack >
// FishingHook.bbHeight as float
Return Type:
float
// FishingHook.bbHeight() as float;
myFishingHook . bbHeight();
Return Type:
float
// FishingHook.bbWidth as float
Return Type:
float
// FishingHook.bbWidth() as float;
Return Type:
float
myFishingHook . blockPosiion
Return Type:
BlockPos
// FishingHook.blockPosiion() as BlockPos ; myFishingHook . blockPosiion();
Return Type:
BlockPos
// FishingHook.blockPosition as BlockPos myFishingHook . blockPosition
Return Type:
BlockPos
// FishingHook.blockPosition() as BlockPos ; myFishingHook . blockPosition();
Return Type:
BlockPos
// FishingHook.blockX as int
Return Type:
int
// FishingHook.blockX() as int;
Return Type:
int
// FishingHook.blockY as int
Return Type:
int
// FishingHook.blockY() as int;
Return Type:
int
// FishingHook.blockZ as int
Return Type:
int
// FishingHook.blockZ() as int;
Return Type:
int
// FishingHook.boundingBox as AABB myFishingHook . boundingBox
Return Type:
AABB
// FishingHook.boundingBox() as AABB ; myFishingHook . boundingBox();
Return Type:
AABB
// FishingHook.boundingBoxForCulling as AABB myFishingHook . boundingBoxForCulling
Return Type:
AABB
// FishingHook.boundingBoxForCulling() as AABB ; myFishingHook . boundingBoxForCulling();
Return Type:
AABB
// FishingHook.canBeCollidedWith as bool
myFishingHook . canBeCollidedWith
Return Type:
bool
// FishingHook.canBeCollidedWith() as bool;
myFishingHook . canBeCollidedWith();
Return Type:
bool
// FishingHook.canCollideWith(other as Entity ) as bool; myFishingHook . canCollideWith(myEntity);
Return Type:
bool
// FishingHook.canFreeze as bool
Return Type:
bool
// FishingHook.canFreeze() as bool;
myFishingHook . canFreeze();
Return Type:
bool
// FishingHook.clearFire();
myFishingHook . clearFire();
// FishingHook.closerThan(other as Entity , distance as double) as bool; myFishingHook . closerThan(myEntity, myDouble);
Parameters:
distance: double
Type: double
Return Type:
bool
// FishingHook.commandSenderWorld as Level myFishingHook . commandSenderWorld
Return Type:
Level
// FishingHook.commandSenderWorld() as Level ; myFishingHook . commandSenderWorld();
Return Type:
Level
// FishingHook.controllingPassenger as Entity myFishingHook . controllingPassenger
Return Type:
Entity
// FishingHook.controllingPassenger() as Entity ; myFishingHook . controllingPassenger();
Return Type:
Entity
Gets the custom NBT data for this Entity. // FishingHook.customData as MapData
Return Type:
MapData
Gets the custom NBT data for this Entity. Returns : The custom data for this Entity.
// FishingHook.customData() as MapData ; myFishingHook . customData();
Return Type:
MapData
myFishingHook . customName();
Return Type:
Component
myFishingHook . customName();
Return Type:
Component
// FishingHook.dampensVibrations as bool
myFishingHook . dampensVibrations
Return Type:
bool
// FishingHook.dampensVibrations() as bool;
myFishingHook . dampensVibrations();
Return Type:
bool
Gets the NBT data of this Entity.
Return Type:
MapData
Gets the NBT data of this Entity. Returns : The NBT data of this Entity.
Return Type:
MapData
// FishingHook.deltaMovement as Vec3 myFishingHook . deltaMovement
Return Type:
Vec3
// FishingHook.deltaMovement = (deltaMovement as Vec3 ); myFishingHook . deltaMovement = myVec3;
// FishingHook.deltaMovement() as Vec3 ; myFishingHook . deltaMovement();
Return Type:
Vec3
// FishingHook.deltaMovement(deltaMovement as Vec3 ); myFishingHook . deltaMovement(myVec3);
// FishingHook.dimensionChangingDelay as int
myFishingHook . dimensionChangingDelay
Return Type:
int
// FishingHook.dimensionChangingDelay() as int;
myFishingHook . dimensionChangingDelay();
Return Type:
int
myFishingHook . direction();
Return Type:
Direction
// FishingHook.discard();
// FishingHook.dismountsUnderwater as bool
myFishingHook . dismountsUnderwater
Return Type:
bool
myFishingHook . displayName
Return Type:
Component
myFishingHook . displayName
Return Type:
Component
myFishingHook . displayName();
Return Type:
Component
myFishingHook . displayName();
Return Type:
Component
// FishingHook.distanceTo(entity as Entity ) as float; myFishingHook . distanceTo(myEntity);
Return Type:
float
// FishingHook.distanceToSqr(x as double, y as double, z as double) as double;
myFishingHook . distanceToSqr(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
Return Type:
double
// FishingHook.distanceToSqr(entity as Entity ) as double; myFishingHook . distanceToSqr(myEntity);
Return Type:
double
// FishingHook.distanceToSqr(vec as Vec3 ) as double; myFishingHook . distanceToSqr(myVec3);
Return Type:
double
// FishingHook.effectSource as Entity myFishingHook . effectSource
Return Type:
Entity
// FishingHook.effectSource() as Entity ; myFishingHook . effectSource();
Return Type:
Entity
// FishingHook.ejectPassengers();
myFishingHook . ejectPassengers();
// FishingHook.eyeHeight as float
Return Type:
float
// FishingHook.eyeHeight() as float;
myFishingHook . eyeHeight();
Return Type:
float
// FishingHook.eyePosition as Vec3 myFishingHook . eyePosition
Return Type:
Vec3
// FishingHook.eyePosition() as Vec3 ; myFishingHook . eyePosition();
Return Type:
Vec3
// FishingHook.eyeY as double
Return Type:
double
// FishingHook.eyeY() as double;
Return Type:
double
myFishingHook . feetBlockState
Return Type:
BlockState
myFishingHook . feetBlockState();
Return Type:
BlockState
// FishingHook.fireImmune as bool
Return Type:
bool
// FishingHook.fireImmune() as bool;
myFishingHook . fireImmune();
Return Type:
bool
// FishingHook.firstPassenger as Entity myFishingHook . firstPassenger
Return Type:
Entity
// FishingHook.firstPassenger() as Entity ; myFishingHook . firstPassenger();
Return Type:
Entity
// FishingHook.fluidJumpThreshold as double
myFishingHook . fluidJumpThreshold
Return Type:
double
// FishingHook.fluidJumpThreshold() as double;
myFishingHook . fluidJumpThreshold();
Return Type:
double
// FishingHook.forward as Vec3
Return Type:
Vec3
// FishingHook.forward() as Vec3 ;
Return Type:
Vec3
Gets the capability for the given side. Returns : The found capability or null.
myFishingHook . getCapability < T>(Capabilities.ENERGY, <constant : minecraft:direction:north > );
Return Type:
T ?
Gets the capability. Returns : The found capability or null.
// FishingHook.getCapability<T>(cap as Capability <T>) as T?; myFishingHook . getCapability < T>( Capabilities . ENERGY);
Return Type:
T ?
// FishingHook.getEyePosition(partialTicks as float) as Vec3 ; myFishingHook . getEyePosition(myFloat);
Parameters:
partialTicks: float
Type: float
Return Type:
Vec3
// FishingHook.getPosition(partialTicks as float) as Vec3 ; myFishingHook . getPosition(myFloat);
Parameters:
partialTicks: float
Type: float
Return Type:
Vec3
// FishingHook.getUpVector(partialTicks as float) as Vec3 ; myFishingHook . getUpVector(myFloat);
Parameters:
partialTicks: float
Type: float
Return Type:
Vec3
// FishingHook.getViewVector(partialTicks as float) as Vec3 ; myFishingHook . getViewVector(myFloat);
Parameters:
partialTicks: float
Type: float
Return Type:
Vec3
// FishingHook.getX(scale as double) as double;
myFishingHook . getX(myDouble);
Parameters:
scale: double
Type: double
Return Type:
double
// FishingHook.getY(scale as double) as double;
myFishingHook . getY(myDouble);
Parameters:
scale: double
Type: double
Return Type:
double
// FishingHook.getZ(scale as double) as double;
myFishingHook . getZ(myDouble);
Parameters:
scale: double
Type: double
Return Type:
double
// FishingHook.handSlots() as Iterable< ItemStack >; myFishingHook . handSlots();
Return Type:
Iterable <ItemStack >
// FishingHook.hasCustomName as bool
myFishingHook . hasCustomName
Return Type:
bool
// FishingHook.hasCustomName as bool
myFishingHook . hasCustomName
Return Type:
bool
// FishingHook.hasCustomName() as bool;
myFishingHook . hasCustomName();
Return Type:
bool
// FishingHook.hasCustomName() as bool;
myFishingHook . hasCustomName();
Return Type:
bool
// FishingHook.hasExactlyOnePlayerPassenger as bool
myFishingHook . hasExactlyOnePlayerPassenger
Return Type:
bool
// FishingHook.hasExactlyOnePlayerPassenger() as bool;
myFishingHook . hasExactlyOnePlayerPassenger();
Return Type:
bool
// FishingHook.hasGlowingTag as bool
myFishingHook . hasGlowingTag
Return Type:
bool
// FishingHook.hasGlowingTag() as bool;
myFishingHook . hasGlowingTag();
Return Type:
bool
// FishingHook.hasIndirectPassenger(entity as Entity ) as bool; myFishingHook . hasIndirectPassenger(myEntity);
Return Type:
bool
// FishingHook.hasPassenger(entity as Entity ) as bool; myFishingHook . hasPassenger(myEntity);
Return Type:
bool
// FishingHook.hasPassenger(predicate as function(t as Entity ) as bool) as bool; myFishingHook . hasPassenger(myPredicate);
Parameters:
predicate: function(t as Entity ) as bool
Type: function(t as Entity ) as bool
Return Type:
bool
// FishingHook.hurt(source as DamageSource , amount as float) as bool; myFishingHook . hurt(myDamageSource, myFloat);
Parameters:
amount: float
Type: float
Return Type:
bool
// FishingHook.id() as int;
Return Type:
int
// FishingHook.isAlive as bool
Return Type:
bool
// FishingHook.isAlive() as bool;
Return Type:
bool
// FishingHook.isAlwaysTicking as bool
myFishingHook . isAlwaysTicking
Return Type:
bool
// FishingHook.isAlwaysTicking() as bool;
myFishingHook . isAlwaysTicking();
Return Type:
bool
// FishingHook.isAttackable as bool
myFishingHook . isAttackable
Return Type:
bool
// FishingHook.isAttackable() as bool;
myFishingHook . isAttackable();
Return Type:
bool
myFishingHook . isColliding(myBlockPos, myBlockState);
Return Type:
bool
// FishingHook.isCrouching as bool
myFishingHook . isCrouching
Return Type:
bool
// FishingHook.isCrouching() as bool;
myFishingHook . isCrouching();
Return Type:
bool
// FishingHook.isCurrentlyGlowing as bool
myFishingHook . isCurrentlyGlowing
Return Type:
bool
// FishingHook.isCurrentlyGlowing() as bool;
myFishingHook . isCurrentlyGlowing();
Return Type:
bool
// FishingHook.isCustomNameVisible as bool
myFishingHook . isCustomNameVisible
Return Type:
bool
// FishingHook.isCustomNameVisible() as bool;
myFishingHook . isCustomNameVisible();
Return Type:
bool
// FishingHook.isDescending as bool
myFishingHook . isDescending
Return Type:
bool
// FishingHook.isDescending() as bool;
myFishingHook . isDescending();
Return Type:
bool
// FishingHook.isDiscrete as bool
Return Type:
bool
// FishingHook.isDiscrete() as bool;
myFishingHook . isDiscrete();
Return Type:
bool
// FishingHook.isFree(x as double, y as double, z as double) as bool;
myFishingHook . isFree(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
Return Type:
bool
// FishingHook.isFullyFrozen as bool
myFishingHook . isFullyFrozen
Return Type:
bool
// FishingHook.isFullyFrozen() as bool;
myFishingHook . isFullyFrozen();
Return Type:
bool
// FishingHook.isInLava as bool
Return Type:
bool
// FishingHook.isInLava() as bool;
myFishingHook . isInLava();
Return Type:
bool
// FishingHook.isInvisible as bool
myFishingHook . isInvisible
Return Type:
bool
// FishingHook.isInvisible() as bool;
myFishingHook . isInvisible();
Return Type:
bool
// FishingHook.isInvisibleTo(player as Player ) as bool; myFishingHook . isInvisibleTo(myPlayer);
Return Type:
bool
// FishingHook.isInvulnerable as bool
myFishingHook . isInvulnerable
Return Type:
bool
// FishingHook.isInvulnerable() as bool;
myFishingHook . isInvulnerable();
Return Type:
bool
// FishingHook.isInvulnerableTo(source as DamageSource ) as bool; myFishingHook . isInvulnerableTo(myDamageSource);
Return Type:
bool
// FishingHook.isInWall as bool
Return Type:
bool
// FishingHook.isInWall() as bool;
myFishingHook . isInWall();
Return Type:
bool
// FishingHook.isInWater as bool
Return Type:
bool
// FishingHook.isInWater() as bool;
myFishingHook . isInWater();
Return Type:
bool
// FishingHook.isInWaterOrBubble as bool
myFishingHook . isInWaterOrBubble
Return Type:
bool
// FishingHook.isInWaterOrBubble() as bool;
myFishingHook . isInWaterOrBubble();
Return Type:
bool
// FishingHook.isInWaterOrRain as bool
myFishingHook . isInWaterOrRain
Return Type:
bool
// FishingHook.isInWaterOrRain() as bool;
myFishingHook . isInWaterOrRain();
Return Type:
bool
// FishingHook.isInWaterRainOrBubble as bool
myFishingHook . isInWaterRainOrBubble
Return Type:
bool
// FishingHook.isInWaterRainOrBubble() as bool;
myFishingHook . isInWaterRainOrBubble();
Return Type:
bool
// FishingHook.isNoGravity as bool
myFishingHook . isNoGravity
Return Type:
bool
// FishingHook.isNoGravity() as bool;
myFishingHook . isNoGravity();
Return Type:
bool
// FishingHook.isOnFire as bool
Return Type:
bool
// FishingHook.isOnFire() as bool;
myFishingHook . isOnFire();
Return Type:
bool
// FishingHook.isOnPortalCooldown as bool
myFishingHook . isOnPortalCooldown
Return Type:
bool
// FishingHook.isOnPortalCooldown() as bool;
myFishingHook . isOnPortalCooldown();
Return Type:
bool
// FishingHook.isPassenger as bool
myFishingHook . isPassenger
Return Type:
bool
// FishingHook.isPassenger() as bool;
myFishingHook . isPassenger();
Return Type:
bool
// FishingHook.isPassengerOfSameVehicle(entity as Entity ) as bool; myFishingHook . isPassengerOfSameVehicle(myEntity);
Return Type:
bool
// FishingHook.isPickable as bool
Return Type:
bool
// FishingHook.isPickable() as bool;
myFishingHook . isPickable();
Return Type:
bool
// FishingHook.isPushable as bool
Return Type:
bool
// FishingHook.isPushable() as bool;
myFishingHook . isPushable();
Return Type:
bool
// FishingHook.isPushedByFluid as bool
myFishingHook . isPushedByFluid
Return Type:
bool
// FishingHook.isPushedByFluid() as bool;
myFishingHook . isPushedByFluid();
Return Type:
bool
// FishingHook.isRemoved as bool
Return Type:
bool
// FishingHook.isRemoved() as bool;
myFishingHook . isRemoved();
Return Type:
bool
// FishingHook.isShiftKeyDown as bool
myFishingHook . isShiftKeyDown
Return Type:
bool
// FishingHook.isShiftKeyDown() as bool;
myFishingHook . isShiftKeyDown();
Return Type:
bool
// FishingHook.isSilent as bool
Return Type:
bool
// FishingHook.isSilent() as bool;
myFishingHook . isSilent();
Return Type:
bool
// FishingHook.isSpectator as bool
myFishingHook . isSpectator
Return Type:
bool
// FishingHook.isSpectator() as bool;
myFishingHook . isSpectator();
Return Type:
bool
// FishingHook.isSprinting as bool
myFishingHook . isSprinting
Return Type:
bool
// FishingHook.isSprinting() as bool;
myFishingHook . isSprinting();
Return Type:
bool
// FishingHook.isSteppingCarefully as bool
myFishingHook . isSteppingCarefully
Return Type:
bool
// FishingHook.isSteppingCarefully() as bool;
myFishingHook . isSteppingCarefully();
Return Type:
bool
// FishingHook.isSuppressingBounce as bool
myFishingHook . isSuppressingBounce
Return Type:
bool
// FishingHook.isSuppressingBounce() as bool;
myFishingHook . isSuppressingBounce();
Return Type:
bool
// FishingHook.isSwimming as bool
Return Type:
bool
// FishingHook.isSwimming() as bool;
myFishingHook . isSwimming();
Return Type:
bool
// FishingHook.isUnderWater as bool
myFishingHook . isUnderWater
Return Type:
bool
// FishingHook.isUnderWater() as bool;
myFishingHook . isUnderWater();
Return Type:
bool
// FishingHook.isVehicle as bool
Return Type:
bool
// FishingHook.isVehicle() as bool;
myFishingHook . isVehicle();
Return Type:
bool
// FishingHook.isVisuallyCrawling as bool
myFishingHook . isVisuallyCrawling
Return Type:
bool
// FishingHook.isVisuallyCrawling() as bool;
myFishingHook . isVisuallyCrawling();
Return Type:
bool
// FishingHook.isVisuallySwimming as bool
myFishingHook . isVisuallySwimming
Return Type:
bool
// FishingHook.isVisuallySwimming() as bool;
myFishingHook . isVisuallySwimming();
Return Type:
bool
// FishingHook.lavaHurt();
myFishingHook . lavaHurt();
// FishingHook.lookAngle as Vec3
Return Type:
Vec3
// FishingHook.lookAngle() as Vec3 ; myFishingHook . lookAngle();
Return Type:
Vec3
// FishingHook.maxAirSupply as int
myFishingHook . maxAirSupply
Return Type:
int
// FishingHook.maxAirSupply() as int;
myFishingHook . maxAirSupply();
Return Type:
int
// FishingHook.maxFallDistance as int
myFishingHook . maxFallDistance
Return Type:
int
// FishingHook.maxFallDistance() as int;
myFishingHook . maxFallDistance();
Return Type:
int
myFishingHook . motionDirection
Return Type:
Direction
// FishingHook.motionDirection() as Direction ; myFishingHook . motionDirection();
Return Type:
Direction
// FishingHook.moveRelative(amount as float, relative as Vec3 ); myFishingHook . moveRelative(myFloat, myVec3);
Parameters:
amount: float
Type: float
// FishingHook.moveTo(vec as Vec3 ); myFishingHook . moveTo(myVec3);
// FishingHook.moveTo(x as double, y as double, z as double);
myFishingHook . moveTo(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
// FishingHook.moveTo(pos as BlockPos , yaw as float, pitch as float); myFishingHook . moveTo(myBlockPos, myFloat, myFloat);
Parameters:
yaw: float
Type: float
pitch: float
Type: float
// 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: double
Type: double
y: double
Type: double
z: double
Type: double
yaw: float
Type: float
pitch: float
Type: float
// FishingHook.onGround as bool
Return Type:
bool
// FishingHook.owner = (entity as Entity ); myFishingHook . owner = myEntity;
// FishingHook.owner(entity as Entity ); myFishingHook . owner(myEntity);
// FishingHook.passengers as List< Entity >
Return Type:
List <Entity >
// FishingHook.passengers() as List< Entity >; myFishingHook . passengers();
Return Type:
List <Entity >
// FishingHook.percentFrozen as float
myFishingHook . percentFrozen
Return Type:
float
// FishingHook.percentFrozen() as float;
myFishingHook . percentFrozen();
Return Type:
float
myFishingHook . pistonPushReaction();
Return Type:
PushReaction
// FishingHook.playSound(sound as SoundEvent , volume as float, pitch as float); myFishingHook . playSound(mySoundEvent, myFloat, myFloat);
Parameters:
volume: float
Type: float
pitch: float
Type: float
// FishingHook.portalWaitTime as int
myFishingHook . portalWaitTime
Return Type:
int
// FishingHook.portalWaitTime() as int;
myFishingHook . portalWaitTime();
Return Type:
int
// FishingHook.position as Vec3
Return Type:
Vec3
// FishingHook.position() as Vec3 ; myFishingHook . position();
Return Type:
Vec3
// FishingHook.positionRider(entity as Entity ); myFishingHook . positionRider(myEntity);
// FishingHook.remainingFireTicks as int
myFishingHook . remainingFireTicks
Return Type:
int
// FishingHook.remainingFireTicks() as int;
myFishingHook . remainingFireTicks();
Return Type:
int
// FishingHook.removeTag(tagName as string) as bool;
myFishingHook . removeTag(myString);
Parameters:
tagName: string
Type: string
Return Type:
bool
// FishingHook.removeVehicle();
myFishingHook . removeVehicle();
// FishingHook.rootVehicle as Entity myFishingHook . rootVehicle
Return Type:
Entity
// FishingHook.rootVehicle() as Entity ; myFishingHook . rootVehicle();
Return Type:
Entity
// FishingHook.sendMessage(component as Component ); myFishingHook . sendMessage(myComponent);
// FishingHook.setAirSupply(air as int);
myFishingHook . setAirSupply(myInt);
// FishingHook.setCustomName(name as Component ); myFishingHook . setCustomName(myComponent);
// FishingHook.setCustomNameVisible(visible as bool);
myFishingHook . setCustomNameVisible(myBool);
// FishingHook.setDeltaMovement(xDelta as double, yDelta as double, zDelta as double);
myFishingHook . setDeltaMovement(myDouble, myDouble, myDouble);
Parameters:
xDelta: double
Type: double
yDelta: double
Type: double
zDelta: double
Type: double
// FishingHook.setGlowingTag(glowing as bool);
myFishingHook . setGlowingTag(myBool);
// FishingHook.setInvisible(invisible as bool);
myFishingHook . setInvisible(myBool);
Parameters:
invisible: bool
Type: bool
// FishingHook.setInvulnerable(invulnerable as bool);
myFishingHook . setInvulnerable(myBool);
Parameters:
invulnerable: bool
Type: bool
// FishingHook.setIsInPowderSnow(inPowderSnow as bool);
myFishingHook . setIsInPowderSnow(myBool);
Parameters:
inPowderSnow: bool
Type: bool
myFishingHook . setItemSlot(myEquipmentSlot, myItemStack);
// FishingHook.setNoGravity(noGravity as bool);
myFishingHook . setNoGravity(myBool);
Parameters:
noGravity: bool
Type: bool
// FishingHook.setOldPosAndRot();
myFishingHook . setOldPosAndRot();
// FishingHook.setOnGround(onGround as bool);
myFishingHook . setOnGround(myBool);
Parameters:
onGround: bool
Type: bool
// FishingHook.setPortalCooldown();
myFishingHook . setPortalCooldown();
// FishingHook.setPos(position as Vec3 ); myFishingHook . setPos(myVec3);
// FishingHook.setPos(x as double, y as double, z as double);
myFishingHook . setPos(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
// FishingHook.setPosRaw(x as double, y as double, z as double);
myFishingHook . setPosRaw(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
// FishingHook.setRemainingFireTicks(ticks as int);
myFishingHook . setRemainingFireTicks(myInt);
myFishingHook . setRemoved(myRemovalReason);
// FishingHook.setSecondsOnFire(seconds as int);
myFishingHook . setSecondsOnFire(myInt);
// FishingHook.setShiftKeyDown(keyDown as bool);
myFishingHook . setShiftKeyDown(myBool);
// FishingHook.setSilent(silent as bool);
myFishingHook . setSilent(myBool);
// FishingHook.setSprinting(sprinting as bool);
myFishingHook . setSprinting(myBool);
Parameters:
sprinting: bool
Type: bool
// FishingHook.setSwimming(swimming as bool);
myFishingHook . setSwimming(myBool);
Parameters:
swimming: bool
Type: bool
// FishingHook.setTicksFrozen(ticks as int);
myFishingHook . setTicksFrozen(myInt);
// FishingHook.shouldBeSaved as bool
myFishingHook . shouldBeSaved
Return Type:
bool
// FishingHook.shouldBeSaved() as bool;
myFishingHook . shouldBeSaved();
Return Type:
bool
// FishingHook.shouldInformAdmins as bool
myFishingHook . shouldInformAdmins
Return Type:
bool
// FishingHook.shouldInformAdmins() as bool;
myFishingHook . shouldInformAdmins();
Return Type:
bool
// FishingHook.shouldShowName as bool
myFishingHook . shouldShowName
Return Type:
bool
// FishingHook.shouldShowName() as bool;
myFishingHook . shouldShowName();
Return Type:
bool
// FishingHook.showVehicleHealth as bool
myFishingHook . showVehicleHealth
Return Type:
bool
// FishingHook.showVehicleHealth() as bool;
myFishingHook . showVehicleHealth();
Return Type:
bool
// FishingHook.startRiding(entity as Entity ) as bool; myFishingHook . startRiding(myEntity);
Return Type:
bool
// FishingHook.startRiding(entity as Entity , force as bool) as bool; myFishingHook . startRiding(myEntity, myBool);
Return Type:
bool
// FishingHook.stopRiding();
myFishingHook . stopRiding();
// FishingHook.stringUUID as string
Return Type:
string
// FishingHook.stringUUID() as string;
myFishingHook . stringUUID();
Return Type:
string
// FishingHook.tags as Set<string>
Return Type:
Set <string >
// FishingHook.tags() as Set<string>;
Return Type:
Set <string >
// FishingHook.teamColor as int
Return Type:
int
// FishingHook.teamColor() as int;
myFishingHook . teamColor();
Return Type:
int
// FishingHook.teleportTo(x as double, y as double, z as double);
myFishingHook . teleportTo(myDouble, myDouble, myDouble);
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
// FishingHook.ticksFrozen as int
myFishingHook . ticksFrozen
Return Type:
int
// FishingHook.ticksFrozen() as int;
myFishingHook . ticksFrozen();
Return Type:
int
// FishingHook.ticksRequiredToFreeze as int
myFishingHook . ticksRequiredToFreeze
Return Type:
int
// FishingHook.ticksRequiredToFreeze() as int;
myFishingHook . ticksRequiredToFreeze();
Return Type:
int
// FishingHook.turn(yaw as double, pitch as double);
myFishingHook . turn(myDouble, myDouble);
Parameters:
yaw: double
Type: double
pitch: double
Type: double
Updates the custom NBT data for this Entity. // FishingHook.updateCustomData(data as MapData ); myFishingHook . updateCustomData({custom: "data" });
myFishingHook . updateCustomEntityTag(myLevel, myPlayer, myMapData);
Updates the NBT data of this Entity. // FishingHook.updateData(data as MapData ); myFishingHook . updateData({key: "value" });
// FishingHook.uuid as UUID
Return Type:
UUID
// FishingHook.uuid() as UUID;
Return Type:
UUID
// FishingHook.x as double
Return Type:
double
// FishingHook.x() as double;
Return Type:
double
// FishingHook.y as double
Return Type:
double
// FishingHook.y() as double;
Return Type:
double
// FishingHook.z as double
Return Type:
double
// FishingHook.z() as double;
Return Type:
double