Posted April 28, 201510 yr First of all, I am sorry to ask this. I have checked all my files, all my names, every thing four times. Still I am unable to find the place where i fucked up. I am registering a block. I am registering the renderer in the client proxy, I am calling the the proxy registerRenderer and I created all json files. Still it wont render [14:14:22] [Client thread/ERROR] [FML]: Model definition for location 1.0:vamp_one#inventory not found [14:14:22] [Client thread/ERROR] [FML]: Model definition for location 1.0:vamp_one#normal not found Main file @EventHandler public void init(FMLInitializationEvent event) { vampAltarOne = new VampAltarOne(); GameRegistry.registerBlock(vampAltarOne, "vamp_one"); proxy.registerRenderer(); } ClientProxy @Override public void registerRenderer() { ItemModelMesher mesher =Minecraft.getMinecraft().getRenderItem().getItemModelMesher(); mesher.register(Item.getItemFromBlock(Vamps.vampAltarOne), 0, new ModelResourceLocation("vamps:vamp_one" , "inventory")); } assets.vamps.blockstates.vamp_one.json { "variants": { "normal": { "model": "vamps:vamp_one" } } } assets.vamps.models.block { "parent": "block/cube_all", "textures": { "all": "vamps:blocks/vamp_one" } } assets.vamps.models.itemn { "parent": "vamps:block/vamp_one", "display": { "thirdperson": { "rotation": [ 10, -45, 170 ], "translation": [ 0, 1.5, -2.75 ], "scale": [ 0.375, 0.375, 0.375 ] } } } assets.vamps.textures.blocks.vamp_one.json is the position of the texture
April 28, 201510 yr Hi This guide might be useful http://greyminecraftcoder.blogspot.com.au/2015/03/troubleshooting-block-and-item-rendering.html I'll have a look myself too , but will take a while due to AFK -TGG
April 28, 201510 yr > Model definition for location 1.0:vamp_one Your modid is 1.0 not vamps as you expect. Looks like you swapped mod id and version in your main mod file. -TGG
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.