Posted February 12, 20214 yr Getting a bit of an issue with what appears to be a Malformed packet? I ported over this recipe from my 1.15.2 mod to 1.16.4 and it works flawlessly in Singleplayer. Second you try and get onto the Dedicated/SMP world though its a ClientDisconnect with the below debug. I know from the past that this generally means a malformed packet or the read and write of the serializes are out of sync etc. In 1.15.2 I was able to leave the write blank. Apparently that is not the case in 1.16.4? So in an effort to keep this in sync as you can see the resource location is in the reader and then the writer just writes the ResourceLocation but I am still getting this problem. Hopefully someone can let me know what I am doing wrong here. Its just kinda frustrating because I am having a hard time finding some examples that extend the SpecialRecipe class let alone allow you to Dye the items. Appreciate it. https://pastebin.com/mc7wjbQ9 - Debug https://pastebin.com/f2t2tpns - PouchRecipe and Serilzier
February 12, 20214 yr Author 15 hours ago, diesieben07 said: In your recipe serializer read and write are not symmetrical. write writes a ResourceLocation, but read reads nothing. I resolved it. Thank you. I was misunderstanding the read and the write buffers and was using an older method of actually registering/creating the serializer. All is well now. Thanks again. Edited February 12, 20214 yr by HalestormXV
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.