public interface IPalette<T>
Modifier and Type | Method and Description |
---|---|
boolean |
contains(T value) |
T |
get(int indexKey) |
int |
getSerializedSize() |
int |
idFor(T state) |
void |
read(ListNBT nbt) |
void |
read(PacketBuffer buf) |
void |
write(PacketBuffer buf) |
int idFor(T state)
boolean contains(T value)
@Nullable T get(int indexKey)
void read(PacketBuffer buf)
void write(PacketBuffer buf)
int getSerializedSize()
void read(ListNBT nbt)