java.lang.Object
com.github.imdabigboss.easydatapack.api.utils.schematics.Schematic

public class Schematic extends Object
This class represents a schematic.
  • Constructor Details

    • Schematic

      public Schematic(@NonNull org.bukkit.block.data.BlockData[] blocks, int width, int height, int depth, int baseWidth, int baseDepth, int[] baseOffset)
  • Method Details

    • getBlocks

      public @NonNull org.bukkit.block.data.BlockData[] getBlocks()
    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()
    • getDepth

      public int getDepth()
    • getBaseWidth

      public int getBaseWidth()
    • getBaseDepth

      public int getBaseDepth()
    • getBaseOffset

      public int[] getBaseOffset()
    • pasteSchematic

      public void pasteSchematic(@NonNull org.bukkit.Location location) throws SchematicException
      Pastes the schematic at the specified location.
      Parameters:
      location - the location to paste the schematic at
      Throws:
      SchematicException
    • pasteSchematic

      public void pasteSchematic(@NonNull org.bukkit.generator.LimitedRegion limitedRegion, int placeX, int placeY, int placeZ) throws SchematicException
      Pastes the schematic at the specified location.
      Parameters:
      limitedRegion - the limited region to paste the schematic at
      Throws:
      SchematicException