Hierarchy

  • Dimension

Methods

  • Returns true if in a dimension, returns false if not. You will only be able to use the Dimension methods if you are in a world.

    Returns boolean

  • Gets a block at the specified position. Will return null if no block was found. (If it's air, it will also return a Block)

    Parameters

    • x: number

      Integer for x coordinate

    • y: number

      Integer for y coordinate

    • z: number

      Integer for z coordinate

    Returns Block

  • Gets the dimension's name, for example, "Overworld"

    Returns string

Generated using TypeDoc