• Generates a hollow sphere.

    Parameters

    • center: Vector3

      The location of the center of the hollow sphere.

    • radius: number

      Radius of the hollow sphere.

    • thickness: number

      Thickness of the hollow sphere.

    • dimension: Dimension

      The dimension to generate the hollow sphere in.

    • block: string

      The block type of the block permutation to generate.

    • OptionalblockStates: Record<string, string | number | boolean>

      The block states of the block permutation to generate.

    • Optionaloptions: {
          matchingBlock?: string;
          matchingBlockStates?: Record<string, string | number | boolean>;
      }

      Optional extra options for the sphere generation execution.

      • OptionalmatchingBlock?: string

        The type of the block mask to match.

      • OptionalmatchingBlockStates?: Record<string, string | number | boolean>

        The block states of the block mask to match.

    • Optionalplaceholderid: string

      The namespaced id of the block type to use as a placeholder block during generation.

    • replacemode: boolean = false

      Whether or not to clear container blocks before replacing them.

    • integrity: number = 100

      The integrity of the hollow sphere generation.

    Returns number

    A promise that resolves with the details of the hollow sphere generation once the hollow sphere generation is complete.

    Legacy function that may cause script hang errors. Superceeded by fillBlocksHHSG.