interact

open fun interact(player: Player, world: Level, hand: InteractionHand, blockHitResult: BlockHitResult): InteractionResult

Used if player is in path edit mode. Interacted blocks are removed from the path of selected org.samo_lego.taterzens.npc.TaterzenNPC.

Return

FAIL if player has selected NPC and is in path edit mode, otherwise PASS.

Parameters

player

player breaking the block

world

world where block is being broken

blockHitResult

hit result to the block