public interface DataSerializer<T>
Modifier and Type | Method and Description |
---|---|
DataParameter<T> |
createKey(int id) |
T |
read(PacketBuffer buf) |
void |
write(PacketBuffer buf,
T value) |
void write(PacketBuffer buf, T value)
T read(PacketBuffer buf) throws java.io.IOException
java.io.IOException
DataParameter<T> createKey(int id)