Class FindEntityTask
java.lang.Object
net.minecraft.entity.ai.brain.task.FindEntityTask
- Mappings:
Namespace Name official bim
intermediary net/minecraft/class_4106
named net/minecraft/entity/ai/brain/task/FindEntityTask
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends LivingEntity,
T extends LivingEntity>
Task<E>create
(EntityType<? extends T> type, int maxDistance, Predicate<E> entityPredicate, Predicate<T> targetPredicate, MemoryModuleType<T> targetModule, float speed, int completionRange) static <T extends LivingEntity>
Task<LivingEntity>create
(EntityType<? extends T> type, int maxDistance, MemoryModuleType<T> targetModule, float speed, int completionRange)
-
Constructor Details
-
FindEntityTask
public FindEntityTask()
-
-
Method Details
-
create
public static <T extends LivingEntity> Task<LivingEntity> create(EntityType<? extends T> type, int maxDistance, MemoryModuleType<T> targetModule, float speed, int completionRange) - Mappings:
Namespace Name Mixin selector official a
Lbim;a(Lbfl;ILboz;FI)Lbhq;
intermediary method_18941
Lnet/minecraft/class_4106;method_18941(Lnet/minecraft/class_1299;ILnet/minecraft/class_4140;FI)Lnet/minecraft/class_7893;
named create
Lnet/minecraft/entity/ai/brain/task/FindEntityTask;create(Lnet/minecraft/entity/EntityType;ILnet/minecraft/entity/ai/brain/MemoryModuleType;FI)Lnet/minecraft/entity/ai/brain/task/Task;
-
create
public static <E extends LivingEntity,T extends LivingEntity> Task<E> create(EntityType<? extends T> type, int maxDistance, Predicate<E> entityPredicate, Predicate<T> targetPredicate, MemoryModuleType<T> targetModule, float speed, int completionRange) - Mappings:
Namespace Name Mixin selector official a
Lbim;a(Lbfl;ILjava/util/function/Predicate;Ljava/util/function/Predicate;Lboz;FI)Lbhq;
intermediary method_46957
Lnet/minecraft/class_4106;method_46957(Lnet/minecraft/class_1299;ILjava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/class_4140;FI)Lnet/minecraft/class_7893;
named create
Lnet/minecraft/entity/ai/brain/task/FindEntityTask;create(Lnet/minecraft/entity/EntityType;ILjava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/entity/ai/brain/MemoryModuleType;FI)Lnet/minecraft/entity/ai/brain/task/Task;
-