net.minecraft.world.entity.animal.frog

public class ShootTongue

extends Behavior<Frog>

All mapped superinterfaces:

BehaviorControl

bta
net.minecraft.world.entity.animal.frog.ShootTongue
net.minecraft.class_7108
net.minecraft.entity.ai.brain.task.FrogEatEntityTask
net.minecraft.src.C_213043_
net.minecraft.world.entity.animal.frog.ShootTongue

Field summary

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

Constructor summary

ModifierConstructor
public (SoundEvent tongueSound, SoundEvent eatSound)

Method summary

Modifier and TypeMethod
protected boolean
a(aip arg0, bsy arg1)
checkExtraStartConditions(ServerLevel arg0, Frog arg1)
method_41384(class_3218 arg0, class_7102 arg1)
shouldRun(ServerWorld arg0, FrogEntity arg1)
m_6114_(C_12_ p_218631_, C_213038_ arg1)
protected boolean
a(aip arg0, bsy arg1, long arg2)
canStillUse(ServerLevel arg0, Frog arg1, long arg2)
method_41385(class_3218 arg0, class_7102 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(aip arg0, bsy arg1, long arg2)
start(ServerLevel arg0, Frog arg1, long arg2)
method_41387(class_3218 arg0, class_7102 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(aip arg0, bsy arg1, long arg2)
stop(ServerLevel arg0, Frog arg1, long arg2)
method_41388(class_3218 arg0, class_7102 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(aip arg0, bsy arg1)
eatEntity(ServerLevel arg0, Frog arg1)
method_42667(class_3218 arg0, class_7102 arg1)
eat(ServerWorld world, FrogEntity frog)
m_218640_(C_12_ p_218642_, C_213038_ arg1)
protected void
d(aip arg0, bsy arg1, long arg2)
tick(ServerLevel arg0, Frog arg1, long arg2)
method_41389(class_3218 arg0, class_7102 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(bsy arg0, bfx arg1)
canPathfindToTarget(Frog arg0, LivingEntity arg1)
method_44332(class_7102 arg0, class_1309 arg1)
isTargetReachable(FrogEntity entity, LivingEntity target)
m_238358_(C_213038_ p_238360_, C_524_ arg1)
private void
b(bsy arg0, bfx arg1)
addUnreachableTargetToMemory(Frog arg0, LivingEntity arg1)
method_44333(class_7102 arg0, class_1309 arg1)
markTargetAsUnreachable(FrogEntity entity, LivingEntity target)
m_238443_(C_213038_ p_243335_, C_524_ arg1)