net.minecraft.world.entity.ai.behavior

public class AcquirePoi

extends Behavior<PathfinderMob>

azd
net.minecraft.world.entity.ai.behavior.AcquirePoi
net.minecraft.class_4096
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
MAX_POSITIONS_PER_RUN
f_147364_
private static final int
d
RATE
field_30100
POSITION_EXPIRE_INTERVAL
f_147365_
public static final int
a
SCAN_RANGE
field_30098
POI_SORTING_RADIUS
f_147363_
private final PoiType
e
poiType
field_19287
poiType
f_22316_
private final MemoryModuleType<GlobalPos>
f
memoryToAcquire
field_20287
targetMemoryModuleType
f_22317_
private final boolean
g
onlyIfAdult
field_18854
onlyRunIfChild
f_22318_
private final Optional<Byte>
h
onPoiAcquisitionEvent
field_25812
entityStatus
f_22319_
private long
i
nextScheduledStart
field_18332
positionExpireTimeLimit
f_22320_
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<AcquirePoi$JitteredLinearRetry>
j
batchCache
field_19289
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(bfy<gr> arg0, bfy<gr> arg1)
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_22361_(C_753_<C_4697_> p_22362_, C_753_<C_4697_> p_22363_)
protected boolean
a(adw arg0, ayh arg1)
checkExtraStartConditions(ServerLevel arg0, PathfinderMob arg1)
method_20816(class_3218 arg0, class_1314 arg1)
shouldRun(ServerWorld arg0, PathAwareEntity arg1)
m_6114_(C_12_ p_22348_, C_533_ arg1)
protected void
a(adw arg0, ayh arg1, 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_6735_(C_12_ p_22351_, C_533_ p_22352_, long arg2)