net.minecraft.entity.ai.brain.task

public class FindPointOfInterestTask

extends Task<MobEntityWithAi>

alw
net.minecraft.world.entity.ai.behavior.AcquirePoi
net.minecraft.class_4096
net.minecraft.entity.ai.brain.task.FindPointOfInterestTask
net.minecraft.unmapped.C_qbrxxpsd
net.minecraft.entity.ai.brain.task.GatherPOITask
net.minecraft.entity.ai.brain.task.GatherPOITask

Field summary

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

Constructor summary

ModifierConstructor
public (PointOfInterestType 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)
shouldRun(ServerWorld arg0, MobEntityWithAi arg1)
m_affurcbk(C_bdwnwhiu arg0, C_hqdayibh arg1)
func_212832_a_(ServerWorld arg0, CreatureEntity arg1)
shouldExecute(ServerWorld worldIn, CreatureEntity owner)
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)
run(ServerWorld arg0, MobEntityWithAi arg1, long arg2)
m_xzttmfql(C_bdwnwhiu arg0, C_hqdayibh arg1, long arg2)
func_212831_a_(ServerWorld arg0, CreatureEntity arg1, long arg2)
startExecuting(ServerWorld worldIn, CreatureEntity entityIn, long gameTimeIn)