Class SnifferBrain.FinishDiggingTask

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

private static class SnifferBrain.FinishDiggingTask extends MultiTickTask<SnifferEntity>
Mappings:
Namespace Name
official btw$c
intermediary net/minecraft/class_8155$class_8158
named net/minecraft/entity/passive/SnifferBrain$FinishDiggingTask
  • Constructor Details

    • FinishDiggingTask

      FinishDiggingTask(int runTime)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbtw$c;<init>(I)V
      intermediary <init> Lnet/minecraft/class_8155$class_8158;<init>(I)V
      named <init> Lnet/minecraft/entity/passive/SnifferBrain$FinishDiggingTask;<init>(I)V
  • Method Details

    • shouldRun

      protected boolean shouldRun(ServerWorld serverWorld, SnifferEntity snifferEntity)
      Overrides:
      shouldRun in class MultiTickTask<SnifferEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbtw$c;a(Laif;Lbtv;)Z
      intermediary method_49165 Lnet/minecraft/class_8155$class_8158;method_49165(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;)Z
      named shouldRun Lnet/minecraft/entity/passive/SnifferBrain$FinishDiggingTask;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 Lbtw$c;a(Laif;Lbtv;J)Z
      intermediary method_49166 Lnet/minecraft/class_8155$class_8158;method_49166(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)Z
      named shouldKeepRunning Lnet/minecraft/entity/passive/SnifferBrain$FinishDiggingTask;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 Lbtw$c;b(Laif;Lbtv;J)V
      intermediary method_49167 Lnet/minecraft/class_8155$class_8158;method_49167(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)V
      named run Lnet/minecraft/entity/passive/SnifferBrain$FinishDiggingTask;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 Lbtw$c;c(Laif;Lbtv;J)V
      intermediary method_49168 Lnet/minecraft/class_8155$class_8158;method_49168(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)V
      named finishRunning Lnet/minecraft/entity/passive/SnifferBrain$FinishDiggingTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)V