Started by
ja-xxx
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making a mod where you tame a bunch of creatures by nocking them out, everything works well except one thing. essentially you knock each creature out with a specific arrow type and it spawns the knocked out version of the mob which is a sperate entity (Geckolib if that matters), which you then feed in order to summon the tamed version which SHOULD spawn into the world tamed, however i cannot get this to work. what happens at the moment is you feed the unconscious creature, it tames, it dies and summons in its tamed varient but it doesent ACTUALLY tame
i have tried a million different variations of the code but it just wont do it, here is the current version
There a lot of different ways to make it works:
I did it this way or that way.
https://imgur.com/a/xPCoQUL