Not enough dependencies

Started by MrDark4444 on

Topic category: Help with modding (Java Edition)

Last seen on 20:00, 25. May 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Not enough dependencies

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

Last seen on 15:27, 29. May 2024
Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That means the Procedure you…
Sun, 04/21/2024 - 19:11

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.