[Proposal] Add a packet format in network module
Opened this issue · 3 comments
SettingDust commented
Add a packet serial format to network module and use it instead of cbor.
And maybe the network should register channel standalone instead of "subchannel" of silk
jakobkmar commented
I am not against this, but before starting to implement this, could you list the benefits of this over Cbor.
SettingDust commented
I am not against this, but before starting to implement this, could you list the benefits of this over Cbor.
Parse packet from other mod or lib.
jakobkmar commented
I guess we could add a quick implementation (requiring opt-in) which uses the Silk nbt serialization and then writes the nbt to the packet (mojang already has a translation there) until we implement serialization to PacketByteBufs directly and make the API stable.