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

Hey :) (I

 

some time ago i started developing a mod for 1.7.x.

Now i want to upgrade the mod to 1.10.2.

 

I've downloaded the recommened 1.10.2 forge version,

like in 1.7.x i executes

"gradlew setupDecompWorkspace eclipse"

and opened it in eclipse.

 

First time i copied all my files to the new workspace, that was a mistake, i should firstly learn more about the newer versions and watched some tutorials for 1.8/1.9 on youtube.

That helped me a lot and i started to recreate some of my basic classes for the new model-support via json files.

 

But i got an error, i have already reinstalled everythink from forge (gradlew) but got always the same errors.

Different videos or forum-posts saying that i need to register the item-model json files via

"Minecraft.getMinecraft().getRenderItem().getItemModelMesher()....."

or with

"ModelLoader..."

 

but the method "getRenderItem()" not exists in my minecraft, and the class ModelLoader not exists.

 

What am i doing wrong? :/

 

Thanks :)

 

 

 

 

ModelLoader in preinit. Don't use ModelMesher, there are problems with that method.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

  • Author

ModelLoader in preinit. Don't use ModelMesher, there are problems with that method.

 

The problem is that neither "ModelLoader.class" nor "getRenderItem" exists!

 

ModelLoader.setCustomModelResourceLocation(...)

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

  • Author

Do any other Minecraft classes exist? Are you sure your project is using 1.10.2?

 

Yes others classes exists and no its not 1.10.2 because i'm very very bad and should sometimes use my brain while coding.

 

You two got a "Thanks", because its my fail. In my first try i extraced the 1.10.2 package, but after some "gradlew intellij" tries (I wanted to change my IDE) ive deleted all the files and extraced it again. But i extraced the 1.7.1 zip file...

 

Sorry for that guys :(

Thanks again

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.