Class FindPointOfInterestTask
java.lang.Object
net.minecraft.entity.ai.brain.task.FindPointOfInterestTask
- Mappings:
Namespace Name official bhi
intermediary net/minecraft/class_4096
named net/minecraft/entity/ai/brain/task/FindPointOfInterestTask
-
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 official a
Lbhi;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
-
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 official a
Lbhi;a(Ljava/util/function/Predicate;Lboz;ZLjava/util/Optional;)Lbhq;
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;
-
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 official a
Lbhi;a(Ljava/util/function/Predicate;Lboz;Lboz;ZLjava/util/Optional;)Lbhq;
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
Lbhi;a(Lbfz;Ljava/util/Set;)Ldwz;
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;
-