Jump to content

Recommended Posts

Posted

Hello. I am new to the forge forums and modding in general usually I've been fine off of youtube tutorials and just google in general. but I just can't seem to wrap my head around this error

the texture won't render It just appears as this (images below). and also since I'm really new to modding I'm not really all that sure of what to add other than these pictures so please if there's anything else you wan't to know do let me know.

json file.PNG

modelinterface.PNG

registry handler.PNG

texture.png

Posted (edited)

I would avoid using capital letters for assets. Also, your json file points to "items/MANGO" but your texture is lower case.

Edit, and the name of your texture is "mango2" not "mango"

Edited by lehjr
  • Like 1
Posted

Other than that, "pm" is a terrible name for a mod: it's far too short (although "PracticeMod" sounds like you don't plan to release this).

 

And IHasModel is an antipattern - a useless waste of time and an example of cargo cult programming.  Ditch it.  Every item has a model.

  • Like 2

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.