public interface IPalette<T>
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
contains(T value) |
T |
get(int indexKey)
Gets the block state by the palette id.
|
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)