Started by
DeathD84
on
Topic category: Troubleshooting, bugs, and solutions
Walkthrough of what I did before this error occurred
I wanted to make a new armor, so I duplicated locked armor code (code was locked because I change a line in the leggings to render part of the armor on the body)
I didn't realize it would stay locked, so I unlocked the code, and then the entire workspace essentially broke.
Now anything in the mod (procedures and entities) that references an item, is broken, and the console is filled with "error: package ModItems does not exist" to every single place I used an item.
Resaving mod elements doesn't fix it, regenerating code does not fix, exporting workspace and importing does not fix
I don't know any other ways I can fix this problem.
Edited by DeathD84 on Fri, 11/24/2023 - 17:59
using 2023.3 ^
clearing caches also does not fix
Do you use any plugins? If not, please open a bug report on our issue tracker at GitHub and attach the workspace and logs
i use geckolib, playeranimator, and procedures+, ive been using all these since i started the project
i recently updated geckolib, but idk the issue seems out of left field
it seems in anything that references an item, the line of code to get the items isnt there
import net.mcreator.jojowos.init.JojowosModItem;
this is not present in any of the code for some reason
the logs seem to tell me its geckolib, as its failing to load, as well as
2023-11-24-10:40:15 [RegenerateCode/ERROR] [Template Generator] Failed to generate template: elementinits/items.java.ftl
welp, i deleted the plugin and redownloaded it, and now the problem is fixed
huh, i have the exact same problem, with geckolib, but on 2023.4. i cant reinstall though. weird how everything about this error seems so random.