Posted February 5, 201510 yr So updating to 1.8 was overall not that difficult for me. Only problem i encountered was with the way rendering works now. I am currently trying to allow my item to have a custom model. I have created a JSON model in BDCraft Cubik PRO so im assuming there aren't any problems with the model. The problem im having now is that i dont get any errors but the model isn't showing. So in my client proxy i have this: public void postInitialize(){ registerItemModel(FishingItems.crabCage, new ModelResourceLocation(Fishing.ID + ":models/", "crab_cage")); super.postInitialize(); } public void registerItemModel(Item item, ModelResourceLocation model){ Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, new ItemMeshDefinition(){ @Override public ModelResourceLocation getModelLocation(ItemStack stack) { return model; } }); } So i dont know where to start since im still new to 1.8 and got no errors and the methods are getting called aswell. *I noted that i doesnt matter if i change the name in my model resource location, it always goes points the the unlocalized name of the item http://www.minecraftforum.net/topic/1937703-162smpforge-pet-mastery-hatch-level-battle/
February 5, 201510 yr Author Ok so i thought the model location worked the same as resource location. turns out not to be the case works fine now! http://www.minecraftforum.net/topic/1937703-162smpforge-pet-mastery-hatch-level-battle/
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.