Class TimedTaskRunner

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

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

    • test

      final GameTestState test
      Mappings:
      Namespace Name Mixin selector
      official a Lpv;a:Lpr;
      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 Lpv;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 Lpv;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> Lpv;<init>(Lpr;)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 Lpv;a(Ljava/lang/Runnable;)Lpv;
      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 Lpv;a(JLjava/lang/Runnable;)Lpv;
      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 Lpv;a(I)Lpv;
      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 Lpv;b(Ljava/lang/Runnable;)Lpv;
      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 Lpv;a(ILjava/lang/Runnable;)Lpv;
      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 Lpv;b(ILjava/lang/Runnable;)Lpv;
      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 Lpv;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 Lpv;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 Lpv;b()Lpv$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 Lpv;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 Lpv;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 Lpv;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 Lpv;c(J)V
      intermediary method_23645 Lnet/minecraft/class_4693;method_23645(J)V
      named runTasks Lnet/minecraft/test/TimedTaskRunner;runTasks(J)V