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

I am getting started on my first mod through forge.

 

So far I've added an item and a block to try things out. My problem is, neither is rendering in item form. Instead, it is rendered as the checkered block (what I assume is the default rendering for missing model files, etc.). The block only renders correctly when placed but not in the GUI, players hand, or the ground. The item renders correctly nowhere.

 

I've looked through everything twice and can't figure out what I'm missing. Any help is appreciated.

 

Thanks,

avin

  • Author

That resource has gotten me to where I am. Unfortunately I still seem to missing something. Please see dropbox link with class files and resources:

https://www.dropbox.com/sh/360odcwsv3nm4qe/AABQH2WH_h4bAkFKLpVTt2m3a?dl=0

 

(Note that I may have not gotten the file paths perfect in that, I just now quickly threw everything in there. But I have gotten no missing model/texture messages from console as I already fixed those problems.)

 

 

Hi

Yeah it can be very frustrating to troubleshoot when there are almost no symptoms.  I am working on a step-by-step troubleshooter at the moment, but in the meantime you can try to track it down yourself by holding your item in your hand and inserting a breakpoint in ModelManager.getModel().  That is usually the place where the default (fallback) model is silently retrieved.  You can use that as a starting point to find out why your model is not being correctly retrieved.

-TGG

  • Author

Thanks TGG.

 

I found the troubleshooting guide you made for item rendering and am now using that to help find my issue. I feel like I'm making some progress and when I solve the problem, I will post my issue and solution in the troubleshooter comments.

 

Link to guide for anyone also having rendering issues:

http://greyminecraftcoder.blogspot.com.au/2015/03/troubleshooting-block-and-item-rendering.html

 

 

 

avin

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.