Interface StructureTemplate

All Superinterfaces:
Keyed

public interface StructureTemplate extends Keyed
A structure template read from a datapack .nbt file (data/<namespace>/structure/<path>.nbt).
Since:
0.1.0
  • Method Details

    • key

      Key key()
      Specified by:
      key in interface Keyed
      Returns:
      the template identifier, e.g. terralith:spire/layer1
    • sizeX

      int sizeX()
    • sizeY

      int sizeY()
    • sizeZ

      int sizeZ()
    • blockCount

      int blockCount()
      Returns:
      the number of stored blocks, structure voids excluded
    • jigsawCount

      int jigsawCount()
      Returns:
      the number of jigsaw blocks the template exposes