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_4110
official bwp
  • Constructor Details

    • LookAroundTask

      public LookAroundTask(int minRunTime, int maxRunTime)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/brain/task/LookAroundTask;<init>(II)V
      intermediary <init> Lnet/minecraft/class_4110;<init>(II)V
      official <init> Lbwp;<init>(II)V
  • Method Details

    • shouldKeepRunning

      protected boolean shouldKeepRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2)
      Overrides:
      shouldKeepRunning in class MultiTickTask<MobEntity>
      Mappings:
      Namespace Name Mixin selector
      named shouldKeepRunning Lnet/minecraft/entity/ai/brain/task/LookAroundTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)Z
      intermediary method_18967 Lnet/minecraft/class_4110;method_18967(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)Z
      official a Lbwp;a(Larf;Lbts;J)Z
    • finishRunning

      protected void finishRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2)
      Overrides:
      finishRunning in class MultiTickTask<MobEntity>
      Mappings:
      Namespace Name Mixin selector
      named finishRunning Lnet/minecraft/entity/ai/brain/task/LookAroundTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)V
      intermediary method_18968 Lnet/minecraft/class_4110;method_18968(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)V
      official b Lbwp;b(Larf;Lbts;J)V
    • keepRunning

      protected void keepRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2)
      Overrides:
      keepRunning in class MultiTickTask<MobEntity>
      Mappings:
      Namespace Name Mixin selector
      named keepRunning Lnet/minecraft/entity/ai/brain/task/LookAroundTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)V
      intermediary method_18969 Lnet/minecraft/class_4110;method_18969(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)V
      official c Lbwp;c(Larf;Lbts;J)V