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 fill in.
The function to determine the BlockPermutation to generate.
Optionaloptions: {Optional extra options for the fill generation execution.
The block mask to match.
Optionalintegrity?: numberThe integrity of the fill generation.
OptionalliteMode?: LiteModeEnabledWhether to skip keeping track of how many blocks were actually changed.
OptionalminMSBetweenTickWaits?: numberThe shortest the generation can run for before pausing until the next tick.
Optionalreplacemode?: booleanWhether or not to clear container blocks before replacing them.
A promise that resolves with the details of the fill generation once the fill generation is complete.
THIS FUNCTION NEEDS LOTS OF TESTING AS IT WAS GREATLY SIMPLIFIED WHEN THE AI CHANGED IT TO GENERATE CYLINDERS INSTEAD OF SPHERES, AND REMOVED THE BLOCK MASK MATCHER, SO I HAD TO ADD IT BACK AGIAN, AND THEN IT GOT CHANGED AGAIN INTO A TUNNEL GENERATING FUNCTION, SO OTHER FUNCTIONS MIGHT HAVE GOT MESSED UP TOO!
Generates a tunnel in the specified area. Supports block masks.