System
¶
文档版本:1.21.60.21
System
类。script_api.minecraft/server.system.description
属性¶
afterEvents
afterEvents
:SystemAfterEvents
- script_api.minecraft/server.system.afterevents.description
beforeEvents
beforeEvents
:SystemBeforeEvents
- script_api.minecraft/server.system.beforeevents.description
currentTick
currentTick
:uint32
- script_api.minecraft/server.system.currenttick.description
serverSystemInfo
serverSystemInfo
:SystemInfo
- script_api.minecraft/server.system.serversysteminfo.description
方法¶
clearJob
script_api.minecraft/server.system.clearjob.description
jobId
:uint32
∈[0
, +∞]- script_api.minecraft/server.system.clearjob.jobid.description
- 返回值:
void
- script_api.minecraft/server.system.clearjob.return
clearRun
script_api.minecraft/server.system.clearrun.description
runId
:uint32
∈[0
, +∞]- script_api.minecraft/server.system.clearrun.runid.description
- 返回值:
void
- script_api.minecraft/server.system.clearrun.return
run
script_api.minecraft/server.system.run.description
callback
:() => void
- script_api.minecraft/server.system.run.callback.description
- 返回值:
uint32
- script_api.minecraft/server.system.run.return
runInterval
script_api.minecraft/server.system.runinterval.description
callback
:() => void
- script_api.minecraft/server.system.runinterval.callback.description
tickInterval
?:uint32
=null
- script_api.minecraft/server.system.runinterval.tickinterval.description
- 返回值:
uint32
- script_api.minecraft/server.system.runinterval.return
runJob
script_api.minecraft/server.system.runjob.description
generator
:Generator<void, void, void>
- script_api.minecraft/server.system.runjob.generator.description
- 返回值:
uint32
- script_api.minecraft/server.system.runjob.return
runTimeout
script_api.minecraft/server.system.runtimeout.description
callback
:() => void
- script_api.minecraft/server.system.runtimeout.callback.description
tickDelay
?:uint32
=null
- script_api.minecraft/server.system.runtimeout.tickdelay.description
- 返回值:
uint32
- script_api.minecraft/server.system.runtimeout.return
waitTicks
script_api.minecraft/server.system.waitticks.description
ticks
:uint32
∈[1
, +∞]- script_api.minecraft/server.system.waitticks.ticks.description
- 返回值:
Promise<void>
- script_api.minecraft/server.system.waitticks.return