Use 'set [entity]'s health to (current health of [entity] + 1)'
In the example above, the entity would heal half a heart (because 1 damage unit = half a heart). You can freely swap out the +1 for whatever value you'd like to use.
Use the source entity instead. The source entity is the entity that initiated the trigger- or the 'source'.
And for future reference, 'immediate source entity' refers to the entity that directly caused the trigger. Like, for example, a player shoots a mob with a bow, the event/target entity is the mob, the source entity is the played and the immediate source entity is the arrow.
Use 'set [entity]'s health to (current health of [entity] + 1)'
In the example above, the entity would heal half a heart (because 1 damage unit = half a heart). You can freely swap out the +1 for whatever value you'd like to use.
Like the image below, if it loads
It was healing only the mob that got hit not the player. What procedure do I need to put that?
Use the source entity instead. The source entity is the entity that initiated the trigger- or the 'source'.
And for future reference, 'immediate source entity' refers to the entity that directly caused the trigger. Like, for example, a player shoots a mob with a bow, the event/target entity is the mob, the source entity is the played and the immediate source entity is the arrow.
thankx
np