no taming pets

Started by RoguelikePaladin_ on

Topic category: Help with modding (Java Edition)

Last seen on 19:15, 17. Mar 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
no taming pets

what i want is for when you right click with a sword it spawns a few pet enties taht charge at the nearest entity to attack. but for some reason the only way i can do that is if you right click them to tame similar to a wolf. does anyone know how to make them spawn serving you?

Last seen on 14:43, 2. Aug 2022
Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For each entity in a radius…
Sun, 02/21/2021 - 16:50

For each entity in a radius of 5 :

if entityiterator = wolf:

tame entityiterator by event/target entity