Class FindPointOfInterestTask
java.lang.Object
net.minecraft.entity.ai.brain.task.FindPointOfInterestTask
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/task/FindPointOfInterestTask
intermediary net/minecraft/class_4096
official bvc
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier 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_RADIUS
public static final int POI_SORTING_RADIUS- See Also:
- Mappings:
Namespace Name Mixin selector named POI_SORTING_RADIUS
Lnet/minecraft/entity/ai/brain/task/FindPointOfInterestTask;POI_SORTING_RADIUS:I
intermediary field_30098
Lnet/minecraft/class_4096;field_30098:I
official a
Lbvc;a:I
-
-
Constructor Details
-
FindPointOfInterestTask
public FindPointOfInterestTask()
-
-
Method Details
-
create
public static Task<PathAwareEntity> create(Predicate<RegistryEntry<PointOfInterestType>> poiPredicate, MemoryModuleType<GlobalPos> poiPosModule, boolean onlyRunIfChild, Optional<Byte> entityStatus) - Mappings:
Namespace Name Mixin selector 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;
intermediary method_46884
Lnet/minecraft/class_4096;method_46884(Ljava/util/function/Predicate;Lnet/minecraft/class_4140;ZLjava/util/Optional;)Lnet/minecraft/class_7893;
official a
Lbvc;a(Ljava/util/function/Predicate;Lccu;ZLjava/util/Optional;)Lbvk;
-
create
public static Task<PathAwareEntity> create(Predicate<RegistryEntry<PointOfInterestType>> poiPredicate, MemoryModuleType<GlobalPos> poiPosModule, MemoryModuleType<GlobalPos> potentialPoiPosModule, boolean onlyRunIfChild, Optional<Byte> entityStatus) - Mappings:
Namespace Name Mixin selector 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;
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;
official a
Lbvc;a(Ljava/util/function/Predicate;Lccu;Lccu;ZLjava/util/Optional;)Lbvk;
-
findPathToPoi
@Nullable public static @Nullable Path findPathToPoi(MobEntity entity, Set<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>, BlockPos>> pois) - Mappings:
Namespace Name Mixin selector named findPathToPoi
Lnet/minecraft/entity/ai/brain/task/FindPointOfInterestTask;findPathToPoi(Lnet/minecraft/entity/mob/MobEntity;Ljava/util/Set;)Lnet/minecraft/entity/ai/pathing/Path;
intermediary method_43965
Lnet/minecraft/class_4096;method_43965(Lnet/minecraft/class_1308;Ljava/util/Set;)Lnet/minecraft/class_11;
official a
Lbvc;a(Lbts;Ljava/util/Set;)Leok;
-