Jump to content

Recommended Posts

Posted (edited)

so i am new to modding (not to programming) and was following a tutorial from "TechnoVision" (part 1part 2 (at 9:45 is the point mine breaks)) and was not running into any problems until i wanted to test adding in 1 item to the game and got an ExceptionInInitializerError.

i was following the tutorial pretty accurate and the code seems to be fine so i thing it is a java thing but i can not figure out what it is specificly.

 

this is my error log (not my terminal output but basically the same)

latest.log

can someone pleas tell me what the problem is

Edited by Inanis
the topic is resolved
Posted

First, use the latest MDK, not recommended, there are a ton of bugfixes and newer mappings in the latest.

 

Second, make sure you scan all the way through your logs. This is something you should always do when debugging code and stuff, it is not specific to forge modding. The issue is explained right there for you:

Quote

Caused by: net.minecraft.util.ResourceLocationException: Non [a-z0-9/._-] character in path of location: examplemod:Gear

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.