Package net.minecraft.structure
Class Structure.Palette
java.lang.Object
net.minecraft.structure.Structure.Palette
- All Implemented Interfaces:
Iterable<BlockState>
- Enclosing class:
- Structure
static class Structure.Palette extends Object implements Iterable<BlockState>
-
Field Summary
Fields Modifier and Type Field Description static BlockStateAIRprivate intcurrentIndexprivate IdList<BlockState>ids -
Constructor Summary
Constructors Modifier Constructor Description privatePalette() -
Method Summary
Modifier and Type Method Description intgetId(BlockState state)BlockStategetState(int id)Iterator<BlockState>iterator()voidset(BlockState state, int id)