Posted July 13, 20205 yr i can't find addPropertyOverride function in Item Class anymore. did they replace it with others name?
July 13, 20205 yr See the ItemModelProperties class, there's a function taking an Item, a ResourceLocation, and the IItemPropertyGetter.
July 14, 20205 yr There's working tutorial example here, in case you are still having trouble https://github.com/TheGreyGhost/MinecraftByExample/tree/master/src/main/java/minecraftbyexample/mbe11_item_variants -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.