How do I make a procedure that would force mobs to go for some object?

Started by Art4Dog on

Topic category: Help with modding (Java Edition)

Last seen on 16:52, 7. Jun 2021
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a procedure that would force mobs to go for some object?

I want to make the residents follow the emerald block. Please tell me how to do this using the procedures. I will be very grateful for any help!

Last seen on 23:30, 25. Apr 2022
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use an on-entity-tickā€¦
Tue, 11/10/2020 - 16:59

Use an on-entity-tick trigger and make a custom procedure to path it to the block if it's in a certain distance.