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 long
(package private) final GameTestInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
executeWithoutFail
(Runnable task) thenExecute
(Runnable task) thenExecuteAfter
(int tick, Runnable task) thenExecuteFor
(int tick, Runnable task) void
thenIdle
(int tick) void
thenWaitUntil
(long expectedDelay, Runnable task) thenWaitUntil
(Runnable task) private void
tick
(long tick) void
tickAndContinue
(long tick) void
tickAndFailIfNotComplete
(long ticks)
-
Field Details
-
parent
-
events
-
lastTick
private long lastTick
-
-
Constructor Details
-
GameTestSequence
-
-
Method Details
-
thenWaitUntil
-
thenWaitUntil
-
thenIdle
-
thenExecute
-
thenExecuteAfter
-
thenExecuteFor
-
thenSucceed
public void thenSucceed() -
thenFail
-
thenTrigger
-
tickAndContinue
public void tickAndContinue(long tick) -
tickAndFailIfNotComplete
public void tickAndFailIfNotComplete(long ticks) -
executeWithoutFail
-
tick
private void tick(long tick)
-