Jump to content

[1.12] [SOLVED] Exception loading model for variant [model] for item [item]


Recommended Posts

Posted (edited)

Hello,

I do understand that there are other topics under this same / similar standard however I cannot seem to find anything wrong with my .json files or their contents and names.

 

Some help is appreciated, all files below.

  Reveal hidden contents
  Reveal hidden contents
  Reveal hidden contents
  Reveal hidden contents
  Reveal hidden contents

 

Edited by NoEffort
-Removed [UNSOLVED] tag
Posted
  Quote

Caused by: java.io.FileNotFoundException: basic:models/item/strange plank.json

Expand  

Your file is named "strange_plank.json" not "strange plank.json"

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.

Posted

Problem found,

When initializing the block from my CustomBlock file, the name was set to "Strange Plank" and not "strange_plank".

 

** It had nothing to do with the .json files.

Posted

Well, tecnically it did... The registry name is used as the file name... Changing one to match the other will fix it regardless of which one you changed.

  • Like 1

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.

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.