Get entity that directly caused [damagesource]

Get entity that directly caused [damagesource]. Procedure block in the damage category. It gives back a entity value.

C Get entity that directly caused damagesource
Category
Damage
Block type
Value block (plugs into another block)
Returns
Entity
Needs
Nothing extra
Works with
NeoForge 26.1.2NeoForge 1.21.1

Inputs

InputKindAccepts
damagesourcePlug-in valueDamageSource