Readonly
Beta
currentRepresents the current world tick of the server.
Readonly
Beta
eventsContains a set of events that are applicable for the lifecycle of items in the Minecraft system.
Function callback to run when the tickDelay time criteria is met.
An opaque identifier that can be used with the clearRun
function to cancel the execution of this run.
Beta
Functional code that will run when this interval occurs.
Optional
tickInterval: numberAn interval of every N ticks that the callback will be called upon.
An opaque handle that can be used with the clearRun method to stop the run of this function on an interval.
Beta
Functional code that will run when this timeout occurs.
Optional
tickDelay: numberAmount of time, in ticks, before the interval will be called.
An opaque handle that can be used with the clearRun method to stop the run of this function on an interval.
A class that provides system-level events and functions.