net.minecraft.world.entity.ai.behavior

public class VillageBoundRandomStroll

extends Behavior<PathfinderMob>

any
net.minecraft.world.entity.ai.behavior.VillageBoundRandomStroll
net.minecraft.class_4117
net.minecraft.entity.ai.brain.task.FindWalkTargetTask
net.minecraft.entity.ai.brain.task.FindWalkTargetTask
net.minecraft.server.v1_15_R1.BehaviorStrollRandom

Field summary

Modifier and TypeField
private final float
a
speed
field_18375
walkSpeed
field_220597_a
private final int
b
maxXyDist
field_19352
maxHorizontalDistance
field_223525_b
private final int
c
maxYDist
field_19353
maxVerticalDistance
field_223526_c

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
a(xd arg0, alg arg1, long arg2)
start(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_18996(class_3218 arg0, class_1314 arg1, long arg2)
run(ServerWorld arg0, MobEntityWithAi arg1, long arg2)
func_212831_a_(ServerWorld arg0, CreatureEntity arg1, long arg2)
private void
a(alg arg0, gd arg1)
setTargetedPos(PathfinderMob arg0, SectionPos arg1)
method_20430(class_1314 arg0, class_4076 arg1)
updateWalkTarget(MobEntityWithAi entity, ChunkSectionPos pos)
func_220594_a(CreatureEntity arg0, SectionPos arg1)
private void
a(alg arg0)
setRandomPos(PathfinderMob arg0)
method_20429(class_1314 arg0)
updateWalkTarget(MobEntityWithAi entity)
func_220593_a(CreatureEntity arg0)