PrivateconstructorOptionaloptions: EntityEventOptionsThis function can't be called in restricted-execution mode.
early-execution-allowed - This function can be called in early-execution mode.
This function can't be called in restricted-execution mode.
early-execution-allowed - This function can be called in early-execution mode.
Manages callbacks that are connected to when an entity makes a melee attack on another entity.
Source