Package net.minecraft.test
Class TimedTaskRunner
java.lang.Object
net.minecraft.test.TimedTaskRunner
- Mappings:
Namespace Name named net/minecraft/test/TimedTaskRunner
intermediary net/minecraft/class_4693
official tb
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createAndAdd
(long duration, Runnable task) createAndAdd
(Runnable task) createAndAddReported
(Runnable task) expectMinDuration
(int minDuration) expectMinDurationAndRun
(int minDuration, Runnable task) expectMinDurationOrRun
(int minDuration, Runnable task) void
void
runReported
(long tick) void
runSilently
(long tick) private void
runTasks
(long tick) private void
-
Field Details
-
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
Ltb;a:Lsx;
-
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
Ltb;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
Ltb;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>
Ltb;<init>(Lsx;)V
-
-
Method Details
-
createAndAdd
- 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
Ltb;a(Ljava/lang/Runnable;)Ltb;
-
createAndAdd
- 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
Ltb;a(JLjava/lang/Runnable;)Ltb;
-
expectMinDuration
- 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
Ltb;a(I)Ltb;
-
createAndAddReported
- 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
Ltb;b(Ljava/lang/Runnable;)Ltb;
-
expectMinDurationAndRun
- 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
Ltb;a(ILjava/lang/Runnable;)Ltb;
-
expectMinDurationOrRun
- 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
Ltb;b(ILjava/lang/Runnable;)Ltb;
-
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
Ltb;a()V
-
fail
- 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
Ltb;a(Ljava/util/function/Supplier;)V
-
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
Ltb;b()Ltb$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
Ltb;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
Ltb;b(J)V
-
tryRun
- 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
Ltb;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
Ltb;c(J)V
-