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