net.minecraft.world.entity.ai.behavior

public class AcquirePoi

extends Behavior<PathfinderMob>

alw
net.minecraft.world.entity.ai.behavior.AcquirePoi
net.minecraft.class_4096
net.minecraft.unmapped.C_qbrxxpsd
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
f_idjsvxor
poiType
field_220604_a
private final MemoryModuleType<GlobalPos>
b
memoryType
field_20287
f_qfjnmisx
targetMemoryModuleType
field_220605_b
private final boolean
c
onlyIfAdult
field_18854
f_lemxzwwx
onlyRunIfChild
field_220606_c
private long
d
lastUpdate
field_18332
f_yyrhzbbo
positionExpireTimeLimit
field_220607_d
private final it.unimi.dsi.fastutil.longs.Long2LongMap
e
batchCache
field_19289
f_wrdurikh
foundPositionsToExpiry
field_223013_e
private int
f
triedCount
field_19290
f_ogqtoqcu
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, ald arg1)
checkExtraStartConditions(ServerLevel arg0, PathfinderMob arg1)
method_20816(class_3218 arg0, class_1314 arg1)
m_affurcbk(C_bdwnwhiu arg0, C_hqdayibh arg1)
shouldRun(ServerWorld arg0, MobEntityWithAi arg1)
func_212832_a_(ServerWorld arg0, CreatureEntity arg1)
protected void
a(xd arg0, ald arg1, long arg2)
start(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_20817(class_3218 arg0, class_1314 arg1, long arg2)
m_xzttmfql(C_bdwnwhiu arg0, C_hqdayibh arg1, long arg2)
run(ServerWorld arg0, MobEntityWithAi arg1, long arg2)
func_212831_a_(ServerWorld arg0, CreatureEntity arg1, long arg2)