net.minecraft.entity.ai.brain.task

public class FindPointOfInterestTask

extends Task<PathAwareEntity>

ava
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.src.C_562_

Field summary

Modifier and TypeField
private static final int
c
BATCH_SIZE
field_30099
MAX_POSITIONS_PER_RUN
f_xfhloksa
f_147364_
private static final int
d
RATE
field_30100
POSITION_EXPIRE_INTERVAL
f_khiorduw
f_147365_
public static final int
a
SCAN_RANGE
field_30098
POI_SORTING_RADIUS
f_okuvailp
f_147363_
private final PointOfInterestType
e
poiType
field_19287
poiType
f_idjsvxor
f_22316_
private final MemoryModuleType<GlobalPos>
f
memoryToAcquire
field_20287
targetMemoryModuleType
f_ijvrcmub
f_22317_
private final boolean
g
onlyIfAdult
field_18854
onlyRunIfChild
f_lemxzwwx
f_22318_
private final Optional<Byte>
h
onPoiAcquisitionEvent
field_25812
entityStatus
f_gorrnmza
f_22319_
private long
i
nextScheduledStart
field_18332
positionExpireTimeLimit
f_fgxaqlfc
f_22320_
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<FindPointOfInterestTask$RetryMarker>
j
batchCache
field_19289
foundPositionsToExpiry
f_wrdurikh
f_22321_

Constructor summary

ModifierConstructor
public (PointOfInterestType poiType, MemoryModuleType<GlobalPos> moduleType, MemoryModuleType<GlobalPos> targetMemoryModuleType, boolean onlyRunIfChild, Optional<Byte> entityStatus)
public (PointOfInterestType poiType, MemoryModuleType<GlobalPos> moduleType, boolean onlyRunIfChild, Optional<Byte> entityStatus)

Method summary

Modifier and TypeMethod
private static com.google.common.collect.ImmutableMap<MemoryModuleType<?>, MemoryModuleState>
a(bbu<go> o, bbu<go> o)
constructEntryConditionMap(MemoryModuleType<GlobalPos> arg0, MemoryModuleType<GlobalPos> arg1)
method_29245(class_4140<class_4208> arg0, class_4140<class_4208> arg1)
create(MemoryModuleType<GlobalPos> firstModule, MemoryModuleType<GlobalPos> secondModule)
m_hnviicqg(C_vbbyoqyw<C_ovcqqyqp> arg0, C_vbbyoqyw<C_ovcqqyqp> arg1)
m_22361_(C_753_<C_4697_> p_22362_, C_753_<C_4697_> p_22363_)
protected boolean
a(abr o, aud arg1)
checkExtraStartConditions(ServerLevel arg0, PathfinderMob arg1)
method_20816(class_3218 arg0, class_1314 arg1)
shouldRun(ServerWorld arg0, PathAwareEntity arg1)
m_affurcbk(C_bdwnwhiu arg0, C_hqdayibh arg1)
m_6114_(C_12_ p_22348_, C_533_ arg1)
protected void
a(abr o, aud o, long arg2)
start(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_20817(class_3218 arg0, class_1314 arg1, long arg2)
run(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_xzttmfql(C_bdwnwhiu arg0, C_hqdayibh arg1, long arg2)
m_6735_(C_12_ p_22351_, C_533_ p_22352_, long arg2)