SilkMC/silk

[Proposal] Add a packet format in network module

Opened this issue · 3 comments

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

I am not against this, but before starting to implement this, could you list the benefits of this over Cbor.

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.

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.