"Workspace includes elements that don't compile."

Started by Xboy1 on

Topic category: Troubleshooting, bugs, and solutions

Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • 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
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • 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.

Joined Oct 2019
Points:

User statistics:

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

I didn't delete anything though

Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • 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.

Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • 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

Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • 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.

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • 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.

Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • 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

Joined Aug 2019
Points:

User statistics:

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

try regenerating the code

Joined Oct 2019
Points:

User statistics:

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

It gives me the same error

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • 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

 

Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • 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

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • 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

Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oooooooooohhhhhhh okay I'm…
Wed, 10/23/2019 - 03:45

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.