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
named net/minecraft/entity/passive/SnifferBrain$FeelHappyTask
intermediary net/minecraft/class_8155$class_8157
official cko$b
  • Constructor Details

    • FeelHappyTask

      FeelHappyTask(int minRunTime, int maxRunTime)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/passive/SnifferBrain$FeelHappyTask;<init>(II)V
      intermediary <init> Lnet/minecraft/class_8155$class_8157;<init>(II)V
      official <init> Lcko$b;<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
      named shouldKeepRunning Lnet/minecraft/entity/passive/SnifferBrain$FeelHappyTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)Z
      intermediary method_49162 Lnet/minecraft/class_8155$class_8157;method_49162(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)Z
      official a Lcko$b;a(Lash;Lckn;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$FeelHappyTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)V
      intermediary method_49163 Lnet/minecraft/class_8155$class_8157;method_49163(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)V
      official b Lcko$b;b(Lash;Lckn;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$FeelHappyTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)V
      intermediary method_49164 Lnet/minecraft/class_8155$class_8157;method_49164(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)V
      official c Lcko$b;c(Lash;Lckn;J)V