net.minecraft.world.entity.ai.behavior

public class AcquirePoi

extends Behavior<PathfinderMob>

arp
net.minecraft.world.entity.ai.behavior.AcquirePoi
net.minecraft.class_4096
net.minecraft.entity.ai.brain.task.FindPointOfInterestTask
net.minecraft.entity.ai.brain.task.GatherPOITask
net.minecraft.server.v1_16_R3.BehaviorFindPosition

Field summary

Modifier and TypeField
private final PoiType
b
poiType
field_19287
poiType
field_220604_a
private final MemoryModuleType<GlobalPos>
c
memoryToAcquire
field_20287
targetMemoryModuleType
field_220605_b
private final boolean
d
onlyIfAdult
field_18854
onlyRunIfChild
field_220606_c
private final Optional<Byte>
e
onPoiAcquisitionEvent
field_25812
field_25812
field_242290_e
private long
f
nextScheduledStart
field_18332
positionExpireTimeLimit
field_220607_d
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<AcquirePoi$JitteredLinearRetry>
g
batchCache
field_19289
foundPositionsToExpiry
field_223013_e

Constructor summary

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

Method summary

Modifier and TypeMethod
private static com.google.common.collect.ImmutableMap<MemoryModuleType<?>, MemoryStatus>
a(ayd<gf> arg0, ayd<gf> arg1)
constructEntryConditionMap(MemoryModuleType<GlobalPos> arg0, MemoryModuleType<GlobalPos> arg1)
method_29245(class_4140<class_4208> arg0, class_4140<class_4208> arg1)
method_29245(MemoryModuleType<GlobalPos> arg0, MemoryModuleType<GlobalPos> arg1)
func_233841_a_(MemoryModuleType<GlobalPos> arg0, MemoryModuleType<GlobalPos> arg1)
protected boolean
a(aag arg0, aqu arg1)
checkExtraStartConditions(ServerLevel arg0, PathfinderMob arg1)
method_20816(class_3218 arg0, class_1314 arg1)
shouldRun(ServerWorld arg0, PathAwareEntity arg1)
func_212832_a_(ServerWorld arg0, CreatureEntity arg1)
protected void
a(aag arg0, aqu 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)
func_212831_a_(ServerWorld arg0, CreatureEntity arg1, long arg2)