Class RandomLookAroundTask

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

public class RandomLookAroundTask extends MultiTickTask<MobEntity>
Mappings:
Namespace Name
official bjb
intermediary net/minecraft/class_7687
named net/minecraft/entity/ai/brain/task/RandomLookAroundTask
  • Field Details

    • cooldown

      private final IntProvider cooldown
      Mappings:
      Namespace Name Mixin selector
      official c Lbjb;c:Lbcz;
      intermediary field_40119 Lnet/minecraft/class_7687;field_40119:Lnet/minecraft/class_6017;
      named cooldown Lnet/minecraft/entity/ai/brain/task/RandomLookAroundTask;cooldown:Lnet/minecraft/util/math/intprovider/IntProvider;
    • maxYaw

      private final float maxYaw
      Mappings:
      Namespace Name Mixin selector
      official d Lbjb;d:F
      intermediary field_40120 Lnet/minecraft/class_7687;field_40120:F
      named maxYaw Lnet/minecraft/entity/ai/brain/task/RandomLookAroundTask;maxYaw:F
    • minPitch

      private final float minPitch
      Mappings:
      Namespace Name Mixin selector
      official e Lbjb;e:F
      intermediary field_40121 Lnet/minecraft/class_7687;field_40121:F
      named minPitch Lnet/minecraft/entity/ai/brain/task/RandomLookAroundTask;minPitch:F
    • pitchRange

      private final float pitchRange
      Mappings:
      Namespace Name Mixin selector
      official f Lbjb;f:F
      intermediary field_40122 Lnet/minecraft/class_7687;field_40122:F
      named pitchRange Lnet/minecraft/entity/ai/brain/task/RandomLookAroundTask;pitchRange:F
  • Constructor Details

    • RandomLookAroundTask

      public RandomLookAroundTask(IntProvider cooldown, float maxYaw, float minPitch, float maxPitch)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbjb;<init>(Lbcz;FFF)V
      intermediary <init> Lnet/minecraft/class_7687;<init>(Lnet/minecraft/class_6017;FFF)V
      named <init> Lnet/minecraft/entity/ai/brain/task/RandomLookAroundTask;<init>(Lnet/minecraft/util/math/intprovider/IntProvider;FFF)V
  • Method Details

    • run

      protected void run(ServerWorld serverWorld, MobEntity mobEntity, long long2)
      Overrides:
      run in class MultiTickTask<MobEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbjb;a(Laid;Lbfv;J)V
      intermediary method_45334 Lnet/minecraft/class_7687;method_45334(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)V
      named run Lnet/minecraft/entity/ai/brain/task/RandomLookAroundTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)V