Class TimedTaskRunner

java.lang.Object
net.minecraft.test.TimedTaskRunner

public class TimedTaskRunner extends Object
Mappings:
Namespace Name
official ng
intermediary net/minecraft/class_4693
named net/minecraft/test/TimedTaskRunner
  • Field Details

    • test

      final GameTestState test
      Mappings:
      Namespace Name Mixin selector
      official a Lng;a:Lnc;
      intermediary field_21457 Lnet/minecraft/class_4693;field_21457:Lnet/minecraft/class_4517;
      named test Lnet/minecraft/test/TimedTaskRunner;test:Lnet/minecraft/test/GameTestState;
    • tasks

      private final List<TimedTask> tasks
      Mappings:
      Namespace Name Mixin selector
      official b Lng;b:Ljava/util/List;
      intermediary field_21458 Lnet/minecraft/class_4693;field_21458:Ljava/util/List;
      named tasks Lnet/minecraft/test/TimedTaskRunner;tasks:Ljava/util/List;
    • tick

      private long tick
      Mappings:
      Namespace Name Mixin selector
      official c Lng;c:J
      intermediary field_21459 Lnet/minecraft/class_4693;field_21459:J
      named tick Lnet/minecraft/test/TimedTaskRunner;tick:J
  • Constructor Details

    • TimedTaskRunner

      TimedTaskRunner(GameTestState gameTest)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lng;<init>(Lnc;)V
      intermediary <init> Lnet/minecraft/class_4693;<init>(Lnet/minecraft/class_4517;)V
      named <init> Lnet/minecraft/test/TimedTaskRunner;<init>(Lnet/minecraft/test/GameTestState;)V
  • Method Details

    • createAndAdd

      public TimedTaskRunner createAndAdd(Runnable task)
      Mappings:
      Namespace Name Mixin selector
      official a Lng;a(Ljava/lang/Runnable;)Lng;
      intermediary method_36079 Lnet/minecraft/class_4693;method_36079(Ljava/lang/Runnable;)Lnet/minecraft/class_4693;
      named createAndAdd Lnet/minecraft/test/TimedTaskRunner;createAndAdd(Ljava/lang/Runnable;)Lnet/minecraft/test/TimedTaskRunner;
    • createAndAdd

      public TimedTaskRunner createAndAdd(long duration, Runnable task)
      Mappings:
      Namespace Name Mixin selector
      official a Lng;a(JLjava/lang/Runnable;)Lng;
      intermediary method_36078 Lnet/minecraft/class_4693;method_36078(JLjava/lang/Runnable;)Lnet/minecraft/class_4693;
      named createAndAdd Lnet/minecraft/test/TimedTaskRunner;createAndAdd(JLjava/lang/Runnable;)Lnet/minecraft/test/TimedTaskRunner;
    • expectMinDuration

      public TimedTaskRunner expectMinDuration(int minDuration)
      Mappings:
      Namespace Name Mixin selector
      official a Lng;a(I)Lng;
      intermediary method_36076 Lnet/minecraft/class_4693;method_36076(I)Lnet/minecraft/class_4693;
      named expectMinDuration Lnet/minecraft/test/TimedTaskRunner;expectMinDuration(I)Lnet/minecraft/test/TimedTaskRunner;
    • createAndAddReported

      public TimedTaskRunner createAndAddReported(Runnable task)
      Mappings:
      Namespace Name Mixin selector
      official b Lng;b(Ljava/lang/Runnable;)Lng;
      intermediary method_36085 Lnet/minecraft/class_4693;method_36085(Ljava/lang/Runnable;)Lnet/minecraft/class_4693;
      named createAndAddReported Lnet/minecraft/test/TimedTaskRunner;createAndAddReported(Ljava/lang/Runnable;)Lnet/minecraft/test/TimedTaskRunner;
    • expectMinDurationAndRun

      public TimedTaskRunner expectMinDurationAndRun(int minDuration, Runnable task)
      Mappings:
      Namespace Name Mixin selector
      official a Lng;a(ILjava/lang/Runnable;)Lng;
      intermediary method_36077 Lnet/minecraft/class_4693;method_36077(ILjava/lang/Runnable;)Lnet/minecraft/class_4693;
      named expectMinDurationAndRun Lnet/minecraft/test/TimedTaskRunner;expectMinDurationAndRun(ILjava/lang/Runnable;)Lnet/minecraft/test/TimedTaskRunner;
    • expectMinDurationOrRun

      public TimedTaskRunner expectMinDurationOrRun(int minDuration, Runnable task)
      Mappings:
      Namespace Name Mixin selector
      official b Lng;b(ILjava/lang/Runnable;)Lng;
      intermediary method_36084 Lnet/minecraft/class_4693;method_36084(ILjava/lang/Runnable;)Lnet/minecraft/class_4693;
      named expectMinDurationOrRun Lnet/minecraft/test/TimedTaskRunner;expectMinDurationOrRun(ILjava/lang/Runnable;)Lnet/minecraft/test/TimedTaskRunner;
    • completeIfSuccessful

      public void completeIfSuccessful()
      Mappings:
      Namespace Name Mixin selector
      official a Lng;a()V
      intermediary method_36075 Lnet/minecraft/class_4693;method_36075()V
      named completeIfSuccessful Lnet/minecraft/test/TimedTaskRunner;completeIfSuccessful()V
    • fail

      public void fail(Supplier<Exception> exceptionSupplier)
      Mappings:
      Namespace Name Mixin selector
      official a Lng;a(Ljava/util/function/Supplier;)V
      intermediary method_36080 Lnet/minecraft/class_4693;method_36080(Ljava/util/function/Supplier;)V
      named fail Lnet/minecraft/test/TimedTaskRunner;fail(Ljava/util/function/Supplier;)V
    • createAndAddTrigger

      public TimedTaskRunner.Trigger createAndAddTrigger()
      Mappings:
      Namespace Name Mixin selector
      official b Lng;b()Lng$a;
      intermediary method_36083 Lnet/minecraft/class_4693;method_36083()Lnet/minecraft/class_4693$class_6304;
      named createAndAddTrigger Lnet/minecraft/test/TimedTaskRunner;createAndAddTrigger()Lnet/minecraft/test/TimedTaskRunner$Trigger;
    • runSilently

      public void runSilently(long tick)
      Mappings:
      Namespace Name Mixin selector
      official a Lng;a(J)V
      intermediary method_23643 Lnet/minecraft/class_4693;method_23643(J)V
      named runSilently Lnet/minecraft/test/TimedTaskRunner;runSilently(J)V
    • runReported

      public void runReported(long tick)
      Mappings:
      Namespace Name Mixin selector
      official b Lng;b(J)V
      intermediary method_23644 Lnet/minecraft/class_4693;method_23644(J)V
      named runReported Lnet/minecraft/test/TimedTaskRunner;runReported(J)V
    • tryRun

      private void tryRun(Runnable task)
      Mappings:
      Namespace Name Mixin selector
      official c Lng;c(Ljava/lang/Runnable;)V
      intermediary method_36089 Lnet/minecraft/class_4693;method_36089(Ljava/lang/Runnable;)V
      named tryRun Lnet/minecraft/test/TimedTaskRunner;tryRun(Ljava/lang/Runnable;)V
    • runTasks

      private void runTasks(long tick)
      Mappings:
      Namespace Name Mixin selector
      official c Lng;c(J)V
      intermediary method_23645 Lnet/minecraft/class_4693;method_23645(J)V
      named runTasks Lnet/minecraft/test/TimedTaskRunner;runTasks(J)V