Started by
MrDark4444
on
Topic category: Help with Minecraft modding (Java Edition)
I want the mob summoned with an item to be tamed immediately. I added every tick of the mob to the procedure so that the mob would be instantly tamed, but it says to me that there are not enough dependencies
That means the Procedure you created uses more dependency that is provided to them when triggering.
Here's some advice :
First, you shouldn't do it on every tick, but instead, on initial entity spawn.
otherwise, it could cause serious lag.
So, create a Procedure that triggers on the initial entity spawn, then "tame Event:Trigger entity by ______"
and make it so that it's tamed by the nearest player.
You can do that by goinng in world data then in "Get nearest entity of type () at x y z in a () blocks radius"
then set the entity type to Player and chose a medium size like 6 idk. It depends on if the entity is spawned near the player. If the player the entity is supposed to be tamed by have the potential NOT TO be the nearest player when the entity spawn, then it's rather more complicated.