addLeftClickHandler

fun addLeftClickHandler(handler: L)

Adds a handler to this Hitbox that is called when a player left-clicks the hitbox.

The handler is invoked only when protection integrations allow the player to use the block at the hit position.