Base type for BlockVolumes.

Hierarchy (View Summary)

Methods

  • Beta

    Returns BoundingBox

    Return a BoundingBox object which represents the validated min and max coordinates of the volume

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

    This function can throw errors.

  • Returns number

    Return the capacity (volume) of the BlockVolume (WDH)

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

  • Returns Vector3

    Get the largest corner position of the volume (guaranteed to be >= min)

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

    This function can throw errors.

  • Returns Vector3

    Get the smallest corner position of the volume (guaranteed to be <= max)

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

    This function can throw errors.

  • Returns Vector3

    Get a Vector3 object where each component represents the number of blocks along that axis

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

  • Parameters

    Returns boolean

    Check to see if a given world block location is inside a BlockVolume

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

  • Parameters

    • delta: Vector3

      Amount of blocks to move by

    Returns void

    Move a BlockVolume by a specified amount

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