net.minecraft.world.entity.ai.behavior

public class StrollToPoiList

extends Behavior<Villager>

atz
net.minecraft.world.entity.ai.behavior.StrollToPoiList
net.minecraft.class_4220
net.minecraft.entity.ai.brain.task.GoToSecondaryPositionTask
net.minecraft.entity.ai.brain.task.WalkTowardsRandomSecondaryPosTask
net.minecraft.server.v1_16_R2.BehaviorStrollPlaceList

Field summary

Modifier and TypeField
private final MemoryModuleType<List<GlobalPos>>
b
strollToMemoryType
field_18866
secondaryPositions
field_220573_a
private final MemoryModuleType<GlobalPos>
c
mustBeCloseToMemoryType
field_18867
primaryPosition
field_220574_b
private final float
d
speedModifier
field_18868
speed
field_220575_c
private final int
e
closeEnoughDist
field_18869
completionRange
field_220576_d
private final int
f
maxDistanceFromPoi
field_18870
primaryPositionActivationDistance
field_220577_e
private long
g
nextOkStartTime
field_18871
nextRunTime
field_220578_f
private GlobalPos
h
targetPos
field_18872
chosenPosition
field_220579_g

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(aag arg0, bfg arg1)
checkExtraStartConditions(ServerLevel arg0, Villager arg1)
method_19609(class_3218 arg0, class_1646 arg1)
shouldRun(ServerWorld arg0, VillagerEntity arg1)
func_212832_a_(ServerWorld arg0, VillagerEntity arg1)
protected void
a(aag arg0, bfg 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)
func_212831_a_(ServerWorld arg0, VillagerEntity arg1, long arg2)