Interface StructureTemplate
- All Superinterfaces:
Keyed
A structure template read from a datapack
.nbt file
(data/<namespace>/structure/<path>.nbt).- Since:
- 0.1.0
-
Method Details
-
key
-
sizeX
int sizeX()Returns the size of the template along X, in blocks.- Returns:
- the size of the template along X, in blocks
- Since:
- 0.1.0
-
sizeY
int sizeY()Returns the size of the template along Y, in blocks.- Returns:
- the size of the template along Y, in blocks
- Since:
- 0.1.0
-
sizeZ
int sizeZ()Returns the size of the template along Z, in blocks.- Returns:
- the size of the template along Z, in blocks
- Since:
- 0.1.0
-
blockCount
int blockCount()- Returns:
- the number of stored blocks, structure voids excluded
-
jigsawCount
int jigsawCount()- Returns:
- the number of jigsaw blocks the template exposes
-