mobInteract
open fun mobInteract(player: Player, hand: InteractionHand): InteractionResult
Content copied to clipboard
Handles interaction (right clicking on the NPC).
Return
PASS if NPC has a right click action, otherwise FAIL
Parameters
player
player interacting with NPC
hand
player's interacting hand