Started by
Ball-van
on
Topic category: Help with Minecraft modding (Java Edition)
Hello! I would like to know the network is there a way to make the spawned creature automatically tame without any action from the player's side. Thanks in advance to everyone who will respond to help.
Edited by Ball-van on Wed, 08/11/2021 - 13:41
You can spawn the entity using the "Spawn at x y z entity (pig)" block and using a procedure block that says "Tame <Event/target entity> by <Source entity>" changing "Event/target entity" to "Get nearest entity at x y z in square of 1 of type (pig)". Just like this: https://imgur.com/ZO3mlbg
Also make sure (if it's a custom entity) that it has this check box selected in the 'AI and goals' section: https://imgur.com/WCs8NRV
That worked for me spawning automatic tamed shadows from a magic staff. Hope it works!
thanks you're a life saver
unfortunately, my Mcreator writes that the procedure cannot be used because there are not enough dependencies(((