@minecraft/server-gametest
¶
文档版本:1.21.60.21
@minecraft/server-gametest
模块的2.0.0-alpha
版本,UUID为6f4b6893-1bb6-42fd-b458-7fa3d0c89616
。该模块是script_api.minecraft/server-gametest.description
依赖
该模块依赖于以下模块:
@minecraft/common
|1.0.0
|77ec12b4-1b2b-4c98-8d34-d1cd63f849d5
@minecraft/server
|2.0.0-alpha
|b26a4d4c-afdf-4690-88f8-931846312678
函数¶
register
script_api.minecraft/server-gametest.register.description
static register(testClassName: string, testName: string, testFunction: (arg: Test) => void): RegistrationBuilder
testClassName
:string
- script_api.minecraft/server-gametest.register.testclassname.description
testName
:string
- script_api.minecraft/server-gametest.register.testname.description
testFunction
:(Test) => void
- script_api.minecraft/server-gametest.register.testfunction.description
- 返回值:
RegistrationBuilder
- script_api.minecraft/server-gametest.register.return
registerAsync
script_api.minecraft/server-gametest.registerasync.description
static registerAsync(testClassName: string, testName: string, testFunction: (arg: Test) => Promise<void>): RegistrationBuilder
testClassName
:string
- script_api.minecraft/server-gametest.registerasync.testclassname.description
testName
:string
- script_api.minecraft/server-gametest.registerasync.testname.description
testFunction
:(Test) => Promise
- script_api.minecraft/server-gametest.registerasync.testfunction.description
类¶
类 | 描述 |
---|---|
FenceConnectivity | |
GameTestDebug | |
GameTestSequence | |
NavigationResult | |
RegistrationBuilder | |
SculkSpreader | |
SimulatedPlayer | |
Tags | |
Test |
接口¶
接口 | 描述 |
---|---|
GameTestErrorContext | |
MoveToOptions |
枚举¶
枚举 | 描述 |
---|---|
GameTestErrorType | |
LookDuration |
错误¶
错误 | 描述 |
---|---|
GameTestError |