Class SnifferBrain.DiggingTask

java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<SnifferEntity>
net.minecraft.entity.passive.SnifferBrain.DiggingTask
All Implemented Interfaces:
Task<SnifferEntity>
Enclosing class:
SnifferBrain

private static class SnifferBrain.DiggingTask extends MultiTickTask<SnifferEntity>
Mappings:
Namespace Name
official bty$a
intermediary net/minecraft/class_8155$class_8156
named net/minecraft/entity/passive/SnifferBrain$DiggingTask
  • Constructor Details

    • DiggingTask

      DiggingTask(int minRunTime, int maxRunTime)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbty$a;<init>(II)V
      intermediary <init> Lnet/minecraft/class_8155$class_8156;<init>(II)V
      named <init> Lnet/minecraft/entity/passive/SnifferBrain$DiggingTask;<init>(II)V
  • Method Details

    • shouldRun

      protected boolean shouldRun(ServerWorld serverWorld, SnifferEntity snifferEntity)
      Overrides:
      shouldRun in class MultiTickTask<SnifferEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbty$a;a(Laif;Lbtx;)Z
      intermediary method_49158 Lnet/minecraft/class_8155$class_8156;method_49158(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;)Z
      named shouldRun Lnet/minecraft/entity/passive/SnifferBrain$DiggingTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;)Z
    • shouldKeepRunning

      protected boolean shouldKeepRunning(ServerWorld serverWorld, SnifferEntity snifferEntity, long long2)
      Overrides:
      shouldKeepRunning in class MultiTickTask<SnifferEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbty$a;a(Laif;Lbtx;J)Z
      intermediary method_49159 Lnet/minecraft/class_8155$class_8156;method_49159(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)Z
      named shouldKeepRunning Lnet/minecraft/entity/passive/SnifferBrain$DiggingTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)Z
    • run

      protected void run(ServerWorld serverWorld, SnifferEntity snifferEntity, long long2)
      Overrides:
      run in class MultiTickTask<SnifferEntity>
      Mappings:
      Namespace Name Mixin selector
      official b Lbty$a;b(Laif;Lbtx;J)V
      intermediary method_49160 Lnet/minecraft/class_8155$class_8156;method_49160(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)V
      named run Lnet/minecraft/entity/passive/SnifferBrain$DiggingTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)V
    • finishRunning

      protected void finishRunning(ServerWorld serverWorld, SnifferEntity snifferEntity, long long2)
      Overrides:
      finishRunning in class MultiTickTask<SnifferEntity>
      Mappings:
      Namespace Name Mixin selector
      official c Lbty$a;c(Laif;Lbtx;J)V
      intermediary method_49161 Lnet/minecraft/class_8155$class_8156;method_49161(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)V
      named finishRunning Lnet/minecraft/entity/passive/SnifferBrain$DiggingTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)V