Class GameTestSequence
java.lang.Object
net.minecraft.gametest.framework.GameTestSequence
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<GameTestEvent> private intprivate final GameTestInfo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidexecuteWithoutFail(Runnable assertion) thenExecute(Runnable assertion) thenExecuteAfter(int delta, Runnable after) thenExecuteFor(int delta, Runnable check) voidthenIdle(int delta) voidthenWaitAtLeast(long minimumDelay, Runnable assertion) thenWaitUntil(long expectedDelay, Runnable assertion) thenWaitUntil(Runnable assertion) private voidtick(int tick) voidtickAndContinue(int tick) voidtickAndFailIfNotComplete(int tick)
-
Field Details
-
parent
-
events
-
lastTick
private int lastTick
-
-
Constructor Details
-
GameTestSequence
-
-
Method Details
-
thenWaitUntil
-
thenWaitUntil
-
thenWaitAtLeast
-
thenIdle
-
thenExecute
-
thenExecuteAfter
-
thenExecuteFor
-
thenSucceed
public void thenSucceed() -
thenFail
-
thenTrigger
-
tickAndContinue
public void tickAndContinue(int tick) -
tickAndFailIfNotComplete
public void tickAndFailIfNotComplete(int tick) -
executeWithoutFail
-
tick
private void tick(int tick)
-