-
-
Notifications
You must be signed in to change notification settings - Fork 0
Story
It al began while I was mining for iron with 1.16 on a 1.18 server, because copper was mapped to iron, so I wouldn't know if I mined iron or copper until I picked it up and hovered my cursor over it, as you can imagine it was pretty frustrating; On one day I had enough and searched for a mod where I can change things based on things and was available for 1.16, one of the options was Optifine, but I was a sodium user so I found a mod called Chime, which was perfect for my needs, so I did it, the iron and copper is separated and I doesn't have to pick it up and hover over it, BUT if I'm already here why not backport the other items too? thinked in my self...
I finished adding some things, on my test server where I didn't updated ViaBackwards yet, and I went to play on my favourite server where I noticed that copper looked like iron and that my pack did not worked. I had a little panic rush, because I did not know the problem. What happened is that Viabackwards changed it's naming so other players can't replicate it, so the full pack had to be re-written. Overall It was good in a way, because previously I just used a very simple name detection, and now I had to explore the NBT detection of the mod, which laid down the foundation for the the next big update.
The resources pack did a great job and all of the items have been backported to 1.16, but then I renamed an item and kaboom the pack did not worked anymore. I firstly tried to use regex to tell Chime that you only have to look for that part of the NBT, but then I realized 2 things; 1: Players usually don't rename the items to their exact, same name, instead they rename it to something entirely different, and 2: The special name NBT is lost when anviling, but the protocol ID is not. I think you know what coming, an another rewrite [now with even more items], but in the meantime I was experimenting with Optifine and porting the pack to it, but the previous methods did not worked, but this new one worked there too, so the gates are open!