Class LookAtMobWithIntervalTask.Interval

java.lang.Object
net.minecraft.entity.ai.brain.task.LookAtMobWithIntervalTask.Interval
Enclosing class:
LookAtMobWithIntervalTask

public static final class LookAtMobWithIntervalTask.Interval extends Object
Mappings:
Namespace Name
official bjo$a
intermediary net/minecraft/class_7895$class_7896
named net/minecraft/entity/ai/brain/task/LookAtMobWithIntervalTask$Interval
  • Field Details

    • interval

      private final UniformIntProvider interval
      Mappings:
      Namespace Name Mixin selector
      official a Lbjo$a;a:Lbdj;
      intermediary field_40996 Lnet/minecraft/class_7895$class_7896;field_40996:Lnet/minecraft/class_6019;
      named interval Lnet/minecraft/entity/ai/brain/task/LookAtMobWithIntervalTask$Interval;interval:Lnet/minecraft/util/math/intprovider/UniformIntProvider;
    • remainingTicks

      private int remainingTicks
      Mappings:
      Namespace Name Mixin selector
      official b Lbjo$a;b:I
      intermediary field_40997 Lnet/minecraft/class_7895$class_7896;field_40997:I
      named remainingTicks Lnet/minecraft/entity/ai/brain/task/LookAtMobWithIntervalTask$Interval;remainingTicks:I
  • Constructor Details

    • Interval

      public Interval(UniformIntProvider interval)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbjo$a;<init>(Lbdj;)V
      intermediary <init> Lnet/minecraft/class_7895$class_7896;<init>(Lnet/minecraft/class_6019;)V
      named <init> Lnet/minecraft/entity/ai/brain/task/LookAtMobWithIntervalTask$Interval;<init>(Lnet/minecraft/util/math/intprovider/UniformIntProvider;)V
  • Method Details

    • shouldRun

      public boolean shouldRun(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjo$a;a(Lapo;)Z
      intermediary method_47076 Lnet/minecraft/class_7895$class_7896;method_47076(Lnet/minecraft/class_5819;)Z
      named shouldRun Lnet/minecraft/entity/ai/brain/task/LookAtMobWithIntervalTask$Interval;shouldRun(Lnet/minecraft/util/math/random/Random;)Z