Class SnifferBrain.FeelHappyTask

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

private static class SnifferBrain.FeelHappyTask extends MultiTickTask<SnifferEntity>
Mappings:
Namespace Name
official cal$b
intermediary net/minecraft/class_8155$class_8157
named net/minecraft/entity/passive/SnifferBrain$FeelHappyTask
  • Constructor Details

    • FeelHappyTask

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

    • shouldKeepRunning

      protected boolean shouldKeepRunning(ServerWorld serverWorld, SnifferEntity snifferEntity, long long2)
      Overrides:
      shouldKeepRunning in class MultiTickTask<SnifferEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lcal$b;a(Land;Lcak;J)Z
      intermediary method_49162 Lnet/minecraft/class_8155$class_8157;method_49162(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)Z
      named shouldKeepRunning Lnet/minecraft/entity/passive/SnifferBrain$FeelHappyTask;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 Lcal$b;b(Land;Lcak;J)V
      intermediary method_49163 Lnet/minecraft/class_8155$class_8157;method_49163(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)V
      named run Lnet/minecraft/entity/passive/SnifferBrain$FeelHappyTask;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 Lcal$b;c(Land;Lcak;J)V
      intermediary method_49164 Lnet/minecraft/class_8155$class_8157;method_49164(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)V
      named finishRunning Lnet/minecraft/entity/passive/SnifferBrain$FeelHappyTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)V