handleInteraction
Called internally when a player interacts with this packet entity. Should not be called directly - use setRightClickCallback instead.
Parameters
player
The player who interacted
isAttack
True if this was an attack (left-click), false if interact (right-click)
Called internally with the exact decoded packet action and hand.
The default adapts to the legacy boolean contract so packet entity implementations compiled against older MagmaCore releases remain usable.
Parameters
player
The player who interacted
context
The exact decoded interaction context