Posted April 22, 20169 yr I'm having a little trouble with 2 textures from my mod. Firstly the barbedWire block gives off a "Model definition for location dayz:barbedWire#inventory not found" error. I can't seem to get rid of it, the barbedWire block is 99% the same as my nailBlock block which works perfectly. If anyone knows where i've stuffed up, please let me know. Also if it's not to much trouble, if someone could point me the right way on how to render the ItemBlock for my lootChest block i'd appreciate it. It cant be too difficult since it looks identical to the stock Minecraft chest, but i'm stumped. https://github.com/DayZ-Minecraft/DayZ-Minecraft/blob/1.8.9/src/main/resources/assets/dayz/models/block/barbedWire.json https://github.com/DayZ-Minecraft/DayZ-Minecraft/blob/1.8.9/src/main/resources/assets/dayz/models/item/barbedWire.json https://github.com/DayZ-Minecraft/DayZ-Minecraft/blob/1.8.9/src/main/java/com/github/dayzminecraft/dayzminecraft/client/ClientProxy.java https://github.com/DayZ-Minecraft/DayZ-Minecraft/blob/1.8.9/src/main/java/com/github/dayzminecraft/dayzminecraft/common/blocks/BlockBarbed.java https://github.com/DayZ-Minecraft/DayZ-Minecraft/blob/1.8.9/src/main/java/com/github/dayzminecraft/dayzminecraft/common/blocks/ModBlocks.java Latest.log: https://gist.github.com/HoBoS-TaCo/368b4a4ece0ea004be5f687ced105a47
April 22, 20169 yr You need an assets/modid/blockstates folder with the blockstates files inside catch(Exception e) { } Yay, Pokémon exception handling, gotta catch 'em all (and then do nothing with 'em).
April 23, 20169 yr Author Unfortunately that didn't help. I'm thinking it's something to do with my item model json since thats where my problem is. https://github.com/DayZ-Minecraft/DayZ-Minecraft/commit/6e4d45f0c6c83bfb8b92b2937a7c97d2e5b3d53a
April 28, 20169 yr Author Solved it, I started from scratch and found http://minecraft.gamepedia.com/Model which was a massive help. Here's the working code if anyone else has the same problem at a later date: https://github.com/DayZ-Minecraft/DayZ-Minecraft/tree/1.8.9
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.