net.minecraft.world.entity.fishing

public class FishingHook

extends Entity

All mapped superinterfaces:

Nameable, CommandSource

avt
net.minecraft.world.entity.fishing.FishingHook
net.minecraft.class_1536
net.minecraft.entity.projectile.FishingBobberEntity
net.minecraft.entity.projectile.FishingBobberEntity
net.minecraft.server.v1_15_R1.EntityFishingHook

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
c
DATA_HOOKED_ENTITY
field_7170
HOOK_ENTITY_ID
field_184528_c
private boolean
d
inGround
field_7176
stuckOnBlock
field_146051_au
isInGround
private int
e
life
field_7167
removalTimer
field_146049_av
private final Player
f
owner
field_7177
owner
field_146042_b
owner
private int
g
flightTime
field_7166
selfHitTimer
field_146047_aw
private int
ao
nibble
field_7173
hookCountdown
field_146045_ax
private int
ap
timeUntilLured
field_7174
waitCountdown
field_146040_ay
private int
aq
timeUntilHooked
field_7172
fishTravelCountdown
field_146038_az
private float
ar
fishAngle
field_7169
fishAngle
field_146054_aA
public Entity
b
hookedIn
field_7165
hookedEntity
field_146043_c
hooked
private FishingHook$FishHookState
as
currentState
field_7175
state
field_190627_av
private final int
at
luck
field_7171
luckOfTheSeaLevel
field_191518_aw
private final int
au
lureSpeed
field_7168
lureLevel
field_191519_ax

Constructor summary

ModifierConstructor
private (Level world, Player owner, int lureLevel, int luckOfTheSeaLevel)
public (Player thrower, Level world, int lureLevel, int luckOfTheSeaLevel)
public (Level world, Player thrower, double x, double y, double z)

Method summary

Modifier and TypeMethod
protected void
w_()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
a(sb<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
func_184206_a(DataParameter<?> arg0)
public void
h()
tick()
method_5773()
tick()
func_70071_h_()
tick()
private boolean
k()
shouldStopFishing()
method_6959()
removeIfInvalid()
func_190625_o()
private void
l()
updateRotation()
method_6952()
smoothenMovement()
func_190623_q()
private void
m()
checkCollision()
method_6958()
checkForCollision()
func_190624_r()
private void
n()
setHookedEntity()
method_6951()
updateHookedEntityId()
func_190622_s()
private void
a(fk arg0)
catchingFish(BlockPos arg0)
method_6949(class_2338 arg0)
tickFishingLogic(BlockPos pos)
func_190621_a(BlockPos arg0)
public void
b(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(jt arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public int
b(bek arg0)
retrieve(ItemStack arg0)
method_6957(class_1799 arg0)
use(ItemStack usedItem)
func_146034_e(ItemStack arg0)
protected void
f()
bringInHookedEntity()
method_6954()
pullHookedEntity()
func_184527_k()
reel()
protected boolean
at()
isMovementNoisy()
method_5658()
canClimb()
func_225502_at_()
playStepSound()
public void
X()
remove()
method_5650()
remove()
func_70106_y()
die()
public Player
i()
getOwner()
method_6947()
getOwner()
func_190619_l()
public boolean
bC()
canChangeDimensions()
method_5822()
canUsePortals()
func_184222_aU()
canPortal()
public Packet<?>
L()
getAddEntityPacket()
method_18002()
createSpawnPacket()
func_213297_N()
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
shouldRender(double arg0)
func_70112_a(double arg0)
public void
a(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
lerpTo(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
method_5759(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
updateTrackedPositionAndAngles(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
func_180426_a(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
func_70103_a(byte arg0)