net.minecraft.entity.ai.brain.task

public class ForgetCompletedPointOfInterestTask

net.minecraft.world.entity.ai.behavior.ValidateNearbyPoi
net.minecraft.class_4128
net.minecraft.entity.ai.brain.task.ForgetCompletedPointOfInterestTask

Field summary

Modifier and TypeField
private static final int
MAX_DISTANCE
field_30185
MAX_RANGE

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static Task<LivingEntity>
create(Predicate<Holder<PoiType>> poiType, MemoryModuleType<GlobalPos> memoryType)
method_47190(Predicate<class_6880<class_4158>> arg0, class_4140<class_4208> arg1)
create(Predicate<RegistryEntry<PointOfInterestType>> poiTypePredicate, MemoryModuleType<GlobalPos> poiPosModule)
private static boolean
bedIsOccupied(ServerLevel poiLevel, BlockPos poiPos, LivingEntity body)
method_20500(class_3218 arg0, class_2338 arg1, class_1309 arg2)
isBedOccupiedByOthers(ServerWorld world, BlockPos pos, LivingEntity entity)
private static boolean
bedIsOccupiedByVillager(ServerLevel poiLevel, BlockPos poiPos)
method_65946(class_3218 arg0, class_2338 arg1)
isSleepingVillagerAt(ServerWorld world, BlockPos pos)
private static com.mojang.datafixers.kinds.App
lambda$create$0(MemoryModuleType arg0, Predicate arg1, BehaviorBuilder$Instance arg2)
method_47189(class_4140 arg0, Predicate arg1, class_7898$class_7900 arg2)
method_47189(MemoryModuleType arg0, Predicate arg1, TaskTriggerer$TaskContext context)
private static TaskRunnable
lambda$create$1(BehaviorBuilder$Instance arg0, Predicate arg1, MemoryAccessor arg2)
method_47188(class_7898$class_7900 arg0, Predicate arg1, class_7906 arg2)
method_47188(TaskTriggerer$TaskContext arg0, Predicate arg1, MemoryQueryResult poiPos)
private static boolean
lambda$create$2(BehaviorBuilder$Instance arg0, MemoryAccessor arg1, Predicate arg2, ServerLevel arg3, LivingEntity arg4, long arg5)
method_47187(class_7898$class_7900 arg0, class_7906 arg1, Predicate arg2, class_3218 arg3, class_1309 arg4, long arg5)
method_47187(TaskTriggerer$TaskContext arg0, MemoryQueryResult arg1, Predicate arg2, ServerWorld world, LivingEntity entity, long time)