Class Template.BasicPalette
java.lang.Object
net.minecraft.world.gen.feature.template.Template.BasicPalette
- All Implemented Interfaces:
Iterable<BlockState>
- Enclosing class:
- Template
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BlockState
private final ObjectIntIdentityMap<BlockState>
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMapping
(BlockState p_189956_1_, int p_189956_2_) int
idFor
(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, wait
Methods 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:
iterator
in interfaceIterable<BlockState>
-
addMapping
-