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.
OptionalblockStates: Record<string, string | number | boolean>The block states of the block permutation to generate.
Optionaloptions: FillOptions1Optional extra options for the tunnel generation execution.
Optionalplaceholderid: stringThe namespaced id of the block type to use as a placeholder block during generation.
Optionalreplacemode: boolean = falseWhether or not to clear container blocks before replacing them.
Optionalintegrity: 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.