How to make healing projectiles?

Started by Chorus on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make healing projectiles?

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.

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you send a screen of…
Fri, 11/10/2023 - 21:19

Can you send a screen of your procedure ?

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There is no need. The…
Sun, 11/12/2023 - 11:44

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.