Started by
Chorus
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making a mob that heals players.
Its task is to fire healing projectiles at players, settlers and golems every 10 seconds.
I set a trigger that gives a regeneration effect when the bullet hits the player.
In the game, the bullet takes 3 points of damage even though I set the damage to 0
and the effect is not applied.
Please someone help.
Can you send a screen of your procedure ?
There is no need. The trigger consists of "when the projectiles hits the player" - "apply healing potion effect 2". Everything is fine, it heals players, villagers, golems and deals damage to undead mobs.
And here is the problem .
The mob is treated as aggressive, which causes the golems to attack it. I set the damage to 0 but it doesn't change anything. If you know how to make a healing mob that is not aggressive, I would be very grateful.