net.minecraft.world.entity.ai.behavior

public class RandomStroll

extends Behavior<PathfinderMob>

awt
net.minecraft.world.entity.ai.behavior.RandomStroll
net.minecraft.class_4818
net.minecraft.entity.ai.brain.task.StrollTask
net.minecraft.src.C_613_
net.minecraft.world.entity.ai.behavior.BehaviorStrollRandomUnconstrained

Field summary

Modifier and TypeField
private static final int
d
MAX_XZ_DIST
field_30157
MIN_RUN_TIME
f_147849_
private static final int
e
MAX_Y_DIST
field_30158
MAX_RUN_TIME
f_147850_
private final float
f
speedModifier
field_22310
speed
f_23740_
protected final int
a
maxHorizontalDistance
field_22311
horizontalRadius
f_23741_
protected final int
c
maxVerticalDistance
field_22312
verticalRadius
f_23742_

Constructor summary

ModifierConstructor
public (float speed)
public (float speed, int horizontalRadius, int verticalRadius)

Method summary

Modifier and TypeMethod
protected void
a(abr arg0, auc arg1, long arg2)
start(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_24594(class_3218 arg0, class_1314 arg1, long arg2)
run(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_6735_(C_12_ p_23755_, C_533_ p_23756_, long arg2)
protected Vec3
a(auc arg0)
getTargetPos(PathfinderMob arg0)
method_33201(class_1314 arg0)
findWalkTarget(PathAwareEntity entity)
m_142622_(C_533_ arg0)