Started by
Xboy1
on
Topic category: Troubleshooting, bugs, and solutions
Everytime I try to export my mod it says "Workspace includes element that don't compile. File not exported" And I don't know how to fix it. Please tell me what it means and how to fix it.
Edit: It's been 11 days and I still don't know how to fix this. I am getting anxious and nobody is responding to the topic. At this point I just need any help at all. It doesn't matter if it works, I just want help.
Things I've tried (In order):
Re-run the code
Remake the elements
Making a mod with elements that only have green triangles
Reinstialling MCreator (actually didn't work)
Edited by Xboy1 on Thu, 10/31/2019 - 16:06
Some mod elements should have a Red triangle indicating that that mod element doesn't compile. This failure can be caused by you having deleted certain things that were still in use by other mod elements.
I didn't delete anything though
By the way all the elements have red triangles, but I don't know why. Just so you know.
I added tools and those have green triangles
The ore and the item have red triangles
I looked on my ruby mod, which has the most elements, and most of them errored.
The ones that didn't error was
Ruby Sword
Ruby Pickaxe
Ruby Shovel
Ruby Recipe
Ruby Block Recipe
Achievement Trigger
I have a ruby axe and hoe, but those errored, and a ruby nugget recipe.
With the provided information, I'm not able to ensure what the exact cause is of those mod elements breaking, but if you deleted and recreated all of the ones that have red, then your mod will compile.
I tried it with only one element but it's stil red
try regenerating the code
It gives me the same error
can you export the project as a shareable project in the zip file for the dev to take a look
No that's the reason I even want to fix the error. If I was still able to export it I would probably not even make this topic
no go into the file and export project as a zip not export jar they are 2 different things one exports a jar file and the other exports the project so you can import it into mcreator on another computer so you can edit it or we can take a look and see what is going on
oooooooooohhhhhhh okay I'm gonna duplicate the mod and put it in a .zip folder so you can download it and see what's wrong.
Here it is:
https://mcreator.net/modification/54291/not-usable-dont-download