Skip to content

ComposterEmptyEvent 5.46.0 ​

class · pocketmine\event\block\ComposterEmptyEvent · source

Extends BlockEvent
Implements Cancellable

Properties ​

$compostLayer ​

php
public int $compostLayer

$drops ​

php
public array $drops

Methods ​

__construct() ​

php
public function __construct(\pocketmine\block\Block $block, int $compostLayer, array $drops)

getDrops() ​

php
public function getDrops() : array

getLayer() ​

php
public function getLayer() : int

setDrops() ​

php
public function setDrops(array $drops) : void

setLayer() ​

php
public function setLayer(int $layer) : void

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.