static class Template.BasicPalette extends java.lang.Object implements java.lang.Iterable<BlockState>
| Modifier and Type | Field and Description | 
|---|---|
static BlockState | 
DEFAULT_BLOCK_STATE  | 
private ObjectIntIdentityMap<BlockState> | 
ids  | 
private int | 
lastId  | 
| Modifier | Constructor and Description | 
|---|---|
private  | 
BasicPalette()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addMapping(BlockState p_189956_1_,
          int p_189956_2_)  | 
int | 
idFor(BlockState state)  | 
java.util.Iterator<BlockState> | 
iterator()  | 
BlockState | 
stateFor(int id)  | 
public static final BlockState DEFAULT_BLOCK_STATE
private final ObjectIntIdentityMap<BlockState> ids
private int lastId
public int idFor(BlockState state)
@Nullable public BlockState stateFor(int id)
public java.util.Iterator<BlockState> iterator()
iterator in interface java.lang.Iterable<BlockState>public void addMapping(BlockState p_189956_1_, int p_189956_2_)