net.minecraft.world.entity.ai.behavior

public class RandomStroll

bhl
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
a
MAX_XZ_DIST
field_30157
DEFAULT_HORIZONTAL_RADIUS
f_147849_
private static final int
b
MAX_Y_DIST
field_30158
DEFAULT_VERTICAL_RADIUS
f_147850_
private static final int[][]
c
SWIM_XY_DISTANCE_TIERS
field_40995
RADII
f_256848_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static OneShot<PathfinderMob>
a(float arg0)
stroll(float arg0)
method_47014(float arg0)
create(float speed)
m_257965_(float p_260304_)
public static OneShot<PathfinderMob>
a(float arg0, boolean arg1)
stroll(float arg0, boolean arg1)
method_47018(float arg0, boolean arg1)
create(float speed, boolean strollInsideWater)
m_257798_(float p_260303_, boolean p_259639_)
public static BehaviorControl<PathfinderMob>
a(float arg0, int arg1, int arg2)
stroll(float arg0, int arg1, int arg2)
method_47015(float arg0, int arg1, int arg2)
create(float speed, int horizontalRadius, int verticalRadius)
m_257960_(float p_260204_, int p_259502_, int p_259891_)
public static BehaviorControl<PathfinderMob>
b(float arg0)
fly(float arg0)
method_47025(float arg0)
createSolidTargeting(float speed)
m_257379_(float p_259119_)
public static BehaviorControl<PathfinderMob>
c(float arg0)
swim(float arg0)
method_47027(float arg0)
createDynamicRadius(float speed)
m_257751_(float p_259469_)
private static OneShot<PathfinderMob>
a(float arg0, Function<bep, eae> arg1, Predicate<bep> arg2)
strollFlyOrSwim(float arg0, Function<PathfinderMob, Vec3> arg1, Predicate<PathfinderMob> arg2)
method_47017(float arg0, Function<class_1314, class_243> arg1, Predicate<class_1314> arg2)
create(float speed, Function<PathAwareEntity, Vec3d> targetGetter, Predicate<PathAwareEntity> shouldRun)
m_257629_(float p_260030_, Function<C_533_, C_3046_> p_259912_, Predicate<C_533_> p_259088_)
private static Vec3
a(bep arg0)
getTargetSwimPos(PathfinderMob arg0)
method_47020(class_1314 arg0)
findTargetPos(PathAwareEntity entity)
m_257416_(C_533_ p_259491_)
private static Vec3
a(bep arg0, int arg1, int arg2)
getTargetFlyPos(PathfinderMob arg0, int arg1, int arg2)
method_47021(class_1314 arg0, int arg1, int arg2)
findTargetPos(PathAwareEntity entity, int horizontalRadius, int verticalRadius)
m_257997_(C_533_ p_260316_, int p_259038_, int p_259696_)