public interface Palette
Represent a variation of a structure. Most structures, like the ones generated with structure blocks, only have a single variant.
getBlocksGets a copy of the blocks this Palette is made of. The
positionsof the returned block states are offsets relative to the structure's position that is provided once the structure is placed into the world.
- The blocks in this palette
getBlockCountint getBlockCount()Gets the number of blocks stored in this palette.
- The number of blocks in this palette