Posted April 16, 201510 yr So I've started on a private mod to my friends, and I get errors about items EVERYWHERE apokitfphmbjxkcfplnböfmjkhb Sorry for that. Anyways, First I got a lot of "Item model not found". I fixed that by making an Item.json and a lot of stuff. Finally I could go to this next step. But now I got File Not Found errors. I fixed that via adding a fix to the JSON file. But then: I get this error " Unidentified item: (modid):item.(itemid), id 4096 " Let's just say this: Sometimes the behind the scenes Minecraft updates sucks.aöpomgbrjdjböodtmk,äö Ok sorry, I just got really upset So my question to you is: Do you know how to fix the error? PS: This is my code (some things are replaced, but yeah, nothing important. Only mod details.) @EventHandler public void init(FMLInitializationEvent event){ Item item = (Item) new item(); registerItem(item, event); } public void registerItem(Item item, FMLInitializationEvent event){ if(event.getSide() == Side.CLIENT) Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(MODID + item.getUnlocalizedName().substring(5), "inventory")); GameRegistry.registerItem(item, item.getUnlocalizedName().substring(5)); System.out.println(item.getUnlocalizedName().substring(5)); } And if I ever helped anyone with anything, let me know I am a noob in forge
April 16, 201510 yr First: Init items and register them in the FMLPreInit Event. 2nd: Register item models in your ClientProxy. I really suggest you to make a "helper" class to make things cleaner.
April 16, 201510 yr Author First: Init items and register them in the FMLPreInit Event. 2nd: Register item models in your ClientProxy. I really suggest you to make a "helper" class to make things cleaner. Maybe, but this mod is supposed to be quick. So all the models and that is going to be Proxy-fyed? I've never heard of that in any other tutorial... And if I ever helped anyone with anything, let me know I am a noob in forge
April 16, 201510 yr Author First: Init items and register them in the FMLPreInit Event. 2nd: Register item models in your ClientProxy. I really suggest you to make a "helper" class to make things cleaner. I made it to a Proxy, but it's still the exact same problem: "There is 1 missing blocks and items in this save. bla bla bla... Backup... bla bla... Missing Blocks/Items:" EDIT: Sorry, I forgot to call the proxy. My bad. Now it's actually as in the beginning: No texture found for the item And no errors in the console... And if I ever helped anyone with anything, let me know I am a noob in forge
April 17, 201510 yr Perhaps give this troubleshooting guide a go, might help you track things down. http://greyminecraftcoder.blogspot.com.au/2015/03/troubleshooting-block-and-item-rendering.html -TGG
April 17, 201510 yr Author Can you show me your item model file? Yes, as soon as I get access to my coomputer. Thanks And if I ever helped anyone with anything, let me know I am a noob in forge
April 17, 201510 yr Author Perhaps give this troubleshooting guide a go, might help you track things down. http://greyminecraftcoder.blogspot.com.au/2015/03/troubleshooting-block-and-item-rendering.html -TGG Thanks, I'll give it a go And if I ever helped anyone with anything, let me know I am a noob in forge
April 17, 201510 yr Author Guys, I'm sorry. I give up, since this mod is private, I'm just gonna downgrade to 1.7.10 Sorry And if I ever helped anyone with anything, let me know I am a noob in forge
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.