| Modifier and Type | Field and Description |
|---|---|
static GlobalPalette |
INSTANCE |
| Constructor and Description |
|---|
GlobalPalette() |
| Modifier and Type | Method and Description |
|---|---|
GlobalPalette |
copy()
Creates a copy of this palette.
|
int |
idToState(int id)
Converts a storage ID to a block state.
|
int |
size()
Gets the number of block states known by this palette.
|
int |
stateToId(int state)
Converts a block state to a storage ID.
|
public static final GlobalPalette INSTANCE
public int size()
Palettepublic int stateToId(int state)
Palettepublic int idToState(int id)
Palettepublic GlobalPalette copy()
PaletteCopyright © 2023. All rights reserved.