net.minecraft.world.entity.animal.frog

public class ShootTongue

extends Behavior<Frog>

bos
net.minecraft.world.entity.animal.frog.ShootTongue
net.minecraft.class_7108
net.minecraft.unmapped.C_vejudmli
net.minecraft.entity.ai.brain.task.FrogEatEntityTask
net.minecraft.entity.ai.brain.task.CatchAndEatEntityTask
net.minecraft.src.C_213043_
net.minecraft.world.entity.animal.frog.ShootTongue

Field summary

Modifier and TypeField
public static final int
a
TIME_OUT_DURATION
field_37479
f_wqkflrzv
RUN_TIME
EATING_TIMEOUT
f_218608_
public static final int
d
CATCH_ANIMATION_DURATION
field_38414
f_iqfdftpz
CATCH_DURATION
CATCH_ANIMATION_DURATION
f_218609_
public static final int
e
TONGUE_ANIMATION_DURATION
field_37480
f_enajckon
EAT_DURATION
TONGUE_ANIMATION_DURATION
f_218610_
private static final float
h
EATING_DISTANCE
field_37481
f_wdkidpnn
MAX_DISTANCE
EATING_DISTANCE
f_218611_
private static final float
i
EATING_MOVEMENT_FACTOR
field_37482
f_fkcsyyou
VELOCITY_MULTIPLIER
EATING_MOVEMENT_FACTOR
f_218612_
public static final int
f
UNREACHABLE_TONGUE_TARGETS_COOLDOWN_DURATION
field_39452
f_vplbkpdh
UNREACHABLE_TONGUE_TARGETS_START_TIME
f_238166_
public static final int
g
MAX_UNREACHBLE_TONGUE_TARGETS_IN_MEMORY
field_39453
f_vmcivdqo
MAX_UNREACHABLE_TONGUE_TARGETS
f_238181_
private int
j
eatAnimationTimer
field_37483
f_miaxvnpq
eatTick
eatAnimationTicks
f_218613_
private int
k
calculatePathCounter
field_37484
f_zgsmnhqw
moveToTargetTick
pathCounterTicks
f_218614_
private final SoundEvent
l
tongueSound
field_37485
f_vpcodfwg
tongueSound
tongueSound
f_218615_
private final SoundEvent
m
eatSound
field_37486
f_cwxznlib
eatSound
eatSound
f_218616_
private Vec3
n
itemSpawnPos
field_37487
f_smpscoss
targetPos
targetEntityPosition
f_218617_
private ShootTongue$State
o
state
field_37489
f_zjafenbj
phase
state
f_218618_

Constructor summary

ModifierConstructor
public (SoundEvent tongueSound, SoundEvent eatSound)

Method summary

Modifier and TypeMethod
protected boolean
a(agg arg0, boq arg1)
checkExtraStartConditions(ServerLevel arg0, Frog arg1)
method_41384(class_3218 arg0, class_7102 arg1)
m_wgbaygxr(C_bdwnwhiu arg0, C_gcfircge arg1)
shouldRun(ServerWorld arg0, FrogEntity arg1)
shouldRun(ServerWorld arg0, FrogEntity arg1)
m_6114_(C_12_ p_218631_, C_213038_ arg1)
protected boolean
a(agg arg0, boq arg1, long arg2)
canStillUse(ServerLevel arg0, Frog arg1, long arg2)
method_41385(class_3218 arg0, class_7102 arg1, long arg2)
m_flmtmabj(C_bdwnwhiu arg0, C_gcfircge arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, FrogEntity arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, FrogEntity arg1, long arg2)
m_6737_(C_12_ p_218634_, C_213038_ p_218635_, long arg2)
protected void
b(agg arg0, boq arg1, long arg2)
start(ServerLevel arg0, Frog arg1, long arg2)
method_41387(class_3218 arg0, class_7102 arg1, long arg2)
m_aihcowaf(C_bdwnwhiu arg0, C_gcfircge arg1, long arg2)
run(ServerWorld arg0, FrogEntity arg1, long arg2)
run(ServerWorld arg0, FrogEntity arg1, long arg2)
m_6735_(C_12_ p_218645_, C_213038_ p_218646_, long arg2)
protected void
c(agg arg0, boq arg1, long arg2)
stop(ServerLevel arg0, Frog arg1, long arg2)
method_41388(class_3218 arg0, class_7102 arg1, long arg2)
m_xqkubseu(C_bdwnwhiu arg0, C_gcfircge arg1, long arg2)
finishRunning(ServerWorld arg0, FrogEntity arg1, long arg2)
finishRunning(ServerWorld arg0, FrogEntity arg1, long arg2)
m_6732_(C_12_ p_218653_, C_213038_ p_218654_, long arg2)
private void
b(agg arg0, boq arg1)
eatEntity(ServerLevel arg0, Frog arg1)
method_42667(class_3218 arg0, class_7102 arg1)
m_cfxedcbr(C_bdwnwhiu arg0, C_gcfircge arg1)
eat(ServerWorld world, FrogEntity frog)
eatTargetEntity(ServerWorld world, FrogEntity frog)
m_218640_(C_12_ p_218642_, C_213038_ arg1)
protected void
d(agg arg0, boq arg1, long arg2)
tick(ServerLevel arg0, Frog arg1, long arg2)
method_41389(class_3218 arg0, class_7102 arg1, long arg2)
m_kqzqpkvw(C_bdwnwhiu arg0, C_gcfircge arg1, long arg2)
keepRunning(ServerWorld arg0, FrogEntity arg1, long arg2)
keepRunning(ServerWorld arg0, FrogEntity arg1, long arg2)
m_6725_(C_12_ p_218661_, C_213038_ p_218662_, long arg2)
private boolean
a(boq arg0, bcc arg1)
canPathfindToTarget(Frog arg0, LivingEntity arg1)
method_44332(class_7102 arg0, class_1309 arg1)
m_gfvpgpex(C_gcfircge arg0, C_usxaxydn arg1)
isTargetReachable(FrogEntity entity, LivingEntity target)
m_238358_(C_213038_ p_238360_, C_524_ arg1)
private void
b(boq arg0, bcc arg1)
addUnreachableTargetToMemory(Frog arg0, LivingEntity arg1)
method_44333(class_7102 arg0, class_1309 arg1)
m_hcrwemzl(C_gcfircge arg0, C_usxaxydn arg1)
markTargetAsUnreachable(FrogEntity entity, LivingEntity target)
m_238443_(C_213038_ p_243335_, C_524_ arg1)