Base type for BlockVolumes.

Hierarchy (View Summary)

Constructors

Properties

isEmpty: boolean
origin?: Vector3

This property can't be edited in read-only mode.

volumeCount: number

Methods

  • Returns void

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

  • Returns number

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

  • Returns Vector3

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

    This function can throw errors.

  • Returns Vector3

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

    This function can throw errors.

  • Parameters

    Returns boolean

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

  • Parameters

    Returns void

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