Class FindEntityTask
java.lang.Object
net.minecraft.entity.ai.brain.task.FindEntityTask
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/task/FindEntityTask
intermediary net/minecraft/class_4106
official byv
-
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 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;
intermediary method_18941
Lnet/minecraft/class_4106;method_18941(Lnet/minecraft/class_1299;ILnet/minecraft/class_4140;FI)Lnet/minecraft/class_7893;
official a
Lbyv;a(Lbvq;ILcfj;FI)Lbxz;
-
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 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;
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;
official a
Lbyv;a(Lbvq;ILjava/util/function/Predicate;Ljava/util/function/Predicate;Lcfj;FI)Lbxz;
-