Class WaitTask

java.lang.Object
net.minecraft.entity.ai.brain.task.Task<LivingEntity>
net.minecraft.entity.ai.brain.task.WaitTask

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

    • WaitTask

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

    • shouldKeepRunning

      protected boolean shouldKeepRunning(ServerWorld world, LivingEntity entity, long time)
      Overrides:
      shouldKeepRunning in class Task<LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      official b Layt;b(Ladi;Laxh;J)Z
      intermediary method_18927 Lnet/minecraft/class_4097;method_18927(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)Z
      named shouldKeepRunning Lnet/minecraft/entity/ai/brain/task/Task;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)Z