Making Vanilla Mobs Follow the Player When the Player Holds a Custom Item

Started by LemmingsAndSuch on

Topic category: Help with modding (Java Edition)

Last seen on 12:02, 20. Mar 2024
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Making Vanilla Mobs Follow the Player When the Player Holds a Custom Item

Hello

I want to make vanilla sheep follow the player when the player is holding a custom item from my mod in their hand. Is this possible in any polished way?

(By polished I mean like not making the sheep teleport a few blocks closer to the player every second or something like that)

 

Thanks in advance if so!