Class StructureTemplate.SimplePalette
java.lang.Object
net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.SimplePalette
- All Implemented Interfaces:
- Iterable<BlockState>
- Enclosing class:
- StructureTemplate
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final BlockStateprivate final IdMapper<BlockState>private int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddMapping(BlockState p_74672_, int p_74673_) intidFor(BlockState p_74670_) iterator()stateFor(int p_74668_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Field Details- 
DEFAULT_BLOCK_STATE
- 
ids
- 
lastIdprivate int lastId
 
- 
- 
Constructor Details- 
SimplePaletteSimplePalette()
 
- 
- 
Method Details- 
idFor
- 
stateFor
- 
iterator- Specified by:
- iteratorin interface- Iterable<BlockState>
 
- 
addMapping
 
-