Posted March 9, 20196 yr In 1.12.x there had been an minecraft vanilla class ItemMeshDefinition to define variable render icons based on whatever decision made in a method getModelLocation. This could be registered in public void onRegisterModels(ModelRegistryEvent event) using ModelBakery.registerItemVariants and ModelLoader.setCustomMeshDefinition. ItemMeshDefinition is no longer present in the Minecraft source and I don't think it's just a name change. I didn't find any respective class in the mc source. So, my question is how to create items with variable icons in 1.13.2? Does anybody has a pointer towards a respective doc or tutorial? Edited March 10, 20196 yr by Torojima running minecraft on Mac OS X - Sierra --- creating code since 1986 ... --- मेरा दिल भारतवासी है! http://www.arno-saxena.de/pictures/chococraft/banner_signature.png[/img]
March 10, 20196 yr Author Thank you the property override works perfectly and after I recognised the models subfolder is called "item" instead of "items" like all the other subfolders, also the model json files have been found running minecraft on Mac OS X - Sierra --- creating code since 1986 ... --- मेरा दिल भारतवासी है! http://www.arno-saxena.de/pictures/chococraft/banner_signature.png[/img]
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.