|
PocketMine
|
Public Member Functions | |
| __construct (Player $player, Block $blockPlace, Block $blockReplace, Block $blockAgainst, Item $item) | |
| getPlayer () | |
| getItem () | |
| getBlockReplaced () | |
| getBlockAgainst () | |
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 | |
| $blockReplace | |
| $blockAgainst | |
Protected Attributes inherited from BlockEvent | |
| $block | |
Protected Attributes inherited from Event | |
| $eventName = null | |
Called when a player places a block
| getItem | ( | ) |
Gets the item in hand