Class FindPointOfInterestTask
java.lang.Object
net.minecraft.entity.ai.brain.task.FindPointOfInterestTask
- Mappings:
- Namespace - Name - official - bhk- intermediary - net/minecraft/class_4096- named - net/minecraft/entity/ai/brain/task/FindPointOfInterestTask
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic Task<PathAwareEntity>create(Predicate<RegistryEntry<PointOfInterestType>> poiPredicate, MemoryModuleType<GlobalPos> poiPosModule, boolean onlyRunIfChild, Optional<Byte> entityStatus) static Task<PathAwareEntity>create(Predicate<RegistryEntry<PointOfInterestType>> poiPredicate, MemoryModuleType<GlobalPos> poiPosModule, MemoryModuleType<GlobalPos> potentialPoiPosModule, boolean onlyRunIfChild, Optional<Byte> entityStatus) findPathToPoi(MobEntity entity, Set<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>, BlockPos>> pois) 
- 
Field Details- 
POI_SORTING_RADIUSpublic static final int POI_SORTING_RADIUS- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbhk;a:I- intermediary - field_30098- Lnet/minecraft/class_4096;field_30098:I- named - POI_SORTING_RADIUS- Lnet/minecraft/entity/ai/brain/task/FindPointOfInterestTask;POI_SORTING_RADIUS:I
 
 
- 
- 
Constructor Details- 
FindPointOfInterestTaskpublic FindPointOfInterestTask()
 
- 
- 
Method Details- 
createpublic static Task<PathAwareEntity> create(Predicate<RegistryEntry<PointOfInterestType>> poiPredicate, MemoryModuleType<GlobalPos> poiPosModule, boolean onlyRunIfChild, Optional<Byte> entityStatus) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lbhk;a(Ljava/util/function/Predicate;Lbpb;ZLjava/util/Optional;)Lbhs;- intermediary - method_46884- Lnet/minecraft/class_4096;method_46884(Ljava/util/function/Predicate;Lnet/minecraft/class_4140;ZLjava/util/Optional;)Lnet/minecraft/class_7893;- named - create- Lnet/minecraft/entity/ai/brain/task/FindPointOfInterestTask;create(Ljava/util/function/Predicate;Lnet/minecraft/entity/ai/brain/MemoryModuleType;ZLjava/util/Optional;)Lnet/minecraft/entity/ai/brain/task/Task;
 
- 
createpublic static Task<PathAwareEntity> create(Predicate<RegistryEntry<PointOfInterestType>> poiPredicate, MemoryModuleType<GlobalPos> poiPosModule, MemoryModuleType<GlobalPos> potentialPoiPosModule, boolean onlyRunIfChild, Optional<Byte> entityStatus) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lbhk;a(Ljava/util/function/Predicate;Lbpb;Lbpb;ZLjava/util/Optional;)Lbhs;- intermediary - method_46883- Lnet/minecraft/class_4096;method_46883(Ljava/util/function/Predicate;Lnet/minecraft/class_4140;Lnet/minecraft/class_4140;ZLjava/util/Optional;)Lnet/minecraft/class_7893;- named - create- Lnet/minecraft/entity/ai/brain/task/FindPointOfInterestTask;create(Ljava/util/function/Predicate;Lnet/minecraft/entity/ai/brain/MemoryModuleType;Lnet/minecraft/entity/ai/brain/MemoryModuleType;ZLjava/util/Optional;)Lnet/minecraft/entity/ai/brain/task/Task;
 
- 
findPathToPoi@Nullable public static @Nullable Path findPathToPoi(MobEntity entity, Set<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>, BlockPos>> pois) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lbhk;a(Lbgb;Ljava/util/Set;)Ldxt;- intermediary - method_43965- Lnet/minecraft/class_4096;method_43965(Lnet/minecraft/class_1308;Ljava/util/Set;)Lnet/minecraft/class_11;- named - findPathToPoi- Lnet/minecraft/entity/ai/brain/task/FindPointOfInterestTask;findPathToPoi(Lnet/minecraft/entity/mob/MobEntity;Ljava/util/Set;)Lnet/minecraft/entity/ai/pathing/Path;
 
 
-