net.minecraft.world.entity.projectile

public class FishingHook

extends Projectile

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, TraceableEntity

cql
net.minecraft.world.entity.projectile.FishingHook
net.minecraft.class_1536
net.minecraft.unmapped.C_bgaroumb
net.minecraft.entity.projectile.FishingBobberEntity
net.minecraft.entity.projectile.FishingBobberEntity
net.minecraft.src.C_1160_
net.minecraft.world.entity.projectile.EntityFireworks

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_36336
f_smaubwoz
LOGGER
LOGGER
f_201977_
private final RandomSource
b
syncronizedRandom
field_23231
f_hrzzosjn
velocityRandom
velocityRandom
f_37098_
private boolean
c
biting
field_23232
f_plkhgjqe
caughtFish
caughtFish
f_37099_
private int
d
outOfWaterTime
field_23233
f_dcypeyvw
outOfOpenWaterTicks
outOfOpenWaterTicks
f_37100_
private static final int
e
MAX_OUT_OF_WATER_TIME
field_30665
f_dpswvjfx
field_30665
MAX_TIME_OUT_OF_WATER
f_150136_
private static final EntityDataAccessor<Integer>
f
DATA_HOOKED_ENTITY
field_7170
f_nmjotgmk
HOOK_ENTITY_ID
HOOK_ENTITY_ID
f_37101_
private static final EntityDataAccessor<Boolean>
g
DATA_BITING
field_23234
f_dathqnwd
CAUGHT_FISH
CAUGHT_FISH
f_37102_
private int
h
life
field_7167
f_ckvokwtl
removalTimer
removalTimer
f_37103_
private int
i
nibble
field_7173
f_mhwmkuif
hookCountdown
hookCountdown
f_37089_
private int
j
timeUntilLured
field_7174
f_gjgnfsus
waitCountdown
waitCountdown
f_37090_
private int
k
timeUntilHooked
field_7172
f_utsmaotr
fishTravelCountdown
fishTravelCountdown
f_37091_
private float
l
fishAngle
field_7169
f_vsapjbxs
fishAngle
fishAngle
f_37092_
private boolean
m
openWater
field_23134
f_tkdfopyp
inOpenWater
inOpenWater
f_37093_
private Entity
n
hookedIn
field_7165
f_wdvxgisa
hookedEntity
hookedEntity
f_37094_
private FishingHook$FishHookState
o
currentState
field_7175
f_ysrenvlv
state
state
f_37095_
private final int
p
luck
field_7171
f_akwyyvee
luckBonus
luckOfTheSeaLevel
f_37096_
private final int
q
lureSpeed
field_7168
f_racbrfjp
waitTimeReductionTicks
lureLevel
f_37097_

Constructor summary

ModifierConstructor
private (EntityType<? extends FishingHook> type, Level world, int luckBonus, int waitTimeReductionTicks)
public (EntityType<? extends FishingHook> p_150139_, Level world)
public (Player thrower, Level world, int luckBonus, int waitTimeReductionTicks, ItemStack stack)

Method summary

