Jump to content

"Exception loading blockstate definition" and "Unable to load model" errors


winj42

Recommended Posts

I'm just getting started modding Minecraft, and I eventually want to make a "trapped bookcase" item that looks just like a bookshelf, but you can right click and it will generate some redstone signal. First things first, though: making the block. I'm following Kaupenjoe's YouTube tutorials but modifying it a bit for my purposes. Really, this should be pretty easy, since so far I'm just copying the bookshelf block, but when I run the game, the item and name show up in the creative menu, but all of the textures are the evil purple and black grid. I also get the following errors in the log:

Exception loading blockstate definition: 'trappedbookcase:blockstates/trappedbookcase.json' missing model for variant: 'trappedbookcase:trappedbookcase#'

Unable to load model: 'trappedbookcase:trappedbookcase#inventory' referenced from: trappedbookcase:trappedbookcase#inventory: java.io.FileNotFoundException: trappedbookcase:models/item/trappedbookcase.json

Here's the repository for the mod:

https://github.com/winslowj24/Trapped-Bookcase

 

Does anyone know what I'm doing wrong? I've done some folder renames and such, and I wouldn't be surprised if the errors come from that.

Link to comment
Share on other sites

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.