Search the Community
Showing results for tags 'model'.
-
I'm having issues getting my animated model to work properly. When the block is placed, the model animates properly however there is an underlying, non-animating black version of it that is rendering within it. I get no console errors. The black version has all of the fan-blades rendered instead of alternating from one set to another. Block Init: Fan Class: Fan Blockstate:
-
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!