Started by
Slexom
on
Topic category: Help with Minecraft modding (Java Edition)
Good morning, I'm playing with the tool and I would recreate the Wooly Cow from MCE to familiarize with it a little. I've the textures and I've set the rigth click procedure to drop wool when use shear. Now I'm stucked. How can I change the texture to the sheared version and how can I set the wool to grow again after certain time?
I managed to save the sheared state, and set back to shearable when it eat grass.
Now I've use nbt to save the state "sheared"(true or false). Is this the correct way to do? Do it keep the data if I close the game and open it again?
The game should save the NBT data if you close and open the game but you would have to test it to be sure.
Also how did you make it detect if your holding shears because I'm trying to do something similar in a mod I'm making and I can't get it to work. :/
Any luck?