Class DigTask<E extends WardenEntity>

java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<E>
net.minecraft.entity.ai.brain.task.DigTask<E>
All Implemented Interfaces:
Task<E>

public class DigTask<E extends WardenEntity> extends MultiTickTask<E>
Mappings:
Namespace Name
official bop
intermediary net/minecraft/class_7249
named net/minecraft/entity/ai/brain/task/DigTask
  • Constructor Details

    • DigTask

      public DigTask(int duration)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbop;<init>(I)V
      intermediary <init> Lnet/minecraft/class_7249;<init>(I)V
      named <init> Lnet/minecraft/entity/ai/brain/task/DigTask;<init>(I)V
  • Method Details

    • shouldKeepRunning

      protected boolean shouldKeepRunning(ServerWorld serverWorld, E e, long long2)
      Overrides:
      shouldKeepRunning in class MultiTickTask<E extends WardenEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbop;a(Lakq;Lcay;J)Z
      intermediary method_42152 Lnet/minecraft/class_7249;method_42152(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)Z
      named shouldKeepRunning Lnet/minecraft/entity/ai/brain/task/DigTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)Z
    • shouldRun

      protected boolean shouldRun(ServerWorld serverWorld, E e)
      Overrides:
      shouldRun in class MultiTickTask<E extends WardenEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbop;a(Lakq;Lcay;)Z
      intermediary method_42151 Lnet/minecraft/class_7249;method_42151(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;)Z
      named shouldRun Lnet/minecraft/entity/ai/brain/task/DigTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;)Z
    • run

      protected void run(ServerWorld serverWorld, E e, long long2)
      Overrides:
      run in class MultiTickTask<E extends WardenEntity>
      Mappings:
      Namespace Name Mixin selector
      official b Lbop;b(Lakq;Lcay;J)V
      intermediary method_42153 Lnet/minecraft/class_7249;method_42153(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)V
      named run Lnet/minecraft/entity/ai/brain/task/DigTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)V
    • finishRunning

      protected void finishRunning(ServerWorld serverWorld, E e, long long2)
      Overrides:
      finishRunning in class MultiTickTask<E extends WardenEntity>
      Mappings:
      Namespace Name Mixin selector
      official c Lbop;c(Lakq;Lcay;J)V
      intermediary method_42154 Lnet/minecraft/class_7249;method_42154(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)V
      named finishRunning Lnet/minecraft/entity/ai/brain/task/DigTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)V