|
Genisys
Genisys API 1.9.3
A server software for Minecraft: Pocket Edition with many features
|
Public Member Functions | |
| __construct (Player $player, Item $item, Vector3 $block, $face, $action=PlayerInteractEvent::RIGHT_CLICK_BLOCK) | |
| getAction () | |
| getItem () | |
| getBlock () | |
| getTouchVector () | |
| getFace () | |
Public Member Functions inherited from PlayerEvent | |
| getPlayer () | |
Public Member Functions inherited from Event | |
| getEventName () | |
| getHandlers () | |
Public Member Functions inherited from Cancellable | |
| isCancelled () | |
| setCancelled ($forceCancel=false) | |
Data Fields | |
| const | LEFT_CLICK_BLOCK = 0 |
| const | RIGHT_CLICK_BLOCK = 1 |
| const | LEFT_CLICK_AIR = 2 |
| const | RIGHT_CLICK_AIR = 3 |
| const | PHYSICAL = 4 |
Static Public Attributes | |
| static | $handlerList = null |
Protected Attributes | |
| $blockTouched | |
| $touchVector | |
| $blockFace | |
| $item | |
| $action | |
Protected Attributes inherited from PlayerEvent | |
| $player | |
Protected Attributes inherited from Event | |
| $eventName = null | |
Called when a player interacts or touches a block (including air?)
| getAction | ( | ) |
| getBlock | ( | ) |
| getFace | ( | ) |
| getItem | ( | ) |
| getTouchVector | ( | ) |