net.minecraft.world.entity.ai.behavior

public class TryFindLand

extends Behavior<PathfinderMob>

bgl
net.minecraft.world.entity.ai.behavior.TryFindLand
net.minecraft.class_7097
net.minecraft.entity.ai.brain.task.WalkTowardsLandTask
net.minecraft.src.C_213016_
net.minecraft.world.entity.ai.behavior.TryFindLand

Field summary

Modifier and TypeField
private static final int
a
COOLDOWN_TICKS
field_37433
TASK_COOLDOWN
f_217413_
private final int
d
range
field_37434
range
f_217414_
private final float
e
speedModifier
field_37435
speed
f_217415_
private long
f
nextOkStartTime
field_37436
walkTowardsLandTime
f_217416_

Constructor summary

ModifierConstructor
public (int range, float speed)

Method summary

Modifier and TypeMethod
protected void
a(agg arg0, bcl arg1, long arg2)
stop(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_41344(class_3218 arg0, class_1314 arg1, long arg2)
finishRunning(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_6732_(C_12_ p_217432_, C_533_ p_217433_, long arg2)
protected boolean
a(agg arg0, bcl arg1)
checkExtraStartConditions(ServerLevel arg0, PathfinderMob arg1)
method_41343(class_3218 arg0, class_1314 arg1)
shouldRun(ServerWorld arg0, PathAwareEntity arg1)
m_6114_(C_12_ p_217429_, C_533_ arg1)
protected void
b(agg arg0, bcl arg1, long arg2)
start(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_41345(class_3218 arg0, class_1314 arg1, long arg2)
run(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_6735_(C_12_ p_217436_, C_533_ p_217437_, long arg2)