net.minecraft.world.entity.ai.behavior

public class ValidateNearbyPoi

extends Behavior<LivingEntity>

ast
net.minecraft.world.entity.ai.behavior.ValidateNearbyPoi
net.minecraft.class_4128
net.minecraft.entity.ai.brain.task.ForgetCompletedPointOfInterestTask
net.minecraft.entity.ai.brain.task.ExpirePOITask
net.minecraft.server.v1_16_R1.BehaviorPositionValidate

Field summary

Modifier and TypeField
private final MemoryModuleType<GlobalPos>
b
memoryType
field_18390
memoryModule
field_220591_a
private final Predicate<PoiType>
c
poiPredicate
field_18391
condition
field_220592_b

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
a(zd arg0, aoy arg1)
checkExtraStartConditions(ServerLevel arg0, LivingEntity arg1)
method_18919(class_3218 arg0, class_1309 arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
func_212832_a_(ServerWorld arg0, LivingEntity arg1)
protected void
a(zd arg0, aoy 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)
func_212831_a_(ServerWorld arg0, LivingEntity arg1, long arg2)
private boolean
a(zd arg0, fu arg1, aoy 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)
func_223019_a(ServerWorld arg0, BlockPos arg1, LivingEntity arg2)
private boolean
a(zd arg0, fu arg1)
poiDoesntExist(ServerLevel arg0, BlockPos arg1)
method_20499(class_3218 arg0, class_2338 arg1)
hasCompletedPointOfInterest(ServerWorld world, BlockPos pos)
func_223020_a(ServerWorld arg0, BlockPos arg1)