net.minecraft.world.entity.ai.behavior

public class VillageBoundRandomStroll

extends Behavior<PathfinderMob>

bgt
net.minecraft.world.entity.ai.behavior.VillageBoundRandomStroll
net.minecraft.class_4117
net.minecraft.entity.ai.brain.task.FindWalkTargetTask
net.minecraft.src.C_648_
net.minecraft.world.entity.ai.behavior.BehaviorStrollRandom

Field summary

Modifier and TypeField
private static final int
a
MAX_XZ_DIST
field_30186
MIN_RUN_TIME
f_148037_
private static final int
d
MAX_Y_DIST
field_30187
MAX_RUN_TIME
f_148038_
private final float
e
speedModifier
field_18375
walkSpeed
f_24542_
private final int
f
maxXyDist
field_19352
maxHorizontalDistance
f_24543_
private final int
g
maxYDist
field_19353
maxVerticalDistance
f_24544_

Constructor summary

ModifierConstructor
public (float walkSpeed)
public (float walkSpeed, int maxHorizontalDistance, int maxVerticalDistance)

Method summary

Modifier and TypeMethod
protected void
a(agg arg0, bcl arg1, long arg2)
start(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_18996(class_3218 arg0, class_1314 arg1, long arg2)
run(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_6735_(C_12_ p_24557_, C_533_ p_24558_, long arg2)
private void
a(bcl arg0, hq arg1)
setTargetedPos(PathfinderMob arg0, SectionPos arg1)
method_20430(class_1314 arg0, class_4076 arg1)
updateWalkTarget(PathAwareEntity entity, ChunkSectionPos pos)
m_24561_(C_533_ p_24563_, C_4710_ arg1)
private void
a(bcl arg0)
setRandomPos(PathfinderMob arg0)
method_20429(class_1314 arg0)
updateWalkTarget(PathAwareEntity entity)
m_24559_(C_533_ arg0)