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.