Started by
RoguelikePaladin_
on
Topic category: Help with modding (Java Edition)
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?
For each entity in a radius of 5 :
if entityiterator = wolf:
tame entityiterator by event/target entity