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 bda
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> Lbda;<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 Lbcr;b(Lafo;Lbbf;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