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
named net/minecraft/entity/ai/brain/task/LookAtMobWithIntervalTask$Interval
intermediary net/minecraft/class_7895$class_7896
official bxk$a
  • Field Details

    • interval

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

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

    • Interval

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

    • shouldRun

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