net.minecraft.test

public class TimedTaskRunner

net.minecraft.gametest.framework.GameTestSequence
net.minecraft.class_4693
net.minecraft.test.TimedTaskRunner

Field summary

Modifier and TypeField
private final GameTestState
parent
field_21457
test
private final List<TimedTask>
events
field_21458
tasks
private int
lastTick
field_21459
tick

Constructor summary

ModifierConstructor
public (GameTestState gameTest)

Method summary

Modifier and TypeMethod
public TimedTaskRunner
thenWaitUntil(Runnable assertion)
method_36079(Runnable arg0)
createAndAdd(Runnable task)
public TimedTaskRunner
thenWaitUntil(long expectedDelay, Runnable assertion)
method_36078(long arg0, Runnable arg1)
createAndAddWithExactDuration(long duration, Runnable task)
public TimedTaskRunner
thenWaitAtLeast(long minimumDelay, Runnable assertion)
method_1_1187(long arg0, Runnable arg1)
createAndAddWithMinimumDuration(long duration, Runnable task)
public TimedTaskRunner
thenIdle(int delta)
method_36076(int arg0)
expectMinDuration(int minDuration)
public TimedTaskRunner
thenExecute(Runnable assertion)
method_36085(Runnable arg0)
createAndAddReported(Runnable task)
public TimedTaskRunner
thenExecuteAfter(int delta, Runnable after)
method_36077(int arg0, Runnable arg1)
expectMinDurationAndRun(int minDuration, Runnable task)
public TimedTaskRunner
thenExecuteFor(int delta, Runnable check)
method_36084(int arg0, Runnable arg1)
expectMinDurationOrRun(int minDuration, Runnable task)
public void
thenSucceed()
method_36075()
completeIfSuccessful()
public void
thenFail(Supplier<GameTestException> e)
method_36080(Supplier<class_10751> arg0)
fail(Supplier<TestException> exceptionSupplier)
public TimedTaskRunner$Trigger
thenTrigger()
method_36083()
createAndAddTrigger()
public void
tickAndContinue(int tick)
method_23643(int arg0)
runSilently(int tick)
public void
tickAndFailIfNotComplete(int tick)
method_23644(int arg0)
runReported(int tick)
private void
executeWithoutFail(Runnable assertion)
method_36089(Runnable arg0)
tryRun(Runnable task)
private void
tick(int tick)
method_23645(int arg0)
runTasks(int tick)
private void
lambda$thenTrigger$0(GameTestSequence$Condition arg0)
method_36081(class_4693$class_6304 arg0)
method_36081(TimedTaskRunner$Trigger arg0)
private void
lambda$thenFail$0(Supplier arg0)
method_36086(Supplier arg0)
method_36086(Supplier arg0)
private void
lambda$thenExecuteFor$0(int arg0, Runnable arg1)
method_36088(int arg0, Runnable arg1)
method_36088(int arg0, Runnable arg1)
private void
lambda$thenExecuteAfter$0(int arg0, Runnable arg1)
method_36090(int arg0, Runnable arg1)
method_36090(int arg0, Runnable arg1)
private void
lambda$thenExecute$0(Runnable arg0)
method_36091(Runnable arg0)
method_36091(Runnable arg0)
private static void
lambda$thenIdle$0()
method_36087()
method_36087()