A class that wraps the state of a world - a set of dimensions and the environment of Minecraft.

Hierarchy

  • World

Constructors

Methods

Constructors

  • Returns World

Methods

  • Returns Player[]

  • Parameters

    • dimensionId: string

    Returns Dimension

    The requested dimension

    Throws

    Throws if the given dimension name is invalid