I have an item which needs to change its model based on NBT.
How do I go about utilizing and implementing an item with NBT that can take advantage of the ModelLoader.setCustomMeshDefinition()
I was reading this article https://gist.github.com/williewillus/57d7093efa80163e96e0
It was suggested that, "You can do things like return different models depending on NBT" when using ModelLoader.setCustomMeshDefinition() Now I've read a lot of articles from Choonster and other informed members of the community. I have yet to succeed with anything I have tried due to the lack of concrete complete implementations. I am already aware of how to write NBT data to an item.
Anyones help with this will be greatly appreciated but if you do intend to leave an answer please be patient and leave a well informed detailed response or please link a source code example as reference.
Thanks!