• 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>;
          minMSBetweenYields?: number;
      }

      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.

      • OptionalminMSBetweenYields?: number
    • 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 Promise<
        {
            completionData: {
                containsUnloadedChunks?: boolean;
                done: boolean;
                endTick?: number;
                endTime?: number;
                startTick: number;
                startTime: number;
            };
            counter: number;
        },
    >

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

    Legacy function. Superceeded by fillBlocksHHSGB.