Modifier and TypeMethod
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
protected boolean
C()
shouldBounceOnWorldBorder()
method_62823()
m_enlfovqr()
deflectsAgainstWorldBorder()
m_351769_()
public void
a(alc<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
m_efnedaed(C_rinmcaxy<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
m_foqrqvze(double arg0)
shouldRender(double arg0)
shouldRender(double arg0)
m_6783_(double arg0)
public void
a(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
lerpTo(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
method_5759(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
m_fepbvbrn(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
updateTrackedPositionAndAngles(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
updateTrackedPositionAndAngles(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
m_6453_(double p_37128_, double p_37130_, double p_37132_, float arg3, float arg4, int arg5)
public void
h()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
private boolean
a(cpw arg0)
shouldStopFishing(Player arg0)
method_6959(class_1657 arg0)
m_ddiqhjqh(C_jzrpycqo arg0)
removeIfInvalid(PlayerEntity player)
removeIfInvalid(PlayerEntity player)
m_37136_(C_1141_ arg0)
private void
t()
checkCollision()
method_6958()
m_iijioizd()
checkForCollision()
checkForCollision()
m_37171_()
protected boolean
b(bvj arg0)
canHitEntity(Entity arg0)
method_26958(class_1297 arg0)
m_jmdjqqjc(C_astfners arg0)
canHit(Entity arg0)
canHit(Entity arg0)
m_5603_(C_507_ arg0)
protected void
a(fbu arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
m_nkpdbvpp(C_wokbhynj arg0)
onEntityHit(EntityHitResult arg0)
onEntityHit(EntityHitResult arg0)
m_5790_(C_3042_ arg0)
protected void
a(fbt arg0)
onHitBlock(BlockHitResult arg0)
method_24920(class_3965 arg0)
m_ggjsldmr(C_jdakttms arg0)
onBlockHit(BlockHitResult arg0)
onBlockHit(BlockHitResult arg0)
m_8060_(C_3041_ arg0)
private void
B(bvj arg0)
setHookedEntity(Entity arg0)
method_6951(class_1297 arg0)
m_fomyhnmj(C_astfners arg0)
updateHookedEntityId(Entity entity)
updateHookedEntityId(Entity entity)
m_150157_(C_507_ arg0)
private void
a(jh arg0)
catchingFish(BlockPos arg0)
method_6949(class_2338 arg0)
m_jvirsvsw(C_hynzadkk arg0)
tickFishingLogic(BlockPos pos)
tickFishingLogic(BlockPos pos)
m_37145_(C_4675_ arg0)
private boolean
b(jh arg0)
calculateOpenWater(BlockPos arg0)
method_26086(class_2338 arg0)
m_jjztrset(C_hynzadkk arg0)
isOpenOrWaterAround(BlockPos pos)
isOpenOrWaterAround(BlockPos pos)
m_37158_(C_4675_ arg0)
private FishingHook$OpenWaterType
a(jh arg0, jh arg1)
getOpenWaterTypeForArea(BlockPos arg0, BlockPos arg1)
method_26341(class_2338 arg0, class_2338 arg1)
m_xyvgzbww(C_hynzadkk arg0, C_hynzadkk arg1)
getPositionType(BlockPos start, BlockPos end)
getPositionType(BlockPos start, BlockPos end)
m_37147_(C_4675_ p_37149_, C_4675_ arg1)
private FishingHook$OpenWaterType
c(jh arg0)
getOpenWaterTypeForBlock(BlockPos arg0)
method_26342(class_2338 arg0)
m_tlzzgibs(C_hynzadkk arg0)
getPositionType(BlockPos pos)
getPositionType(BlockPos pos)
m_37163_(C_4675_ arg0)
public boolean
l()
isOpenWaterFishing()
method_26088()
m_dtqatmph()
isInOpenWater()
isInOpenWater()
m_37166_()
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public int
a(cxo arg0)
retrieve(ItemStack arg0)
method_6957(class_1799 arg0)
m_yjefhvsp(C_sddaxwyk arg0)
use(ItemStack usedItem)
use(ItemStack usedItem)
m_37156_(C_1391_ arg0)
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
m_kkieextx(byte arg0)
handleStatus(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
protected void
d(bvj arg0)
pullEntity(Entity arg0)
method_6954(class_1297 arg0)
m_zsczmmdw(C_astfners arg0)
pullHookedEntity(Entity entity)
pullHookedEntity(Entity entity)
m_150155_(C_507_ arg0)
protected Entity$MovementEmission
bg()
getMovementEmission()
method_33570()
m_dxohridw()
getMoveEffect()
getMoveEffect()
m_142319_()
public void
a(bvj$d arg0)
remove(Entity$RemovalReason arg0)
method_5650(class_1297$class_5529 arg0)
m_jvhgezub(C_astfners$C_emmohndu arg0)
remove(Entity$RemovalReason arg0)
remove(Entity$RemovalReason arg0)
m_142687_(C_507_$C_141065_ arg0)
public void
av()
onClientRemoval()
method_36209()
m_bjibgujk()
onRemoved()
onRemoved()
m_142036_()
public void
c(bvj arg0)
setOwner(Entity arg0)
method_7432(class_1297 arg0)
m_wosjyviq(C_astfners arg0)
setOwner(Entity arg0)
setOwner(Entity arg0)
m_5602_(C_507_ arg0)
private void
a(cql arg0)
updateOwnerInfo(FishingHook arg0)
method_36210(class_1536 arg0)
m_fhxjyemi(C_bgaroumb arg0)
setPlayerFishHook(FishingBobberEntity fishingBobber)
setPlayerFishHook(FishingBobberEntity fishingBobber)
m_150147_(C_1160_ arg0)
public Player
m()
getPlayerOwner()
method_6947()
m_lrtnwqxh()
getPlayerOwner()
getPlayerOwner()
m_37168_()
public Entity
s()
getHookedIn()
method_26957()
m_hmgxvygz()
getHookedEntity()
getHookedEntity()
m_37170_()
public boolean
o(boolean arg0)
canUsePortal(boolean arg0)
method_5822(boolean arg0)
m_acybdbgv(boolean arg0)
canUsePortals(boolean arg0)
canUsePortals(boolean arg0)
m_31145_(boolean arg0)
public Packet<ClientGamePacketListener>
a(asf arg0)
getAddEntityPacket(ServerEntity arg0)
method_18002(class_3231 arg0)
m_tugxrexj(C_yagtbmmk arg0)
createSpawnPacket(EntityTrackerEntry arg0)
createSpawnPacket(EntityTrackerEntry arg0)
m_5654_(C_11_ arg0)
public void
a(acs arg0)
recreateFromPacket(ClientboundAddEntityPacket arg0)
method_31471(class_2604 arg0)
m_fccepfav(C_qdqrqwvy arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
m_141965_(C_5032_ arg0)