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

    Volume composed of an unordered container of unique block locations.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Parameters

      • locations: Vector3[]

        Array of block locations to be inserted into container.

      Returns void

      Insert block locations into container.

    • 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

      • locations: Vector3[]

        Array of block locations to be removed from container.

      Returns void

      Remove block locations from container.