Class Schematic

java.lang.Object
me.c7dev.dexterity.displays.schematics.Schematic

public class Schematic extends Object
Reads and pastes an existing schematic file
  • Constructor Details

  • Method Details

    • getAuthor

      public String getAuthor()
    • getSchemaVersion

      public int getSchemaVersion()
    • decode

      public List<Token> decode(byte[] data)
    • decodeObjects

      public void decodeObjects(byte[] data)
    • reloadBlocks

      public void reloadBlocks(List<Token> data)
      Interprets the token sequence to translate back into DexBlock states
      Parameters:
      data -
    • getPlannedBoundingBox

      public org.bukkit.util.BoundingBox getPlannedBoundingBox()
      Get the planned bounding box for the overall planned display before pasting it
      Returns:
    • getPlannedBoundingBox

      public org.bukkit.util.BoundingBox getPlannedBoundingBox(int index)
      Get the planned bounding box of the nth planned sub-display
      Parameters:
      index -
      Returns:
    • paste

      public DexterityDisplay paste(org.bukkit.Location loc)
      Create a copy of the schematic centered at the specified location
      Parameters:
      loc -