BedrioxDOCUMENTATION
API CLASS

PlayerInteractBlockEvent

Public class in Bedriox\Api\Event\Block.

Bedriox\Api\Event\Block\PlayerInteractBlockEvent
classBedriox\Api\Event\Block

Public methods

__construct(Bedriox\Api\Player\Player $player, Bedriox\Api\World\Block $block, Bedriox\Api\Event\Block\BlockInteractionType $interaction, Bedriox\Api\World\BlockFace $face, float $hitX, float $hitY, float $hitZ, ?Bedriox\Api\Inventory\ItemStack $heldItem = null)

Typed public method.

View exact source ↗