SchematicManager

public class SchematicManager

Types

Link copied to clipboard
public final class PasteBlock extends Record

Functions

Link copied to clipboard
public static Clipboard load(File schematicFile)
Loads a schematic from a file
Link copied to clipboard
public static void paste(Clipboard clipboard, Location location)
Pastes a schematic synchronously
Link copied to clipboard
public static void pasteDistributed(List<SchematicManager.PasteBlock> pasteBlocks, Location location, Runnable onComplete, double percentageOfTickUsedForPasting)
Pastes a schematic using a distributed workload over multiple ticks.
Link copied to clipboard
public static void pasteDistributedWithPedestal(Clipboard schematicClipboard, Location location, Vector schematicOffset, Function<Boolean, Material> pedestalMaterialProvider, Runnable onComplete, double percentageOfTickUsedForPasting, boolean pasteAir)
Pastes a schematic using the provided pedestal material provider
Link copied to clipboard
public static void pasteFileDistributedWithPedestal(File schematicFile, Location location, Vector schematicOffset, Function<Boolean, Material> pedestalMaterialProvider, Runnable onComplete, double percentageOfTickUsedForPasting, boolean randomizeRotation, boolean pasteAir)