Posted January 19, 20169 yr Hello people, Having strange issue, which I never had in the past. Console says that Model definition for location angelsvsdemons:item.sacrificial_dagger#inventory not found I checked everything and it should be correct, searched alot on google and forums, couldn't fix this. Maybe you can figure it out Here's Classes: public class AVDItems { public static Item sacrificial_dagger; public static void init(){ sacrificial_dagger = new ItemSacrificialDagger().setUnlocalizedName("sacrificial_dagger").setCreativeTab(AVDMod.AVDTab); } public static void register(){ GameRegistry.registerItem(sacrificial_dagger, sacrificial_dagger.getUnlocalizedName()); } public static void registerRender(){ registerRenderers(sacrificial_dagger,0); } private static void registerRenderers(Item item, int metadata){ Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, metadata, new ModelResourceLocation(References.MODID + ":" + item.getUnlocalizedName().substring(5), "inventory")); } } public class ClientProxy extends CommonProxy { @Override public void registerRenderers(){ AVDItems.registerRender(); } } @Mod(modid = References.MODID, name = References.NAME, version = References.VERSION) public class AVDMod { @SidedProxy(clientSide = References.ClientProxy, serverSide = References.CommonProxy) public static CommonProxy proxy; public static CreativeTabs AVDTab; @Mod.EventHandler public void preInit(FMLPreInitializationEvent e){ AVDTab = new CreativeTabs("avdtab") { @Override public Item getTabIconItem() { return Items.apple; } }; AVDBlocks.init(); AVDItems.init(); } @Mod.EventHandler public void init(FMLInitializationEvent e){ AVDItems.register(); AVDBlocks.register(); proxy.registerRenderers(); } @Mod.EventHandler public void postInit(FMLPostInitializationEvent e){ MinecraftForge.EVENT_BUS.register(new EventHandler()); } } I have my model file in assets/modid/models/item/sacrificial_dagger.json
January 19, 20169 yr The new model system is quite tricky at first. Take a look at this video , it should help you a bit. For blocks, check out this one . I am not a cat. I know my profile picture is sexy and amazing beyond anything you could imagine but my cat like features only persist in my fierce eyes. I might be a cat.
January 20, 20169 yr Author I have done this in past, released other mod on 1.8, but now I started new project and did everything like in old one and I can't get models working.
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.