Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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

  • Author

@poopoodice

I have to post my code tommorow it is 1am here but the code in part 2 of the tutorial at 9.00 has my code exept the item RUBY is GEAR instead. that is al the difference.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.