跳转至

GameTestSequence

文档版本:1.21.0.24

GameTestSequence类。script_api.minecraft/server-gametest.gametestsequence.description

方法

thenExecute

script_api.minecraft/server-gametest.gametestsequence.thenexecute.description

thenExecute(callback: () => void): GameTestSequence
thenExecuteAfter

script_api.minecraft/server-gametest.gametestsequence.thenexecuteafter.description

thenExecuteAfter(delayTicks: int32, callback: () => void): GameTestSequence
thenExecuteFor

script_api.minecraft/server-gametest.gametestsequence.thenexecutefor.description

thenExecuteFor(tickCount: int32, callback: () => void): GameTestSequence
thenFail

script_api.minecraft/server-gametest.gametestsequence.thenfail.description

thenFail(errorMessage: string): void
thenIdle

script_api.minecraft/server-gametest.gametestsequence.thenidle.description

thenIdle(delayTicks: int32): GameTestSequence
thenSucceed

script_api.minecraft/server-gametest.gametestsequence.thensucceed.description

thenSucceed(): void
thenWait

script_api.minecraft/server-gametest.gametestsequence.thenwait.description

thenWait(callback: () => void): GameTestSequence
thenWaitAfter

script_api.minecraft/server-gametest.gametestsequence.thenwaitafter.description

thenWaitAfter(delayTicks: int32, callback: () => void): GameTestSequence