Script API - v1.26.0.24
    Preparing search index...

    Class MinimapManager

    Advertisement

    Manage minimap instances within the editor, providing functionality to create, destroy, and retrieve minimap displays.

    Index

    Constructors

    Methods

    • Parameters

      • viewType: BlockView
      • mapWidth: number
      • mapHeight: number

      Returns MinimapItem

      Create a new minimap instance with the specified view type and dimensions.

      This function can't be called in read-only mode.

      This function can throw errors.

      This function can't be called in early-execution mode.

    • Parameters

      • minimapId: string

      Returns void

      Remove an existing minimap instance from the manager using its unique identifier.

      This function can't be called in read-only mode.

      This function can throw errors.

      This function can't be called in early-execution mode.

    • Returns string[]

      Retrieve a list of all active minimap identifiers currently managed by the system.

      This function can't be called in read-only mode.

      This function can throw errors.

      This function can't be called in early-execution mode.

    • Parameters

      • minimapId: string

      Returns MinimapItem

      Retrieve a specific minimap instance using its unique identifier.

      This function can't be called in read-only mode.

      This function can throw errors.

      This function can't be called in early-execution mode.

    Advertisement