Class HuntHoglinTask<E extends PiglinEntity>

java.lang.Object
net.minecraft.entity.ai.brain.task.Task<E>
net.minecraft.entity.ai.brain.task.HuntHoglinTask<E>

public class HuntHoglinTask<E extends PiglinEntity> extends Task<E>
Mappings:
Namespace Name
official bjg
intermediary net/minecraft/class_4826
named net/minecraft/entity/ai/brain/task/HuntHoglinTask
  • Constructor Details

    • HuntHoglinTask

      public HuntHoglinTask()
  • Method Details

    • shouldRun

      protected boolean shouldRun(ServerWorld serverWorld, PiglinEntity piglinEntity)
      Overrides:
      shouldRun in class Task<E extends PiglinEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Labr;Lbiz;)Z
      intermediary method_24617 Lnet/minecraft/class_4826;method_24617(Lnet/minecraft/class_3218;Lnet/minecraft/class_4836;)Z
      named shouldRun Lnet/minecraft/entity/ai/brain/task/HuntHoglinTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PiglinEntity;)Z
    • run

      protected void run(ServerWorld serverWorld, E e, long long2)
      Overrides:
      run in class Task<E extends PiglinEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Labr;Lbiz;J)V
      intermediary method_24618 Lnet/minecraft/class_4826;method_24618(Lnet/minecraft/class_3218;Lnet/minecraft/class_4836;J)V
      named run Lnet/minecraft/entity/ai/brain/task/HuntHoglinTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PiglinEntity;J)V