net.minecraft.world.entity.ai.behavior

public class ValidateNearbyPoi

extends Behavior<LivingEntity>

bfu
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>
d
memoryType
field_18390
memoryModule
f_24515_
private final Predicate<Holder<PoiType>>
e
poiPredicate
field_18391
poiTypePredicate
f_24516_

Constructor summary

ModifierConstructor
public (Predicate<Holder<PoiType>> poiTypePredicate, MemoryModuleType<GlobalPos> memoryModule)

Method summary

Modifier and TypeMethod
protected boolean
a(afo arg0, bbf 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(afo arg0, bbf 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(afo arg0, gt arg1, bbf 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(afo arg0, gt 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)