net.minecraft.world.entity.animal.frog

public class ShootTongue

extends Behavior<Frog>

All mapped superinterfaces:

BehaviorControl

cjt
net.minecraft.world.entity.animal.frog.ShootTongue
net.minecraft.class_7108
net.minecraft.entity.ai.brain.task.FrogEatEntityTask
net.minecraft.world.entity.animal.frog.ShootTongue

Field summary

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

Constructor summary

ModifierConstructor
public (SoundEvent tongueSound, SoundEvent eatSound)

Method summary

Modifier and TypeMethod
protected boolean
a(ash arg0, cjr arg1)
checkExtraStartConditions(ServerLevel arg0, Frog arg1)
method_41384(class_3218 arg0, class_7102 arg1)
shouldRun(ServerWorld arg0, FrogEntity arg1)
protected boolean
a(ash arg0, cjr 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)
protected void
b(ash arg0, cjr 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)
protected void
c(ash arg0, cjr 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)
private void
b(ash arg0, cjr arg1)
eatEntity(ServerLevel arg0, Frog arg1)
method_42667(class_3218 arg0, class_7102 arg1)
eat(ServerWorld world, FrogEntity frog)
protected void
d(ash arg0, cjr 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)
private boolean
a(cjr arg0, bwg arg1)
canPathfindToTarget(Frog arg0, LivingEntity arg1)
method_44332(class_7102 arg0, class_1309 arg1)
isTargetReachable(FrogEntity entity, LivingEntity target)
private void
b(cjr arg0, bwg arg1)
addUnreachableTargetToMemory(Frog arg0, LivingEntity arg1)
method_44333(class_7102 arg0, class_1309 arg1)
markTargetAsUnreachable(FrogEntity entity, LivingEntity target)