PocketMine
|
Public Member Functions | |
__construct (Player $who, Block $blockClicked, $blockFace, Item $bucket, Item $itemInHand) | |
getBucket () | |
getItem () | |
setItem (Item $item) | |
getBlockClicked () | |
getBlockFace () | |
Public Member Functions inherited from PlayerEvent | |
getPlayer () | |
Public Member Functions inherited from Event | |
getEventName () | |
getHandlers () | |
Public Member Functions inherited from Cancellable | |
isCancelled () | |
setCancelled ($value=true) | |
Additional Inherited Members | |
Protected Attributes inherited from PlayerEvent | |
$player | |
Protected Attributes inherited from Event | |
$eventName = null | |
Player | $who | |
Block | $blockClicked | |
int | $blockFace | |
Item | $bucket | |
Item | $itemInHand |
getBlockClicked | ( | ) |
getBlockFace | ( | ) |
getBucket | ( | ) |
Returns the bucket used in this event
getItem | ( | ) |
Returns the item in hand after the event
setItem | ( | Item | $item | ) |
Item | $item |