Started by
NatePlays95
on
Topic category: Advanced modding
I know the "Render" part of the code takes care of picking the texture/model, but how can you change it depending on, maybe the item's nbt or a player attribute?
I'm asking for people that want, for example, make a weapon that visually charges power, or something like a compass that changes according to player direction, or a shield that rotates when you're blocking.
There are tickets for all these features here: https://mcreator.net/tracker
Well, that's why I posted on advanced modding, I'm willing to solve it the hard way: java.
I found how entities get their textures in code, and those can be assigned to a nbt value, but for blocks and items I haven't found where on the code it code the json model
Gonna search a little more on Minecraft forum
Found something interesting: the CustomModelData NBT tag, gonna look into it tomorrow, maybe
More info here https://www.planetminecraft.com/forums/communities/texturing/new-1-14-custom-item-models-tuto-578834/