net.minecraft.world.entity.ai.behavior

public class ValidateNearbyPoi

extends Behavior<LivingEntity>

ant
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_15_R1.BehaviorPositionValidate

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
a(xd arg0, akw 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(xd arg0, akw 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(xd arg0, fk arg1, akw 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(xd arg0, fk 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)