public interface Palette<T>
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(Predicate<T> predicate) |
void |
fromPacket(PacketByteBuf buf) |
void |
fromTag(ListTag tag) |
T |
getByIndex(int index) |
int |
getIndex(T object) |
int |
getPacketSize() |
void |
toPacket(PacketByteBuf buf) |
int getIndex(T object)
@Environment(value=CLIENT) void fromPacket(PacketByteBuf buf)
void toPacket(PacketByteBuf buf)
int getPacketSize()
void fromTag(ListTag tag)