@minecraft/server
    Preparing search index...

    Class BlockVolumeBaseBeta

    Base type for BlockVolumes.

    Hierarchy (View Summary)

    Index

    Methods

    • Beta

      Returns BoundingBox

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

      This function can throw errors.

    • Beta

      Returns number

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

    • Beta

      Returns Vector3

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

      This function can throw errors.

    • Beta

      Returns Vector3

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

      This function can throw errors.

    • Beta

      Returns Vector3

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

    • Beta

      Parameters

      Returns boolean

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

    • Beta

      Parameters

      • delta: Vector3

        Amount of blocks to move by

      Returns void

      Move a BlockVolume by a specified amount