Started by
MisterGold
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making a mod, and I need the mob to be tamed immediately when it appears/spawns (on older versions, there was a separate checkbox), but the procedure says there aren't enough dependencies. 2024.4 MCreator
Try this: https://mcreator.net/comment/306620
I would like to see a screenshot or something similar
i don't know if the version you are using has this but this code works on the most recent: https://drive.google.com/drive/folders/1d7pMNiNT8hYwaSd9oTDp1oOqH9qR3S6e?usp=drive_link
Add a data tag, eg spawned=true, to the entity when it is spawned if it also occurs naturally, that way you will only tame the spawned entity. And add an if entity has tag spawned=true.
https://imgbox.com/79XxBdZt
Using my script with the on initial spawn trigger works great and is very simple
Nothing works, none of the options
Strange what version are you on?