Class WaitTask

java.lang.Object
net.minecraft.entity.ai.brain.task.WaitTask
All Implemented Interfaces:
Task<LivingEntity>

public class WaitTask extends Object implements Task<LivingEntity>
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/WaitTask
intermediary net/minecraft/class_4101
official bvf
  • Field Details

    • minRunTime

      private final int minRunTime
      Mappings:
      Namespace Name Mixin selector
      named minRunTime Lnet/minecraft/entity/ai/brain/task/WaitTask;minRunTime:I
      intermediary field_40988 Lnet/minecraft/class_4101;field_40988:I
      official a Lbvf;a:I
    • maxRunTime

      private final int maxRunTime
      Mappings:
      Namespace Name Mixin selector
      named maxRunTime Lnet/minecraft/entity/ai/brain/task/WaitTask;maxRunTime:I
      intermediary field_40989 Lnet/minecraft/class_4101;field_40989:I
      official b Lbvf;b:I
    • status

      private MultiTickTask.Status status
      Mappings:
      Namespace Name Mixin selector
      named status Lnet/minecraft/entity/ai/brain/task/WaitTask;status:Lnet/minecraft/entity/ai/brain/task/MultiTickTask$Status;
      intermediary field_40990 Lnet/minecraft/class_4101;field_40990:Lnet/minecraft/class_4097$class_4098;
      official c Lbvf;c:Lbuv$a;
    • waitUntil

      private long waitUntil
      Mappings:
      Namespace Name Mixin selector
      named waitUntil Lnet/minecraft/entity/ai/brain/task/WaitTask;waitUntil:J
      intermediary field_40991 Lnet/minecraft/class_4101;field_40991:J
      official d Lbvf;d:J
  • Constructor Details

    • WaitTask

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

    • getStatus

      public MultiTickTask.Status getStatus()
      Specified by:
      getStatus in interface Task<LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      named getStatus Lnet/minecraft/entity/ai/brain/task/Task;getStatus()Lnet/minecraft/entity/ai/brain/task/MultiTickTask$Status;
      intermediary method_18921 Lnet/minecraft/class_7893;method_18921()Lnet/minecraft/class_4097$class_4098;
      official a Lbuw;a()Lbuv$a;
    • tryStarting

      public final boolean tryStarting(ServerWorld world, LivingEntity entity, long time)
      Specified by:
      tryStarting in interface Task<LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      named tryStarting Lnet/minecraft/entity/ai/brain/task/Task;tryStarting(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)Z
      intermediary method_18922 Lnet/minecraft/class_7893;method_18922(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)Z
      official e Lbuw;e(Laqm;Lbtc;J)Z
    • tick

      public final void tick(ServerWorld world, LivingEntity entity, long time)
      Specified by:
      tick in interface Task<LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/ai/brain/task/Task;tick(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V
      intermediary method_18923 Lnet/minecraft/class_7893;method_18923(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V
      official f Lbuw;f(Laqm;Lbtc;J)V
    • stop

      public final void stop(ServerWorld world, LivingEntity entity, long time)
      Specified by:
      stop in interface Task<LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      named stop Lnet/minecraft/entity/ai/brain/task/Task;stop(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V
      intermediary method_18925 Lnet/minecraft/class_7893;method_18925(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V
      official g Lbuw;g(Laqm;Lbtc;J)V
    • getName

      public String getName()
      Specified by:
      getName in interface Task<LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/entity/ai/brain/task/Task;getName()Ljava/lang/String;
      intermediary method_46910 Lnet/minecraft/class_7893;method_46910()Ljava/lang/String;
      official b Lbuw;b()Ljava/lang/String;