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

    A class that represents a particular dimension (e.g., The End) within a world.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    id: string

    Identifier of the dimension.

    This property can throw when used.

    Methods

    • Parameters

      • commandString: string

        Command to run. Note that command strings should not start with slash.

      Returns Promise<CommandResult>

      For commands that return data, returns a CommandResult with an indicator of command results.

      Runs a particular command asynchronously from the context of the broader dimension. Note that there is a maximum queue of 128 asynchronous commands that can be run in a given tick.

      This function can throw errors.