BedrioxDOCUMENTATION
API CLASS

PlayerItemConsumedEvent

Immutable notification emitted after consumption and residue routing commit.

Bedriox\Api\Event\Player\PlayerItemConsumedEvent
classBedriox\Api\Event\Player

Public methods

__construct(Bedriox\Api\Player\Player $player, Bedriox\Api\Inventory\ItemStack $item, Bedriox\Api\Player\Nutrition $previousNutrition, Bedriox\Api\Player\Nutrition $nutrition, Bedriox\Api\Inventory\ConsumptionResult $result)

Typed public method.

View exact source ↗