Class SnifferBrain.ScentingTask

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

private static class SnifferBrain.ScentingTask extends MultiTickTask<SnifferEntity>
Mappings:
Namespace Name
named net/minecraft/entity/passive/SnifferBrain$ScentingTask
intermediary net/minecraft/class_8155$class_8159
official chk$d
  • Constructor Details

    • ScentingTask

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

    • shouldRun

      protected boolean shouldRun(ServerWorld serverWorld, SnifferEntity snifferEntity)
      Overrides:
      shouldRun in class MultiTickTask<SnifferEntity>
      Mappings:
      Namespace Name Mixin selector
      named shouldRun Lnet/minecraft/entity/passive/SnifferBrain$ScentingTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;)Z
      intermediary method_51162 Lnet/minecraft/class_8155$class_8159;method_51162(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;)Z
      official a Lchk$d;a(Laqm;Lchj;)Z
    • shouldKeepRunning

      protected boolean shouldKeepRunning(ServerWorld serverWorld, SnifferEntity snifferEntity, long long2)
      Overrides:
      shouldKeepRunning in class MultiTickTask<SnifferEntity>
      Mappings:
      Namespace Name Mixin selector
      named shouldKeepRunning Lnet/minecraft/entity/passive/SnifferBrain$ScentingTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)Z
      intermediary method_49169 Lnet/minecraft/class_8155$class_8159;method_49169(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)Z
      official a Lchk$d;a(Laqm;Lchj;J)Z
    • run

      protected void run(ServerWorld serverWorld, SnifferEntity snifferEntity, long long2)
      Overrides:
      run in class MultiTickTask<SnifferEntity>
      Mappings:
      Namespace Name Mixin selector
      named run Lnet/minecraft/entity/passive/SnifferBrain$ScentingTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)V
      intermediary method_49170 Lnet/minecraft/class_8155$class_8159;method_49170(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)V
      official b Lchk$d;b(Laqm;Lchj;J)V
    • finishRunning

      protected void finishRunning(ServerWorld serverWorld, SnifferEntity snifferEntity, long long2)
      Overrides:
      finishRunning in class MultiTickTask<SnifferEntity>
      Mappings:
      Namespace Name Mixin selector
      named finishRunning Lnet/minecraft/entity/passive/SnifferBrain$ScentingTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)V
      intermediary method_49171 Lnet/minecraft/class_8155$class_8159;method_49171(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)V
      official c Lchk$d;c(Laqm;Lchj;J)V