net.minecraft.world.entity.ai.behavior

public class StrollToPoi

extends Behavior<PathfinderMob>

axu
net.minecraft.world.entity.ai.behavior.StrollToPoi
net.minecraft.class_4219
net.minecraft.entity.ai.brain.task.GoToNearbyPositionTask
net.minecraft.src.C_640_
net.minecraft.world.entity.ai.behavior.BehaviorStrollPlace

Field summary

Modifier and TypeField
private final MemoryModuleType<GlobalPos>
a
memoryType
field_18862
memoryModuleType
f_24327_
private final int
c
closeEnoughDist
field_18863
completionRange
f_24328_
private final int
d
maxDistanceFromPoi
field_18864
maxDistance
f_24329_
private final float
e
speedModifier
field_25753
walkSpeed
f_24330_
private long
f
nextOkStartTime
field_18865
nextRunTime
f_24331_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
a(abr arg0, auc arg1)
checkExtraStartConditions(ServerLevel arg0, PathfinderMob arg1)
method_19607(class_3218 arg0, class_1314 arg1)
shouldRun(ServerWorld arg0, PathAwareEntity arg1)
m_6114_(C_12_ p_24346_, C_533_ arg1)
protected void
a(abr arg0, auc arg1, long arg2)
start(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_19608(class_3218 arg0, class_1314 arg1, long arg2)
run(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_6735_(C_12_ p_24349_, C_533_ p_24350_, long arg2)