Class DefeatTargetTask

java.lang.Object
net.minecraft.entity.ai.brain.task.DefeatTargetTask

public class DefeatTargetTask extends Object
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/DefeatTargetTask
intermediary net/minecraft/class_4825
official bxw
  • Constructor Details

    • DefeatTargetTask

      public DefeatTargetTask()
  • Method Details

    • create

      public static Task<LivingEntity> create(int celebrationDuration, BiPredicate<LivingEntity,LivingEntity> predicate)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/entity/ai/brain/task/DefeatTargetTask;create(ILjava/util/function/BiPredicate;)Lnet/minecraft/entity/ai/brain/task/Task;
      intermediary method_47124 Lnet/minecraft/class_4825;method_47124(ILjava/util/function/BiPredicate;)Lnet/minecraft/class_7893;
      official a Lbxw;a(ILjava/util/function/BiPredicate;)Lbvk;