public interface IDataSerializer<T>
Modifier and Type | Method and Description |
---|---|
T |
copyValue(T value) |
default 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)
default DataParameter<T> createKey(int id)