The location of the center of the tunnel.
The radius of the tunnel.
The length of the tunnel.
The axis of the tunnel.
The dimension to generate the tunnel 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: FillOptions1Optional extra options for the tunnel generation execution.
Optional
placeholderid: stringThe namespaced id of the block type to use as a placeholder block during generation.
Optional
replacemode: boolean = falseWhether or not to clear container blocks before replacing them.
Optional
integrity: number = 100The integrity of the tunnel generation.
A promise that resolves with the details of the tunnel generation once the tunnel generation is complete.
Legacy function that may cause script hang errors. Superceeded by fillTunnel.
Generates a tunnel.