A class that provides system-level events and functions.

Hierarchy

  • System

Constructors

  • Returns System

Properties

currentTick: number
events: SystemEvents

Contains a set of events that are applicable for the lifecycle of items in the Minecraft system.

Methods

  • Parameters

    • runId: number

    Returns void

  • Parameters

    • runScheduleId: number

    Returns void

  • Parameters

    • callback: (() => void)
        • (): void
        • Returns void

    • Optional tickDelay: number

    Returns number

  • Parameters

    • callback: (() => void)
        • (): void
        • Returns void

    • Optional tickInterval: number

    Returns number