Jump to content

[1.9.4] Error in getting a custom item to render properly ingame


Recommended Posts

Posted

Hello,

After following MrCrayfish's tutorials

, I've been having issues with trying to get my custom item to render correctly.

Here's my ModItems code:

 

  Reveal hidden contents

 

 

The JSON file for the item itself:

 

  Reveal hidden contents

 

 

And finally, the runtime log from running the game:

 

  Reveal hidden contents

 

 

Thanks if you can help.

 

EDIT: Github link, if more code is needed:

https://github.com/T10a/scaling-octo-parakeet

If I'm asking a whole bunch of questions, please don't get angry. I'm trying to learn.

Posted
  Quote
[10:48:26] [Client thread/ERROR] [FML]: Exception loading model for variant tutorial:itemCheese#inventory for item "tutorial:itemCheese", normal location exception:

net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model tutorial:item/itemCheese with loader VanillaLoader.INSTANCE, skipping

...

Caused by: java.io.FileNotFoundException: tutorial:models/item/itemCheese.json

 

You're telling Minecraft to look for itemCheese.json, but your model is actually called ItemCheese.json.

 

Paths on non-Windows filesystems and in JARs are case-sensitive, so the model location specified in your code must match the file name exactly.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

Thanks! I've made the changes and it works now.  :D

If I'm asking a whole bunch of questions, please don't get angry. I'm trying to learn.

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.