quilt-kotlin-libraries
quilt-kotlin-libraries copied to clipboard
Kotlin serialization based networking
yeah 😎
Inspired by the concept of https://github.com/FabricMC/fabric/pull/2820, banged out during class so might have fucked up some stuff.
Wasnt able to include a lot of the goodies like encodeNbt
and whatever because we dont have serializers for those atm, worth looking into if its possible with mixin or if we need chasm?
Keeps compat with any java users wanting to parse this, nulls are encoded the same way as Optional
s and such, as you can see in this diagram of the serialized form of the sample data