Class TimedTaskRunner

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

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

    • test

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

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

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

    • TimedTaskRunner

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

    • createAndAdd

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

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

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

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

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

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

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

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

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

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

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

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

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