BedrioxDOCUMENTATION
API CLASS

ComposterChangeEvent

Public class in Bedriox\Api\Event\Processing.

Bedriox\Api\Event\Processing\ComposterChangeEvent
classBedriox\Api\Event\Processing

Public methods

__construct(?Bedriox\Api\Player\Player $player, Bedriox\Api\World\BlockPosition $position, int $oldLevel, int $newLevel, Bedriox\Api\Processing\ComposterChangeCause $cause, ?Bedriox\Api\Inventory\ItemStack $item = null)

Typed public method.

newLevel(): int

Typed public method.

setNewLevel(int $level): void

Typed public method.

View exact source ↗