Called on both the client by Architectury API and the server by Staff Mod, when an entity attacks thin air with a staff.
The item stack used to perform the action
The world the attacker is in
The entity, which attacked with the staff
The hand of the attacker, in which the staff is