public interface Palette
| Modifier and Type | Method and Description |
|---|---|
Palette |
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.
|
int size()
int stateToId(int state)
state - Block state to convert.int idToState(int id)
id - Storage ID to convert.Palette copy()
Copyright © 2023. All rights reserved.