实验性实验性Callback function to execute.
Returns a GameTestSequence object where additional .thenXyz method steps can be added.
Runs the given callback as a step within a GameTest sequence. Exceptions thrown within the callback will end sequence execution.
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
实验性Number of ticks to wait before executing the callback.
Callback function to execute.
Returns a GameTestSequence object where additional .thenXyz method steps can be added.
After a delay, runs the given callback as a step within a GameTest sequence. Exceptions thrown within the callback will end sequence execution.
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
实验性Callback function to execute.
Returns a GameTestSequence object where additional .thenXyz method steps can be added.
Runs the given callback every tick for the given number of ticks.
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
实验性Error message summarizing the failure condition.
Causes the test to fail if this step in the GameTest sequence is reached.
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
实验性Number of ticks to delay for this step in the GameTest sequence.
Returns a GameTestSequence object where additional .thenXyz method steps can be added.
实验性Marks the GameTest a success if this step is reached in the GameTest sequence.
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
实验性Testing callback function to execute. Typically, this function will have .assertXyz functions within it.
Returns a GameTestSequence object where additional .thenXyz method steps can be added.
Executes the given callback every tick until it succeeds. Exceptions thrown within the callback will end sequence execution.
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
实验性Tick (after the previous step in the GameTest sequence) to run the callback at.
Testing callback function to execute. Typically, this function will have .assertXyz functions within it.
Returns a GameTestSequence object where additional .thenXyz method steps can be added.
After a delay from the previous step, executes the given callback every tick until it succeeds. Exceptions thrown within the callback will end sequence execution.
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
Executes a set of steps defined via chained .thenXyz methods, sequentially. This facilitates a 'script' of GameTest setup methods and assertions over time.