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.

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

Featured Replies

Posted

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.

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.