
Resource bundle compatibility issues caused by inconsistent identifiers
Closed this issue ยท 1 comments
Hi ! I'm a resource pack creator, and I just wanted to let you know that my pack is compatible with your awesome mod!
Currently, it works perfectly with Forge 1.20.1. However, when I tried playing with NeoForge 1.21.1, I noticed that the items in-game turned into a purple and black checkerboard. After a bit of digging, I found that this is happening because Forge 1.20.1 uses the identifier "angle", while NeoForge 1.21.1 uses "naturescompass:angle".
Unfortunately, this is something that can't be fixed just with a resource pack. Would it be possible for you to update your mod to unify these two identifiers? I was wondering if you could make them consistent across both versions.
Out of curiosity, do you have a preference between using "angle" or "naturescompass:angle"?
Thanks so much for your time and consideration!
Before 1.21 the identifier was angle
, in 1.21 it was changed to naturescompass:angle
(that's for all modloaders, not just an inconsistency between Forge/NeoForge). It's been a while, but I think starting in 1.21 item properties needed to have a unique identifier, so I added the mod ID to avoid a conflict with the vanilla compass's angle
property. I know this would have at least been required starting in 1.21.4 because that's when the item model system was revamped (in 1.21.4 even the vanilla compass property switched from angle
to minecraft:compass
).
The only real solution on my end would be to change the identifier in pre-1.21 versions to naturescompass:angle
, but then that would potentially break other resource packs that were created for pre-1.21 with the angle
property in mind. You may need to have a separate version of the resource pack for pre and post-1.21. I assume even without this Nature's Compass specific change you'd need to have a different version for post-1.21.4 anyway, since I know there were a lot of breaking changes with item models in that version.