Package net.minecraft.test
Class TimedTaskRunner
java.lang.Object
net.minecraft.test.TimedTaskRunner
- Mappings:
Namespace Name official ng
intermediary net/minecraft/class_4693
named net/minecraft/test/TimedTaskRunner
-
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 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
-