net.minecraft.world.entity.ai.behavior

public class RandomStroll

extends Behavior<PathfinderMob>

bei
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
e
MAX_XZ_DIST
field_30157
MIN_RUN_TIME
f_147849_
private static final int
f
MAX_Y_DIST
field_30158
MAX_RUN_TIME
f_147850_
private final float
g
speedModifier
field_22310
speed
f_23740_
protected final int
a
maxHorizontalDistance
field_22311
horizontalRadius
f_23741_
protected final int
d
maxVerticalDistance
field_22312
verticalRadius
f_23742_
private final boolean
h
mayStrollFromWater
field_34047
strollInsideWater
f_182340_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
a(afo arg0, bbo arg1)
checkExtraStartConditions(ServerLevel arg0, PathfinderMob arg1)
method_33202(class_3218 arg0, class_1314 arg1)
shouldRun(ServerWorld arg0, PathAwareEntity arg1)
m_6114_(C_12_ p_182354_, C_533_ arg1)
protected void
a(afo arg0, bbo 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(bbo arg0)
getTargetPos(PathfinderMob arg0)
method_33201(class_1314 arg0)
findWalkTarget(PathAwareEntity entity)
m_142622_(C_533_ arg0)