net.minecraft.world.entity.projectile

public class FishingHook

extends Projectile

All mapped superinterfaces:

Nameable, CommandSource

bgi
net.minecraft.world.entity.projectile.FishingHook
net.minecraft.class_1536
net.minecraft.entity.projectile.FishingBobberEntity
net.minecraft.entity.projectile.FishingBobberEntity
net.minecraft.server.v1_16_R3.EntityFishingHook

Field summary

Modifier and TypeField
private final Random
b
syncronizedRandom
field_23231
velocityRandom
field_234596_b_
private boolean
c
biting
field_23232
caughtFish
field_234597_c_
private int
d
outOfWaterTime
field_23233
outOfOpenWaterTicks
field_234598_d_
private static final EntityDataAccessor<Integer>
e
DATA_HOOKED_ENTITY
field_7170
HOOK_ENTITY_ID
field_184528_c
private static final EntityDataAccessor<Boolean>
f
DATA_BITING
field_23234
CAUGHT_FISH
field_234599_f_
private int
g
life
field_7167
removalTimer
field_146049_av
private int
ag
nibble
field_7173
hookCountdown
field_146045_ax
private int
ah
timeUntilLured
field_7174
waitCountdown
field_146040_ay
private int
ai
timeUntilHooked
field_7172
fishTravelCountdown
field_146038_az
private float
aj
fishAngle
field_7169
fishAngle
field_146054_aA
private boolean
ak
openWater
field_23134
inOpenWater
field_234595_aq_
private Entity
al
hookedIn
field_7165
hookedEntity
field_146043_c
hooked
private FishingHook$FishHookState
am
currentState
field_7175
state
field_190627_av
private final int
an
luck
field_7171
luckOfTheSeaLevel
field_191518_aw
private final int
ao
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
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
a(us<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
func_184206_a(DataParameter<?> arg0)
public void
j()
tick()
method_5773()
tick()
func_70071_h_()
tick()
private boolean
a(bfw arg0)
shouldStopFishing(Player arg0)
method_6959(class_1657 arg0)
removeIfInvalid(PlayerEntity arg0)
func_234600_a_(PlayerEntity arg0)
private void
m()
checkCollision()
method_6958()
checkForCollision()
func_190624_r()
protected boolean
a(aqa arg0)
canHitEntity(Entity arg0)
method_26958(class_1297 arg0)
method_26958(Entity arg0)
func_230298_a_(Entity arg0)
protected void
a(dck arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
onEntityHit(EntityHitResult arg0)
func_213868_a(EntityRayTraceResult arg0)
protected void
a(dcj arg0)
onHitBlock(BlockHitResult arg0)
method_24920(class_3965 arg0)
onBlockHit(BlockHitResult arg0)
func_230299_a_(BlockRayTraceResult arg0)
private void
n()
setHookedEntity()
method_6951()
updateHookedEntityId()
func_190622_s()
private void
a(fx arg0)
catchingFish(BlockPos arg0)
method_6949(class_2338 arg0)
tickFishingLogic(BlockPos pos)
func_190621_a(BlockPos arg0)
private boolean
b(fx arg0)
calculateOpenWater(BlockPos arg0)
method_26086(class_2338 arg0)
isOpenOrWaterAround(BlockPos pos)
func_234603_b_(BlockPos arg0)
private FishingHook$OpenWaterType
a(fx arg0, fx arg1)
getOpenWaterTypeForArea(BlockPos arg0, BlockPos arg1)
method_26341(class_2338 arg0, class_2338 arg1)
getPositionType(BlockPos start, BlockPos end)
func_234602_a_(BlockPos arg0, BlockPos arg1)
private FishingHook$OpenWaterType
c(fx arg0)
getOpenWaterTypeForBlock(BlockPos arg0)
method_26342(class_2338 arg0)
getPositionType(BlockPos pos)
func_234604_c_(BlockPos arg0)
public boolean
g()
isOpenWaterFishing()
method_26088()
isInOpenWater()
func_234605_g_()
public void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public int
b(bmb arg0)
retrieve(ItemStack arg0)
method_6957(class_1799 arg0)
use(ItemStack usedItem)
func_146034_e(ItemStack arg0)
protected void
h()
bringInHookedEntity()
method_6954()
pullHookedEntity()
func_184527_k()
reel()
protected boolean
aC()
isMovementNoisy()
method_5658()
canClimb()
func_225502_at_()
playStepSound()
public void
ad()
remove()
method_5650()
remove()
func_70106_y()
die()
public Player
i()
getPlayerOwner()
method_6947()
getPlayerOwner()
func_234606_i_()
getOwner()
public Entity
k()
getHookedIn()
method_26957()
getHookedEntity()
func_234607_k_()
public boolean
bO()
canChangeDimensions()
method_5822()
canUsePortals()
func_184222_aU()
canPortal()
public Packet<?>
P()
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)