Started by
UndeadGmrDad
on
Topic category: Help with Minecraft modding (Java Edition)
Hey mcreator community! I'm new to modding and have been working hard on developing a magic mod. It is going fairly well, but my question is, how do i make my procedures aggro mobs?
For example, my one spell fires a custom projectile in which I created myself, but if it collides with say an Iron Golem, the iron golem ignores the fact that I had attacked it, when it should be angry and chase me down. What procedure block initiates the mob aggro procedure? The same happens when I cast a spell on a pigmen. They should all want to kill me, but i can run around and kill them without them ever noticing me.
After testing further, my Projectile spells seem to aggro just fine, but my AOE spells do not. they use the entity iterator block procedure, essentially, if not entity iterator = event/target entity, do deal * damage to entity iterator. but it doesnt aggro mobs like zombified piglins