Beta
Manages callbacks that run before a player attacks an entity through an item interaction.
This closure is called with restricted-execution privilege.
Closure that is called with restricted-execution privilege.
Adds a callback that runs before a player attacks an entity through an item interaction.
no-restricted-execution - This function can't be called in restricted-execution mode.
early-execution-allowed - This function can be called in early-execution mode.
Removes a callback from this event signal.
Manages callbacks that run before a player attacks an entity through an item interaction.