Package net.minecraft.gametest.framework
Class GameTestSequence
java.lang.Object
net.minecraft.gametest.framework.GameTestSequence
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<GameTestEvent> private int(package private) final GameTestInfo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidexecuteWithoutFail(Runnable task) thenExecute(Runnable task) thenExecuteAfter(int tick, Runnable task) thenExecuteFor(int tick, Runnable task) voidthenFail(Supplier<GameTestException> exception) thenIdle(int tick) voidthenWaitUntil(long expectedDelay, Runnable task) thenWaitUntil(Runnable task) private voidtick(int tickCount) voidtickAndContinue(int tickCount) voidtickAndFailIfNotComplete(int tickCount)
-
Field Details
-
parent
-
events
-
lastTick
private int lastTick
-
-
Constructor Details
-
GameTestSequence
-
-
Method Details
-
thenWaitUntil
-
thenWaitUntil
-
thenIdle
-
thenExecute
-
thenExecuteAfter
-
thenExecuteFor
-
thenSucceed
public void thenSucceed() -
thenFail
-
thenTrigger
-
tickAndContinue
public void tickAndContinue(int tickCount) -
tickAndFailIfNotComplete
public void tickAndFailIfNotComplete(int tickCount) -
executeWithoutFail
-
tick
private void tick(int tickCount)
-