Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

worldedit api paste schematic

try (EditSession editSession = WorldEdit.getInstance().getEditSessionFactory().getEditSession(world, -1)) {
    Operation operation = new ClipboardHolder(clipboard)
            .createPaste(editSession)
            .to(BlockVector3.at(x, y, z))
            .ignoreAirBlocks(false)
            .build();
    Operations.complete(operation);
}
Source by madelinemiller.dev #
 
PREVIOUS NEXT
Tagged: #worldedit #api #paste #schematic
ADD COMMENT
Topic
Name
9+4 =