The location of the center of the sphere.
Radius of the sphere.
The dimension to generate the sphere in.
The block type of the block permutation to generate.
Optional
blockStates: Record<string, string | number | boolean>The block states of the block permutation to generate.
Optional
options: {Optional extra options for the sphere generation execution.
Optional
matchingBlock?: stringThe type of the block mask to match.
Optional
matchingBlockStates?: Record<string, string | number | boolean>The block states of the block mask to match.
Optional
placeholderid: stringThe namespaced id of the block type to use as a placeholder block during generation.
Whether or not to clear container blocks before replacing them.
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 fillBlocksHSG.
Generates a sphere.