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.
import crafttweaker.api.entity.type.projectile.FishingHook;
Extends
FishingHook extends Projectile
.
Implements
FishingHook
implements the following interfaces:
Nameable
,EntityAccess
,CommandSource
,IAttachmentHolder
Undocumented Interfaces
TraceableEntity
,SyncedDataHolder
,ScoreHolder
,IEntityExtension
,INBTSerializable<CompoundTag>
Members
// FishingHook.acceptsFailure as boolmyFishingHook.acceptsFailure
Return Type:
bool
// FishingHook.acceptsFailure() as bool;myFishingHook.acceptsFailure();
Return Type:
bool
// FishingHook.acceptsSuccess as boolmyFishingHook.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 intmyFishingHook.airSupply
Return Type:
int
// FishingHook.airSupply() as int;myFishingHook.airSupply();
Return Type:
int
// FishingHook.alwaysAccepts as boolmyFishingHook.alwaysAccepts
Return Type:
bool
// FishingHook.alwaysAccepts() as bool;myFishingHook.alwaysAccepts();
Return Type:
bool
// FishingHook.bbHeight as floatmyFishingHook.bbHeight
Return Type:
float
// FishingHook.bbHeight() as float;myFishingHook.bbHeight();
Return Type:
float
// FishingHook.bbWidth as floatmyFishingHook.bbWidth
Return Type:
float
// FishingHook.bbWidth() as float;myFishingHook.bbWidth();
Return Type:
float
// FishingHook.blockX as intmyFishingHook.blockX
Return Type:
int
// FishingHook.blockX() as int;myFishingHook.blockX();
Return Type:
int
// FishingHook.blockY as intmyFishingHook.blockY
Return Type:
int
// FishingHook.blockY() as int;myFishingHook.blockY();
Return Type:
int
// FishingHook.blockZ as intmyFishingHook.blockZ
Return Type:
int
// FishingHook.blockZ() as int;myFishingHook.blockZ();
Return Type:
int
// FishingHook.canBeCollidedWith as boolmyFishingHook.canBeCollidedWith
Return Type:
bool
// FishingHook.canBeCollidedWith() as bool;myFishingHook.canBeCollidedWith();
Return Type:
bool
// FishingHook.canFreeze as boolmyFishingHook.canFreeze
Return Type:
bool
// FishingHook.canFreeze() as bool;myFishingHook.canFreeze();
Return Type:
bool
// FishingHook.clearFire();myFishingHook.clearFire();
// FishingHook.dampensVibrations as boolmyFishingHook.dampensVibrations
Return Type:
bool
// FishingHook.dampensVibrations() as bool;myFishingHook.dampensVibrations();
Return Type:
bool
// FishingHook.dimensionChangingDelay as intmyFishingHook.dimensionChangingDelay
Return Type:
int
// FishingHook.dimensionChangingDelay() as int;myFishingHook.dimensionChangingDelay();
Return Type:
int
// FishingHook.discard();myFishingHook.discard();
// FishingHook.dismountsUnderwater as boolmyFishingHook.dismountsUnderwater
Return Type:
bool
// 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.ejectPassengers();myFishingHook.ejectPassengers();
// FishingHook.eyeHeight as floatmyFishingHook.eyeHeight
Return Type:
float
// FishingHook.eyeHeight() as float;myFishingHook.eyeHeight();
Return Type:
float
// FishingHook.eyeY as doublemyFishingHook.eyeY
Return Type:
double
// FishingHook.eyeY() as double;myFishingHook.eyeY();
Return Type:
double
// FishingHook.fireImmune as boolmyFishingHook.fireImmune
Return Type:
bool
// FishingHook.fireImmune() as bool;myFishingHook.fireImmune();
Return Type:
bool
// FishingHook.fireTicks as intmyFishingHook.fireTicks
Return Type:
int
// FishingHook.fireTicks = (ticks as int);myFishingHook.fireTicks = myInt;
Parameters:
ticks: int
Type: int
// FishingHook.fluidJumpThreshold as doublemyFishingHook.fluidJumpThreshold
Return Type:
double
// FishingHook.fluidJumpThreshold() as double;myFishingHook.fluidJumpThreshold();
Return Type:
double
myFishingHook.getAttachmentData<T>(myAttachmentType);
Parameters:
type: AttachmentType<T>
Type: AttachmentType<T>
Return Type:
T
myFishingHook.getAttachmentData<T>(mySupplier);
Parameters:
type: Supplier<AttachmentType<T>>
Type: Supplier<AttachmentType<T>>
Return Type:
T
// 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
myFishingHook.hasAttachmentData<T>(myAttachmentType);
Parameters:
type: AttachmentType<T>
Type: AttachmentType<T>
Return Type:
bool
myFishingHook.hasAttachmentData<T>(mySupplier);
Parameters:
type: Supplier<AttachmentType<T>>
Type: Supplier<AttachmentType<T>>
Return Type:
bool
// FishingHook.hasCustomName as boolmyFishingHook.hasCustomName
Return Type:
bool
// FishingHook.hasCustomName as boolmyFishingHook.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 boolmyFishingHook.hasExactlyOnePlayerPassenger
Return Type:
bool
// FishingHook.hasExactlyOnePlayerPassenger() as bool;myFishingHook.hasExactlyOnePlayerPassenger();
Return Type:
bool
// FishingHook.hasGlowingTag as boolmyFishingHook.hasGlowingTag
Return Type:
bool
// FishingHook.hasGlowingTag() as bool;myFishingHook.hasGlowingTag();
Return Type:
bool
myFishingHook.hurt(myDamageSource, myFloat);
Parameters:
source: DamageSource
Type: DamageSource
amount: float
Type: float
Return Type:
bool
// FishingHook.id as intmyFishingHook.id
Return Type:
int
// FishingHook.id() as int;myFishingHook.id();
Return Type:
int
// FishingHook.inBlockState as BlockStatemyFishingHook.inBlockState
Return Type:
BlockState
// FishingHook.isAlive as boolmyFishingHook.isAlive
Return Type:
bool
// FishingHook.isAlive() as bool;myFishingHook.isAlive();
Return Type:
bool
// FishingHook.isAlwaysTicking as boolmyFishingHook.isAlwaysTicking
Return Type:
bool
// FishingHook.isAlwaysTicking() as bool;myFishingHook.isAlwaysTicking();
Return Type:
bool
// FishingHook.isAttackable as boolmyFishingHook.isAttackable
Return Type:
bool
// FishingHook.isAttackable() as bool;myFishingHook.isAttackable();
Return Type:
bool
myFishingHook.isColliding(myBlockPos, myBlockState);
Parameters:
state: BlockState
Type: BlockState
Return Type:
bool
// FishingHook.isCrouching as boolmyFishingHook.isCrouching
Return Type:
bool
// FishingHook.isCrouching() as bool;myFishingHook.isCrouching();
Return Type:
bool
// FishingHook.isCurrentlyGlowing as boolmyFishingHook.isCurrentlyGlowing
Return Type:
bool
// FishingHook.isCurrentlyGlowing() as bool;myFishingHook.isCurrentlyGlowing();
Return Type:
bool
// FishingHook.isCustomNameVisible as boolmyFishingHook.isCustomNameVisible
Return Type:
bool
// FishingHook.isCustomNameVisible() as bool;myFishingHook.isCustomNameVisible();
Return Type:
bool
// FishingHook.isDescending as boolmyFishingHook.isDescending
Return Type:
bool
// FishingHook.isDescending() as bool;myFishingHook.isDescending();
Return Type:
bool
// FishingHook.isDiscrete as boolmyFishingHook.isDiscrete
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 boolmyFishingHook.isFullyFrozen
Return Type:
bool
// FishingHook.isFullyFrozen() as bool;myFishingHook.isFullyFrozen();
Return Type:
bool
// FishingHook.isInLava as boolmyFishingHook.isInLava
Return Type:
bool
// FishingHook.isInLava() as bool;myFishingHook.isInLava();
Return Type:
bool
// FishingHook.isInvisible as boolmyFishingHook.isInvisible
Return Type:
bool
// FishingHook.isInvisible() as bool;myFishingHook.isInvisible();
Return Type:
bool
// FishingHook.isInvulnerable as boolmyFishingHook.isInvulnerable
Return Type:
bool
// FishingHook.isInvulnerable() as bool;myFishingHook.isInvulnerable();
Return Type:
bool
myFishingHook.isInvulnerableTo(myDamageSource);
Parameters:
source: DamageSource
Type: DamageSource
Return Type:
bool
// FishingHook.isInWall as boolmyFishingHook.isInWall
Return Type:
bool
// FishingHook.isInWall() as bool;myFishingHook.isInWall();
Return Type:
bool
// FishingHook.isInWater as boolmyFishingHook.isInWater
Return Type:
bool
// FishingHook.isInWater() as bool;myFishingHook.isInWater();
Return Type:
bool
// FishingHook.isInWaterOrBubble as boolmyFishingHook.isInWaterOrBubble
Return Type:
bool
// FishingHook.isInWaterOrBubble() as bool;myFishingHook.isInWaterOrBubble();
Return Type:
bool
// FishingHook.isInWaterOrRain as boolmyFishingHook.isInWaterOrRain
Return Type:
bool
// FishingHook.isInWaterOrRain() as bool;myFishingHook.isInWaterOrRain();
Return Type:
bool
// FishingHook.isInWaterRainOrBubble as boolmyFishingHook.isInWaterRainOrBubble
Return Type:
bool
// FishingHook.isInWaterRainOrBubble() as bool;myFishingHook.isInWaterRainOrBubble();
Return Type:
bool
// FishingHook.isNoGravity as boolmyFishingHook.isNoGravity
Return Type:
bool
// FishingHook.isNoGravity() as bool;myFishingHook.isNoGravity();
Return Type:
bool
// FishingHook.isOnFire as boolmyFishingHook.isOnFire
Return Type:
bool
// FishingHook.isOnFire() as bool;myFishingHook.isOnFire();
Return Type:
bool
// FishingHook.isOnPortalCooldown as boolmyFishingHook.isOnPortalCooldown
Return Type:
bool
// FishingHook.isOnPortalCooldown() as bool;myFishingHook.isOnPortalCooldown();
Return Type:
bool
// FishingHook.isPassenger as boolmyFishingHook.isPassenger
Return Type:
bool
// FishingHook.isPassenger() as bool;myFishingHook.isPassenger();
Return Type:
bool
// FishingHook.isPickable as boolmyFishingHook.isPickable
Return Type:
bool
// FishingHook.isPickable() as bool;myFishingHook.isPickable();
Return Type:
bool
// FishingHook.isPushable as boolmyFishingHook.isPushable
Return Type:
bool
// FishingHook.isPushable() as bool;myFishingHook.isPushable();
Return Type:
bool
// FishingHook.isPushedByFluid as boolmyFishingHook.isPushedByFluid
Return Type:
bool
// FishingHook.isPushedByFluid() as bool;myFishingHook.isPushedByFluid();
Return Type:
bool
// FishingHook.isRemoved as boolmyFishingHook.isRemoved
Return Type:
bool
// FishingHook.isRemoved() as bool;myFishingHook.isRemoved();
Return Type:
bool
// FishingHook.isShiftKeyDown as boolmyFishingHook.isShiftKeyDown
Return Type:
bool
// FishingHook.isShiftKeyDown() as bool;myFishingHook.isShiftKeyDown();
Return Type:
bool
// FishingHook.isSilent as boolmyFishingHook.isSilent
Return Type:
bool
// FishingHook.isSilent() as bool;myFishingHook.isSilent();
Return Type:
bool
// FishingHook.isSpectator as boolmyFishingHook.isSpectator
Return Type:
bool
// FishingHook.isSpectator() as bool;myFishingHook.isSpectator();
Return Type:
bool
// FishingHook.isSprinting as boolmyFishingHook.isSprinting
Return Type:
bool
// FishingHook.isSprinting() as bool;myFishingHook.isSprinting();
Return Type:
bool
// FishingHook.isSteppingCarefully as boolmyFishingHook.isSteppingCarefully
Return Type:
bool
// FishingHook.isSteppingCarefully() as bool;myFishingHook.isSteppingCarefully();
Return Type:
bool
// FishingHook.isSuppressingBounce as boolmyFishingHook.isSuppressingBounce
Return Type:
bool
// FishingHook.isSuppressingBounce() as bool;myFishingHook.isSuppressingBounce();
Return Type:
bool
// FishingHook.isSwimming as boolmyFishingHook.isSwimming
Return Type:
bool
// FishingHook.isSwimming() as bool;myFishingHook.isSwimming();
Return Type:
bool
// FishingHook.isUnderWater as boolmyFishingHook.isUnderWater
Return Type:
bool
// FishingHook.isUnderWater() as bool;myFishingHook.isUnderWater();
Return Type:
bool
// FishingHook.isVehicle as boolmyFishingHook.isVehicle
Return Type:
bool
// FishingHook.isVehicle() as bool;myFishingHook.isVehicle();
Return Type:
bool
// FishingHook.isVisuallyCrawling as boolmyFishingHook.isVisuallyCrawling
Return Type:
bool
// FishingHook.isVisuallyCrawling() as bool;myFishingHook.isVisuallyCrawling();
Return Type:
bool
// FishingHook.isVisuallySwimming as boolmyFishingHook.isVisuallySwimming
Return Type:
bool
// FishingHook.isVisuallySwimming() as bool;myFishingHook.isVisuallySwimming();
Return Type:
bool
// FishingHook.kill();myFishingHook.kill();
// FishingHook.lavaHurt();myFishingHook.lavaHurt();
// FishingHook.maxAirSupply as intmyFishingHook.maxAirSupply
Return Type:
int
// FishingHook.maxAirSupply() as int;myFishingHook.maxAirSupply();
Return Type:
int
// FishingHook.maxFallDistance as intmyFishingHook.maxFallDistance
Return Type:
int
// FishingHook.maxFallDistance() as int;myFishingHook.maxFallDistance();
Return Type:
int
// 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(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 boolmyFishingHook.onGround
Return Type:
bool
// FishingHook.percentFrozen as floatmyFishingHook.percentFrozen
Return Type:
float
// FishingHook.percentFrozen() as float;myFishingHook.percentFrozen();
Return Type:
float
// FishingHook.pistonPushReaction as PushReactionmyFishingHook.pistonPushReaction
Return Type:
PushReaction
myFishingHook.playSound(mySoundEvent, myFloat, myFloat);
Parameters:
// FishingHook.portalWaitTime as intmyFishingHook.portalWaitTime
Return Type:
int
// FishingHook.portalWaitTime() as int;myFishingHook.portalWaitTime();
Return Type:
int
// FishingHook.registryName as ResourceLocationmyFishingHook.registryName
Return Type:
ResourceLocation
// FishingHook.removeTag(tagName as string) as bool;myFishingHook.removeTag(myString);
Parameters:
tagName: string
Type: string
Return Type:
bool
// FishingHook.removeVehicle();myFishingHook.removeVehicle();
// FishingHook.setAirSupply(air as int);myFishingHook.setAirSupply(myInt);
Parameters:
air: int
Type: int
myFishingHook.setAttachmentData<T>(myAttachmentType, myT);
Parameters:
type: AttachmentType<T>
Type: AttachmentType<T>
data: T
Type: T
Return Type:
T?
myFishingHook.setAttachmentData<T>(mySupplier, myT);
Parameters:
type: Supplier<AttachmentType<T>>
Type: Supplier<AttachmentType<T>>
data: T
Type: T
Return Type:
T?
// FishingHook.setCustomNameVisible(visible as bool);myFishingHook.setCustomNameVisible(myBool);
Parameters:
visible: bool
Type: bool
// 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);
Parameters:
glowing: bool
Type: bool
// 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
// 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(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
myFishingHook.setRemoved(myRemovalReason);
Parameters:
var1: RemovalReason
Type: RemovalReason
// FishingHook.setShiftKeyDown(keyDown as bool);myFishingHook.setShiftKeyDown(myBool);
Parameters:
keyDown: bool
Type: bool
// FishingHook.setSilent(silent as bool);myFishingHook.setSilent(myBool);
Parameters:
silent: bool
Type: bool
// 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);
Parameters:
ticks: int
Type: int
// FishingHook.shouldBeSaved as boolmyFishingHook.shouldBeSaved
Return Type:
bool
// FishingHook.shouldBeSaved() as bool;myFishingHook.shouldBeSaved();
Return Type:
bool
// FishingHook.shouldInformAdmins as boolmyFishingHook.shouldInformAdmins
Return Type:
bool
// FishingHook.shouldInformAdmins() as bool;myFishingHook.shouldInformAdmins();
Return Type:
bool
// FishingHook.shouldShowName as boolmyFishingHook.shouldShowName
Return Type:
bool
// FishingHook.shouldShowName() as bool;myFishingHook.shouldShowName();
Return Type:
bool
// FishingHook.showVehicleHealth as boolmyFishingHook.showVehicleHealth
Return Type:
bool
// FishingHook.showVehicleHealth() as bool;myFishingHook.showVehicleHealth();
Return Type:
bool
// FishingHook.soundSource as SoundSourcemyFishingHook.soundSource
Return Type:
SoundSource
// FishingHook.stopRiding();myFishingHook.stopRiding();
// FishingHook.stringUUID as stringmyFishingHook.stringUUID
Return Type:
string
// FishingHook.stringUUID() as string;myFishingHook.stringUUID();
Return Type:
string
// FishingHook.tags as Set<string>myFishingHook.tags
Return Type:
Set<string>
// FishingHook.tags() as Set<string>;myFishingHook.tags();
Return Type:
Set<string>
// FishingHook.teamColor as intmyFishingHook.teamColor
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 intmyFishingHook.ticksFrozen
Return Type:
int
// FishingHook.ticksFrozen() as int;myFishingHook.ticksFrozen();
Return Type:
int
// FishingHook.ticksRequiredToFreeze as intmyFishingHook.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
myFishingHook.type
Return Type:
EntityType<Entity>
// FishingHook.unRide();myFishingHook.unRide();
// FishingHook.uuid as UUIDmyFishingHook.uuid
Return Type:
UUID
// FishingHook.uuid() as UUID;myFishingHook.uuid();
Return Type:
UUID
// FishingHook.x as doublemyFishingHook.x
Return Type:
double
// FishingHook.x() as double;myFishingHook.x();
Return Type:
double
// FishingHook.y as doublemyFishingHook.y
Return Type:
double
// FishingHook.y() as double;myFishingHook.y();
Return Type:
double
// FishingHook.z as doublemyFishingHook.z
Return Type:
double
// FishingHook.z() as double;myFishingHook.z();
Return Type:
double