An easy to use Schematic API for the Bukkit API.
This Schematic API uses a main SchematicController to handle all things. To use this API you must create a new SchematicController instance.
- SchematicController instantiating example:
final SchematicController controller = new SchematicController(new JsonSavingType(), ChunkedSchematic.class);
- SavingType implementations
- Default SavingType implementations
- JsonSavingType
- Implementing your own SavingType
- Default SavingType implementations
public class ExampleSavingType implements SavingType<File> {
public Schematic load(File file) {
Schematic schematic;
// schematic instantiating
return schematic;
}
public void save(Schematic schematic) {
// saving code
}
}
Binaries and dependency information for the available dependency managers.
- Maven:
<dependency>
<groupId>io.github.nosequel</groupId>
<artifactId>Schematic</artifactId>
<version>x.y.z</version>
</dependency>