Mystery Space in File

Started by ShadowWolf526 on

Topic category: Troubleshooting, bugs, and solutions

Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mystery Space in File

I've had this issue since the last couple updates to my mod:

The game crashed whilst rendering overlay
Error: net.minecraft.util.ResourceLocationException: Non [a-z0-9/._-] character in path of location: insanity_dimension:blocks/insanity ore

I haven't asked for help here since it appeared, which I should have done sooner. I tried everything to fix it, but nothing worked. There is no longer a space with that file, but I still get the same error. The game almost starts up, but when it gets to the end of loading, it crashes suddenly.

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Your "Insanity Ore" has a…
Tue, 09/01/2020 - 01:36

Your "Insanity Ore" has a space in it's registry name it looks like, when that's not allowed. There has to be an underscore connecting the characters, as spaces break the execution of the program.

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know you said there is no…
Tue, 09/01/2020 - 01:37

I know you said there is no space, but it's clearly still reading one. Try clicking the band aid up above in your workspace to rebuild your gradle files and clean the workspace.

Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
After doing that, it's…
Tue, 09/01/2020 - 03:15

After doing that, it's changed to another block as the issue.

The game crashed whilst rendering overlay
Error: net.minecraft.util.ResourceLocationException: Non [a-z0-9/._-] character in path of location: insanity_dimension:blocks/rainbow block
Exit Code: -1

 

Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nevermind, that one was my…
Tue, 09/01/2020 - 03:16

Nevermind, that one was my fault. The file DID have a space this time.

Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Still confused. I still can…
Tue, 09/01/2020 - 03:32

Still confused. I still can't play the mod no matter what I do.

Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Still this. The game…
Tue, 09/01/2020 - 03:41

Still this.

The game crashed whilst rendering overlay
Error: net.minecraft.util.ResourceLocationException: Non [a-z0-9/._-] character in path of location: insanity_dimension:blocks/rainbow block
Exit Code: -1

 

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Did you fix the space in…
Tue, 09/01/2020 - 03:53

Did you fix the space in that registry as well, then rebuild the gradle again?

Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have 2 versions of my mod…
Tue, 09/01/2020 - 03:56

I have 2 versions of my mod as folders. Turns out I'm using the second version, which doesn't have ANY spaces in the file names, but the first version did, which confuses me even more because I'm not sure how this is happpening.