"Workspace includes elements that don't compile."

Started by Xboy1 on Sun, 10/20/2019 - 21:03

Topic category: Bugs and solutions

Last seen on 14:56, 17. Apr 2020
Joined Oct 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
"Workspace includes elements that don't compile."
Thu, 10/31/2019 - 16:06 (edited)

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
Last seen on 20:25, 8. May 2020
Joined Aug 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Some mod elements should…
Mon, 10/21/2019 - 12:49

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.

Last seen on 14:56, 17. Apr 2020
Joined Oct 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
I didn't delete anything…
Mon, 10/21/2019 - 13:47

I didn't delete anything though

Last seen on 14:56, 17. Apr 2020
Joined Oct 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
By the way all the elements…
Mon, 10/21/2019 - 13:49

By the way all the elements have red triangles, but I don't know why. Just so you know.

Last seen on 14:56, 17. Apr 2020
Joined Oct 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
I added tools and those have…
Mon, 10/21/2019 - 15:48

I added tools and those have green triangles

The ore and the item have red triangles

Last seen on 14:56, 17. Apr 2020
Joined Oct 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
I looked on my ruby mod,…
Mon, 10/21/2019 - 17:48

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.

Last seen on 20:25, 8. May 2020
Joined Aug 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
With the provided…
Mon, 10/21/2019 - 22:20

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.

Last seen on 14:56, 17. Apr 2020
Joined Oct 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
I tried it with only one…
Mon, 10/21/2019 - 23:04

I tried it with only one element but it's stil red

Last seen on 01:02, 4. Jun 2020
Joined Aug 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
try regenerating the code
Tue, 10/22/2019 - 01:00

try regenerating the code

Last seen on 14:56, 17. Apr 2020
Joined Oct 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
It gives me the same error
Tue, 10/22/2019 - 15:01

It gives me the same error

Last seen on 01:02, 4. Jun 2020
Joined Aug 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
can you export the project…
Tue, 10/22/2019 - 15:10

can you export the project as a shareable project in the zip file for the dev to take a look

 

Last seen on 14:56, 17. Apr 2020
Joined Oct 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
No that's the reason I even…
Tue, 10/22/2019 - 16:52

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

Last seen on 01:02, 4. Jun 2020
Joined Aug 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
no go into the file and…
Wed, 10/23/2019 - 00:05

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