net.minecraft.world.entity.ai.behavior

public class ValidateNearbyPoi

extends Behavior<LivingEntity>

bbo
net.minecraft.world.entity.ai.behavior.ValidateNearbyPoi
net.minecraft.class_4128
net.minecraft.entity.ai.brain.task.ForgetCompletedPointOfInterestTask
net.minecraft.src.C_646_
net.minecraft.world.entity.ai.behavior.BehaviorPositionValidate

Field summary

Modifier and TypeField
private static final int
a
MAX_DISTANCE
field_30185
MAX_RANGE
f_148036_
private final MemoryModuleType<GlobalPos>
c
memoryType
field_18390
memoryModule
f_24515_
private final Predicate<PoiType>
d
poiPredicate
field_18391
condition
f_24516_

Constructor summary

ModifierConstructor
public (PoiType poiType, MemoryModuleType<GlobalPos> memoryModule)

Method summary

Modifier and TypeMethod
protected boolean
a(adi arg0, axh arg1)
checkExtraStartConditions(ServerLevel arg0, LivingEntity arg1)
method_18919(class_3218 arg0, class_1309 arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
m_6114_(C_12_ p_24522_, C_524_ arg1)
protected void
a(adi arg0, axh arg1, long arg2)
start(ServerLevel arg0, LivingEntity arg1, long arg2)
method_18920(class_3218 arg0, class_1309 arg1, long arg2)
run(ServerWorld arg0, LivingEntity arg1, long arg2)
m_6735_(C_12_ p_24525_, C_524_ p_24526_, long arg2)
private boolean
a(adi arg0, gh arg1, axh arg2)
bedIsOccupied(ServerLevel arg0, BlockPos arg1, LivingEntity arg2)
method_20500(class_3218 arg0, class_2338 arg1, class_1309 arg2)
isBedOccupiedByOthers(ServerWorld world, BlockPos pos, LivingEntity entity)
m_24530_(C_12_ p_24532_, C_4675_ p_24533_, C_524_ arg2)
private boolean
a(adi arg0, gh arg1)
poiDoesntExist(ServerLevel arg0, BlockPos arg1)
method_20499(class_3218 arg0, class_2338 arg1)
hasCompletedPointOfInterest(ServerWorld world, BlockPos pos)
m_24527_(C_12_ p_24529_, C_4675_ arg1)