Class LookAroundTask

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

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

    • cooldown

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

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

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

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

    • LookAroundTask

      public LookAroundTask(IntProvider cooldown, float maxYaw, float minPitch, float maxPitch)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/brain/task/LookAroundTask;<init>(Lnet/minecraft/util/math/intprovider/IntProvider;FFF)V
      intermediary <init> Lnet/minecraft/class_7687;<init>(Lnet/minecraft/class_6017;FFF)V
      official <init> Lbzp;<init>(Lbsn;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
      named run Lnet/minecraft/entity/ai/brain/task/LookAroundTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)V
      intermediary method_45334 Lnet/minecraft/class_7687;method_45334(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)V
      official a Lbzp;a(Lash;Lbwh;J)V