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
minMSBetweenYields?: numberThe shortest the generation can run for before pausing until the next tick.
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.
The integrity of the sphere generation.
A promise that resolves with the details of the sphere generation once the sphere generation is complete.
Legacy function. Superceeded by fillBlocksHSGB.
Generates a sphere.