#help me understand this client-side packet reception code i found online?

5 messages · Page 1 of 1 (latest)

bronze vector
#

hey guys, I've got a spigot plugin working that sends packets to the client through a defined channel (im pretty sure at least), and all I need now is to get a fabric client-side mod working that allows me to extract that info. I found some code online from a guy who did exactly that in early 1.21, and the code looks mostly functional still, I'm just struggling to understand how to actually get my information into a useable state for the mod... any help would be GREATLY appreciated!!

slate storm
#

Sounds like you'll need to figure out what format the plugins actually send stuff in. Didn't know they could send non-vanilla packets tbh.

#

Usually you'd use a StreamCodec to serialize/deserialize, but if both sides don't use the same format 🤷

#

@bronze vector