Class SnifferBrain.SniffingTask

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

private static class SnifferBrain.SniffingTask extends MultiTickTask<SnifferEntity>
Mappings:
Namespace Name
named net/minecraft/entity/passive/SnifferBrain$SniffingTask
intermediary net/minecraft/class_8155$class_8161
official chy$f
  • Constructor Details

    • SniffingTask

      SniffingTask(int minRunTime, int maxRunTime)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/passive/SnifferBrain$SniffingTask;<init>(II)V
      intermediary <init> Lnet/minecraft/class_8155$class_8161;<init>(II)V
      official <init> Lchy$f;<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$SniffingTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;)Z
      intermediary method_49176 Lnet/minecraft/class_8155$class_8161;method_49176(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;)Z
      official a Lchy$f;a(Larf;Lchx;)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$SniffingTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)Z
      intermediary method_49177 Lnet/minecraft/class_8155$class_8161;method_49177(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)Z
      official a Lchy$f;a(Larf;Lchx;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$SniffingTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)V
      intermediary method_49179 Lnet/minecraft/class_8155$class_8161;method_49179(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)V
      official b Lchy$f;b(Larf;Lchx;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$SniffingTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)V
      intermediary method_49180 Lnet/minecraft/class_8155$class_8161;method_49180(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)V
      official c Lchy$f;c(Larf;Lchx;J)V