"Workspace includes elements that don't compile."

Started by Xboy1 on

Topic category: Troubleshooting, bugs, and solutions

Active 2 years ago
Joined Oct 2019
Points:
710

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 67
"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
Active 4 years ago
Joined Aug 2019
Points:
1023

User statistics:

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

Active 2 years ago
Joined Oct 2019
Points:
710

User statistics:

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

I didn't delete anything though

Active 2 years ago
Joined Oct 2019
Points:
710

User statistics:

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

Active 2 years ago
Joined Oct 2019
Points:
710

User statistics:

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

Active 2 years ago
Joined Oct 2019
Points:
710

User statistics:

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

Active 4 years ago
Joined Aug 2019
Points:
1023

User statistics:

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

Active 2 years ago
Joined Oct 2019
Points:
710

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 67
I tried it with only one…
Mon, 10/21/2019 - 23:04

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

Active 5 months ago
Joined Aug 2019
Points:
679

User statistics:

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

try regenerating the code

Active 2 years ago
Joined Oct 2019
Points:
710

User statistics:

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

It gives me the same error

Active 5 months ago
Joined Aug 2019
Points:
679

User statistics:

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

 

Active 2 years ago
Joined Oct 2019
Points:
710

User statistics:

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

Active 5 months ago
Joined Aug 2019
Points:
679

User statistics:

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

Active 2 years ago
Joined Oct 2019
Points:
710

User statistics:

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