net.minecraft.world.entity.ai.behavior

public class StrollToPoiList

extends Behavior<Villager>

alp
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_14_R1.BehaviorStrollPlaceList

Field summary

Modifier and TypeField
private final MemoryModuleType<List<GlobalPos>>
a
strollToMemoryType
field_18866
secondaryPositions
field_220573_a
private final MemoryModuleType<GlobalPos>
b
mustBeCloseToMemoryType
field_18867
primaryPosition
field_220574_b
private final float
c
speed
field_18868
speed
field_220575_c
private final int
d
closeEnoughDist
field_18869
completionRange
field_220576_d
private final int
e
maxDistanceFromPoi
field_18870
primaryPositionActivationDistance
field_220577_e
private long
f
nextOkStartTime
field_18871
nextRunTime
field_220578_f
private GlobalPos
g
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(vk arg0, avt 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(vk arg0, avt 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)