AI and Goals bug: Exception while compiling blocks: Premature end of file (FIXED)

Started by ItzSprinkly on

Topic category: Troubleshooting, bugs, and solutions

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
AI and Goals bug: Exception while compiling blocks: Premature end of file (FIXED)
Fri, 06/21/2024 - 18:01 (edited)

Hey so i've looked everywhere, but found no solution, hope I can get one here!

Problem: I'm trying to make a mob, but the AI and Goals sections shows nothing and i can't put code or anything, and there's this error on the bottom:

"ERROR: Exception while compiling blocks: Premature end of file."


SOLUTION: Change your file directory (where it saves the stuff)

Edited by ItzSprinkly on Fri, 06/21/2024 - 18:01
Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well when I save the mob, it…
Wed, 05/15/2024 - 20:11

Well when I save the mob, it gives me this error and doesnt save: "The following element problems need to be resolved: -Living entity AI builder: Exception while compiling blocks: Premature end of file"

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
also, how do i make it so…
Wed, 05/15/2024 - 20:12

also, how do i make it so that it doesn't use the main storage and uses the other one? Bc I saw that it tries to save the mod onto the main one wich doesn't have enough space, and the one I want to use (2nd one) has way way way much more space

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so if you could tell me how…
Wed, 05/15/2024 - 20:12

so if you could tell me how to change where the files get saved in, that'd might solve the issue

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how did it get fixed? I have…
Sat, 06/29/2024 - 15:25

how did it get fixed? I have the same problem

 

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I just reconfigured the…
Sat, 06/29/2024 - 18:28

I just reconfigured the entity file and then it shows up now.