Difference between immediate and actual in DamageSource
OriginalNovember 10, 2024Less than 1 minute
Difference between immediate
and actual
in DamageSource
immediate
returns the direct attacker. actual
returns the owner of the damage.
For example, when a player shoots an arrow at an entity:
immediate
returnsArrow
actual
returnsPlayer