net.minecraft.world.entity.ai.behavior

public class AcquirePoi

extends Behavior<PathfinderMob>

auz
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.src.C_562_
net.minecraft.world.entity.ai.behavior.BehaviorFindPosition

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private static com.google.common.collect.ImmutableMap<MemoryModuleType<?>, MemoryStatus>
a(bbt<go> arg0, bbt<go> arg1)
constructEntryConditionMap(MemoryModuleType<GlobalPos> arg0, MemoryModuleType<GlobalPos> arg1)
method_29245(class_4140<class_4208> arg0, class_4140<class_4208> arg1)
m_hnviicqg(C_vbbyoqyw<C_ovcqqyqp> arg0, C_vbbyoqyw<C_ovcqqyqp> arg1)
create(MemoryModuleType<GlobalPos> firstModule, MemoryModuleType<GlobalPos> secondModule)
m_22361_(C_753_<C_4697_> p_22362_, C_753_<C_4697_> p_22363_)
protected boolean
a(abr arg0, auc 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, PathAwareEntity arg1)
m_6114_(C_12_ p_22348_, C_533_ arg1)
protected void
a(abr arg0, auc 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, PathAwareEntity arg1, long arg2)
m_6735_(C_12_ p_22351_, C_533_ p_22352_, long arg2)