Class MeleeAttackTask
java.lang.Object
net.minecraft.entity.ai.brain.task.MeleeAttackTask
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/task/MeleeAttackTask
intermediary net/minecraft/class_4816
official bzf
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends MobEntity>
SingleTickTask<T> create
(int cooldown) static <T extends MobEntity>
SingleTickTask<T> private static boolean
-
Constructor Details
-
MeleeAttackTask
public MeleeAttackTask()
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/entity/ai/brain/task/MeleeAttackTask;create(I)Lnet/minecraft/entity/ai/brain/task/SingleTickTask;
intermediary method_46987
Lnet/minecraft/class_4816;method_46987(I)Lnet/minecraft/class_7894;
official a
Lbzf;a(I)Lbzj;
-
create
public static <T extends MobEntity> SingleTickTask<T> create(Predicate<T> targetPredicate, int cooldown) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/entity/ai/brain/task/MeleeAttackTask;create(Ljava/util/function/Predicate;I)Lnet/minecraft/entity/ai/brain/task/SingleTickTask;
intermediary method_64622
Lnet/minecraft/class_4816;method_64622(Ljava/util/function/Predicate;I)Lnet/minecraft/class_7894;
official a
Lbzf;a(Ljava/util/function/Predicate;I)Lbzj;
-
isHoldingUsableRangedWeapon
- Mappings:
Namespace Name Mixin selector named isHoldingUsableRangedWeapon
Lnet/minecraft/entity/ai/brain/task/MeleeAttackTask;isHoldingUsableRangedWeapon(Lnet/minecraft/entity/mob/MobEntity;)Z
intermediary method_25942
Lnet/minecraft/class_4816;method_25942(Lnet/minecraft/class_1308;)Z
official a
Lbzf;a(Lbwh;)Z
-