net.minecraft.world.entity.ai.behavior

public class AcquirePoi

extends Behavior<PathfinderMob>

alz
net.minecraft.world.entity.ai.behavior.AcquirePoi
net.minecraft.class_4096
net.minecraft.entity.ai.brain.task.FindPointOfInterestTask
net.minecraft.entity.ai.brain.task.GatherPOITask
net.minecraft.server.v1_15_R1.BehaviorFindPosition

Field summary

Modifier and TypeField
private final PoiType
a
poiType
field_19287
poiType
field_220604_a
private final MemoryModuleType<GlobalPos>
b
memoryType
field_20287
targetMemoryModuleType
field_220605_b
private final boolean
c
onlyIfAdult
field_18854
onlyRunIfChild
field_220606_c
private long
d
lastUpdate
field_18332
positionExpireTimeLimit
field_220607_d
private final it.unimi.dsi.fastutil.longs.Long2LongMap
e
batchCache
field_19289
foundPositionsToExpiry
field_223013_e
private int
f
triedCount
field_19290
tries
field_223014_f

Constructor summary

ModifierConstructor
public (PoiType poiType, MemoryModuleType<GlobalPos> targetMemoryModule, boolean onlyRunIfChild)

Method summary

Modifier and TypeMethod
protected boolean
a(xd arg0, alg arg1)
checkExtraStartConditions(ServerLevel arg0, PathfinderMob arg1)
method_20816(class_3218 arg0, class_1314 arg1)
shouldRun(ServerWorld arg0, MobEntityWithAi arg1)
func_212832_a_(ServerWorld arg0, CreatureEntity arg1)
protected void
a(xd arg0, alg arg1, long arg2)
start(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_20817(class_3218 arg0, class_1314 arg1, long arg2)
run(ServerWorld arg0, MobEntityWithAi arg1, long arg2)
func_212831_a_(ServerWorld arg0, CreatureEntity arg1, long arg2)