net.minecraft.world.entity.ai.behavior

public class RandomStroll

extends Behavior<PathfinderMob>

bff
net.minecraft.world.entity.ai.behavior.RandomStroll
net.minecraft.class_4818
net.minecraft.unmapped.C_knyoxtib
net.minecraft.entity.ai.brain.task.StrollTask
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
f_dibpynuj
MIN_RUN_TIME
MIN_RUN_TIME
f_147849_
private static final int
f
MAX_Y_DIST
field_30158
f_ohlbcdez
MAX_RUN_TIME
MAX_RUN_TIME
f_147850_
private final float
g
speedModifier
field_22310
f_dyotuupr
speed
speed
f_23740_
protected final int
a
maxHorizontalDistance
field_22311
f_rfougqyb
horizontalRadius
horizontalRadius
f_23741_
protected final int
d
maxVerticalDistance
field_22312
f_qafrxgxh
verticalRadius
verticalRadius
f_23742_
private final boolean
h
mayStrollFromWater
field_34047
f_okcmgesa
strollInsideWater
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(agg arg0, bcl arg1)
checkExtraStartConditions(ServerLevel arg0, PathfinderMob arg1)
method_33202(class_3218 arg0, class_1314 arg1)
m_pphvbchk(C_bdwnwhiu arg0, C_hqdayibh arg1)
shouldRun(ServerWorld arg0, PathAwareEntity arg1)
shouldRun(ServerWorld arg0, PathAwareEntity arg1)
m_6114_(C_12_ p_182354_, C_533_ arg1)
protected void
a(agg arg0, bcl arg1, long arg2)
start(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_24594(class_3218 arg0, class_1314 arg1, long arg2)
m_xcroagtf(C_bdwnwhiu arg0, C_hqdayibh arg1, long arg2)
run(ServerWorld arg0, PathAwareEntity 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(bcl arg0)
getTargetPos(PathfinderMob arg0)
method_33201(class_1314 arg0)
m_tuxpulgt(C_hqdayibh arg0)
findWalkTarget(PathAwareEntity entity)
findWalkTarget(PathAwareEntity entity)
m_142622_(C_533_ arg0)