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