I'm making a mod which is going to visualize sorting algorithms. I started to make the mod in version 1.20.4,but yesterday I decided to update it and to continue developing it in version 1.20.5. In 1.20.4 I successfully made helper classes with methods with which i can save the array that is being sorted onto the world, I followed this tutorial: https://fabricmc.net/wiki/tutorial:persistent_states . When I updated the mod to 1.20.5 it started giving me errors everywhere in the helper classes, I look at the documentation of the changes made in 1.20.5, but I cant figure it out how to fix the errors, because I'm a beginner.
#I need help with saving an integer array to a world
7 messages · Page 1 of 1 (latest)
!!paste
Using a Paste Site
When sharing a large piece of code or a log, you should use a paste site instead of uploading a file or dumping it in a large codeblock.
Dumping your code/log in a code block or a message can make it difficult for other people to read previous messages.
Paste sites and their size limits:
» GitHub Gist: 100 MiB / Requires an account
» Paste.gg: 15 MiB / Account is optional
» Mclo.gs: 10 MiB / Anonymous (designed specifically for Minecraft logs)
» Paste.ee: 1 MiB / Account is optional (raises limit to 6 MiB)
» Pastebin.com: 512 KiB / Account is optional
» Hastebin.com: 400 KiB / Anonymous
What are the errors?
Hello. Sorry for he later replay. In the ArrayHelper class it is giving me these errors:
https://gist.github.com/GammaTick/41ef19c44ed34aeac95e7ebe4e53bf85
I read in the documentation that the PacketByteBuf was removed and I need to use CustomPayload, Ive been trying to create the CustomPayload but i cant