Class FindEntityTask
java.lang.Object
net.minecraft.entity.ai.brain.task.FindEntityTask
- Mappings:
Namespace Name official bio
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
Lbio;a(Lbfn;ILbpb;FI)Lbhs;
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
Lbio;a(Lbfn;ILjava/util/function/Predicate;Ljava/util/function/Predicate;Lbpb;FI)Lbhs;
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;
-