Class SniffTask<E extends WardenEntity>

java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<E>
net.minecraft.entity.ai.brain.task.SniffTask<E>
All Implemented Interfaces:
Task<E>

public class SniffTask<E extends WardenEntity> extends MultiTickTask<E>
Mappings:
Namespace Name
official blp
intermediary net/minecraft/class_7251
named net/minecraft/entity/ai/brain/task/SniffTask
  • Field Details

    • HORIZONTAL_RADIUS

      private static final double HORIZONTAL_RADIUS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lblp;c:D
      intermediary field_38708 Lnet/minecraft/class_7251;field_38708:D
      named HORIZONTAL_RADIUS Lnet/minecraft/entity/ai/brain/task/SniffTask;HORIZONTAL_RADIUS:D
    • VERTICAL_RADIUS

      private static final double VERTICAL_RADIUS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lblp;d:D
      intermediary field_38848 Lnet/minecraft/class_7251;field_38848:D
      named VERTICAL_RADIUS Lnet/minecraft/entity/ai/brain/task/SniffTask;VERTICAL_RADIUS:D
  • Constructor Details

    • SniffTask

      public SniffTask(int runTime)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lblp;<init>(I)V
      intermediary <init> Lnet/minecraft/class_7251;<init>(I)V
      named <init> Lnet/minecraft/entity/ai/brain/task/SniffTask;<init>(I)V
  • Method Details

    • shouldKeepRunning

      protected boolean shouldKeepRunning(ServerWorld serverWorld, E e, long long2)
      Overrides:
      shouldKeepRunning in class MultiTickTask<E extends WardenEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lblp;a(Laif;Lbxs;J)Z
      intermediary method_42158 Lnet/minecraft/class_7251;method_42158(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)Z
      named shouldKeepRunning Lnet/minecraft/entity/ai/brain/task/SniffTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)Z
    • run

      protected void run(ServerWorld serverWorld, E e, long long2)
      Overrides:
      run in class MultiTickTask<E extends WardenEntity>
      Mappings:
      Namespace Name Mixin selector
      official b Lblp;b(Laif;Lbxs;J)V
      intermediary method_42160 Lnet/minecraft/class_7251;method_42160(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)V
      named run Lnet/minecraft/entity/ai/brain/task/SniffTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)V
    • finishRunning

      protected void finishRunning(ServerWorld serverWorld, E e, long long2)
      Overrides:
      finishRunning in class MultiTickTask<E extends WardenEntity>
      Mappings:
      Namespace Name Mixin selector
      official c Lblp;c(Laif;Lbxs;J)V
      intermediary method_42161 Lnet/minecraft/class_7251;method_42161(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)V
      named finishRunning Lnet/minecraft/entity/ai/brain/task/SniffTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)V