HomeJavaModsSchematicAPI [1.8]
SchematicAPI [1.8]
SchematicAPI:

Features:

- Very simple to use
- You can configure how many blocks are changed per tick to avoid server lag
- Very easy developer API (perfect for minigames, example *link soon*)
- Possibility to add locations to a schematic
- All entities are supported
- Most (FastAsync)WorldEdit schematics are supported
- OpenSource



Commands:

/schematic pos1/pos2 | schematicapi.pos | Select a region
/schematic save <name> | schematicapi.save | Save a selected region into a schematic
/schematic paste <schematic> | schematic.paste | Paste schematic from plugin folder
/schematic list | schematicapi.list | List schematics in plugin folder
/schematic addlocation <key> | schematicapi.addlocation | Add location to schematic
/schematic removelocation <key>| schematicapi.removelocation | Remove location from schematic
/schematic showlocations | schematicapi.showlocations | Show added locations

Permissions: schematicapi.<command>


Developer Infos:

Spoiler: Paste a schematic
Code (Java):
    public void pasteSchematicExample (Player player ) {
        Location pasteLocation = player. getLocation ( ) ;
        File schematicFile = new File ( "map.schematic" ) ;
        try {
            Schematic schematic = new Schematic (schematicFile ) ;
            schematic. paste (pasteLocation, BLOCKS_PER_TICK, ( Long time ) -> {
                player. sendMessage ( "Schematic pasted in " + time + " ms" ) ;
            } ) ;
            List <Location > spawns = schematic. getConvertedLocation ( "spawns", pasteLocation ) ;
        } catch ( IOException ex ) {
            player. sendMessage ( "Error while pasting schematic" ) ;
        }
    }


Additional Infos:

When informing me about bugs, always attach a server log, otherwise I often can't help you.​

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

SchematicAPI [1.8] is a free Minecraft Java mod. Compatible with Minecraft 1.8. Downloaded 1,091 times (via Spigot). Download it and open it directly in the game.

Explore more