net.minecraft.world.entity.ai.behavior

public class StrollToPoiList

extends Behavior<Villager>

bfl
net.minecraft.world.entity.ai.behavior.StrollToPoiList
net.minecraft.class_4220
net.minecraft.entity.ai.brain.task.GoToSecondaryPositionTask
net.minecraft.src.C_641_
net.minecraft.world.entity.ai.behavior.BehaviorStrollPlaceList

Field summary

Modifier and TypeField
private final MemoryModuleType<List<GlobalPos>>
a
strollToMemoryType
field_18866
secondaryPositions
f_24354_
private final MemoryModuleType<GlobalPos>
d
mustBeCloseToMemoryType
field_18867
primaryPosition
f_24355_
private final float
e
speedModifier
field_18868
speed
f_24356_
private final int
f
closeEnoughDist
field_18869
completionRange
f_24357_
private final int
g
maxDistanceFromPoi
field_18870
primaryPositionActivationDistance
f_24358_
private long
h
nextOkStartTime
field_18871
nextRunTime
f_24359_
private GlobalPos
i
targetPos
field_18872
chosenPosition
f_24360_

Constructor summary

ModifierConstructor
public (MemoryModuleType<List<GlobalPos>> secondaryPositions, float speed, int completionRange, int primaryPositionActivationDistance, MemoryModuleType<GlobalPos> primaryPosition)

Method summary

Modifier and TypeMethod
protected boolean
a(afo arg0, bss arg1)
checkExtraStartConditions(ServerLevel arg0, Villager arg1)
method_19609(class_3218 arg0, class_1646 arg1)
shouldRun(ServerWorld arg0, VillagerEntity arg1)
m_6114_(C_12_ p_24376_, C_1118_ arg1)
protected void
a(afo arg0, bss arg1, long arg2)
start(ServerLevel arg0, Villager arg1, long arg2)
method_19610(class_3218 arg0, class_1646 arg1, long arg2)
run(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_6735_(C_12_ p_24379_, C_1118_ p_24380_, long arg2)