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 void
executeWithoutFail
(Runnable pTask) thenExecute
(Runnable pTask) thenExecuteAfter
(int pTick, Runnable pTask) thenExecuteFor
(int pTick, Runnable pTask) void
thenFail
(Supplier<GameTestException> pException) thenIdle
(int pTick) void
thenWaitUntil
(long pExpectedDelay, Runnable pTask) thenWaitUntil
(Runnable pTask) private void
tick
(int pTickCount) void
tickAndContinue
(int pTickCount) void
tickAndFailIfNotComplete
(int pTickCount)
-
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 pTickCount) -
tickAndFailIfNotComplete
public void tickAndFailIfNotComplete(int pTickCount) -
executeWithoutFail
-
tick
private void tick(int pTickCount)
-