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

    Class SelectionManager

    Advertisement

    The SelectionManager (accessible from the ExtensionContext) is responsible for the management of all @minecraft/server-editor.Selection objects, and provides the user the ability to create new @minecraft/server-editor.Selection objects for use within an extension.

    Index

    Constructors

    Properties

    Methods

    • Parameters

      • blockIdentifier: string

      Returns Promise<number>

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

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

    • Parameters

      • fromBlockIdentifier: string
      • toBlockIdentifier: string

      Returns Promise<number>

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

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

    Advertisement