PocketMine
|
Public Member Functions | |
__construct (Player $player, Block $block, Item $item, $instaBreak=false) | |
getPlayer () | |
getItem () | |
getInstaBreak () | |
getDrops () | |
setDrops (array $drops) | |
setInstaBreak ($instaBreak) | |
Public Member Functions inherited from BlockEvent | |
__construct (Block $block) | |
getBlock () | |
Public Member Functions inherited from Event | |
getEventName () | |
getHandlers () | |
Public Member Functions inherited from Cancellable | |
isCancelled () | |
setCancelled ($value=true) | |
Static Public Attributes | |
static | $handlerList = null |
Protected Attributes | |
$player | |
$item | |
$instaBreak = false | |
$blockDrops = [] | |
Protected Attributes inherited from BlockEvent | |
$block | |
Protected Attributes inherited from Event | |
$eventName = null | |
getDrops | ( | ) |
setDrops | ( | array | $drops | ) |
Item[] | $drops |
setInstaBreak | ( | $instaBreak | ) |
boolean | $instaBreak |