net.minecraft.world.entity.ai.behavior

public class StrollAroundPoi

extends Behavior<PathfinderMob>

axu
net.minecraft.world.entity.ai.behavior.StrollAroundPoi
net.minecraft.class_4116
net.minecraft.entity.ai.brain.task.GoToIfNearbyTask
net.minecraft.src.C_639_
net.minecraft.world.entity.ai.behavior.BehaviorStrollPosition

Field summary

Modifier and TypeField
private static final int
a
MIN_TIME_BETWEEN_STROLLS
field_30179
UPDATE_INTERVAL
f_147993_
private static final int
c
STROLL_MAX_XZ_DIST
field_30180
HORIZONTAL_RANGE
f_147994_
private static final int
d
STROLL_MAX_Y_DIST
field_30181
VERTICAL_RANGE
f_147995_
private final MemoryModuleType<GlobalPos>
e
memoryType
field_18372
target
f_24303_
private long
f
nextOkStartTime
field_18373
nextUpdateTime
f_24304_
private final int
g
maxDistanceFromPoi
field_18374
maxDistance
f_24305_
private final float
h
speedModifier
field_25752
walkSpeed
f_24306_

Constructor summary

ModifierConstructor
public (MemoryModuleType<GlobalPos> target, float walkSpeed, int maxDistance)

Method summary

Modifier and TypeMethod
protected boolean
a(abr arg0, aud arg1)
checkExtraStartConditions(ServerLevel arg0, PathfinderMob arg1)
method_18993(class_3218 arg0, class_1314 arg1)
shouldRun(ServerWorld arg0, PathAwareEntity arg1)
m_6114_(C_12_ p_24320_, C_533_ arg1)
protected void
a(abr arg0, aud arg1, long arg2)
start(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_18994(class_3218 arg0, class_1314 arg1, long arg2)
run(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_6735_(C_12_ p_24323_, C_533_ p_24324_, long arg2)