Class Template.BasicPalette
java.lang.Object
net.minecraft.world.gen.feature.template.Template.BasicPalette
- All Implemented Interfaces:
Iterable<BlockState>
- Enclosing class:
- Template
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BlockStateprivate final ObjectIntIdentityMap<BlockState>private int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMapping(BlockState p_189956_1_, int p_189956_2_) intidFor(BlockState p_189954_1_) iterator()stateFor(int p_189955_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
DEFAULT_BLOCK_STATE
-
ids
-
lastId
private int lastId
-
-
Constructor Details
-
BasicPalette
private BasicPalette()
-
-
Method Details
-
idFor
-
stateFor
-
iterator
- Specified by:
iteratorin interfaceIterable<BlockState>
-
addMapping
-