Skip to content

NoSequel/Schematic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Schematic API

An easy to use Schematic API for the Bukkit API.

Usage

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
    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

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>

About

Schematic API for spigot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages