Making an existing mob be attracted by a custom food

Started by TotoUmbertoch72 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Making an existing mob be attracted by a custom food

Hi,

I’ve been trying to make an item in my mod, that attracts a vanilla creature when hold in the hand. Unfortunately i didn’t found many ways of doing that since we can’t modify existing mob without coding, i found something in the without-code procedure maker,  that check in a radius if there is an entity with the given tag, but when I put the block that makes the creature find a path to get to the player holding the item and tried to add it to my item procedures when hold, it said missing dependencies. I don’t know why it does that, and it stops me from continuing my mod.

Thanks in advance for the answers ( if there is a solution )

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I would really need some…
Fri, 06/23/2023 - 23:48

I would really need some help, this is a capital part of my mod, but if it is really not possible, i'll abandon. Just tell me if you know something about this