Hi! I'm trying to load a .schematic so I can use this method on it. But I have no idea how I would do this. I tried googling and searching for methods to load a .schematic, but I didnt find anything.
Look into WorldEdit. https://github.com/sk89q/worldedit/tree/master/src/main/java/com/sk89q/worldedit/schematic