pasteDistributed
public static void pasteDistributed(List<SchematicManager.PasteBlock> pasteBlocks, Location location, Runnable onComplete, double percentageOfTickUsedForPasting)
Pastes a schematic using a distributed workload over multiple ticks. If another paste operation is already in progress, this operation will be queued and executed when the current operation completes.
Parameters
pasteBlocks
List of blocks to paste
location
The location to paste at
onComplete
Optional callback to run when paste is complete