|
GenisysPro
for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
|
Public Member Functions | |
| __construct (Human $human, float $amount, int $cause) | |
| getPlayer () | |
| getAmount () | |
| setAmount (float $amount) | |
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 | CAUSE_ATTACK = 1 |
| const | CAUSE_DAMAGE = 2 |
| const | CAUSE_MINING = 3 |
| const | CAUSE_HEALTH_REGEN = 4 |
| const | CAUSE_POTION = 5 |
| const | CAUSE_WALKING = 6 |
| const | CAUSE_SNEAKING = 7 |
| const | CAUSE_SWIMMING = 8 |
| const | CAUSE_JUMPING = 10 |
| const | CAUSE_CUSTOM = 11 |
| const | CAUSE_FLAG_SPRINT = 0x10000 |
Static Public Attributes | |
| static | $handlerList = null |
Additional Inherited Members | |
Protected Attributes inherited from PlayerEvent | |
| $player | |
Protected Attributes inherited from Event | |
| $eventName = null | |
| __construct | ( | Human | $human, |
| float | $amount, | ||
| int | $cause | ||
| ) |
PlayerExhaustEvent constructor.
| Human | $human | |
| float | $amount | |
| int | $cause |
| getPlayer | ( | ) |
|
static |
| const CAUSE_ATTACK = 1 |
| const CAUSE_CUSTOM = 11 |
| const CAUSE_DAMAGE = 2 |
| const CAUSE_FLAG_SPRINT = 0x10000 |
| const CAUSE_HEALTH_REGEN = 4 |
| const CAUSE_JUMPING = 10 |
| const CAUSE_MINING = 3 |
| const CAUSE_POTION = 5 |
| const CAUSE_SNEAKING = 7 |
| const CAUSE_SWIMMING = 8 |
| const CAUSE_WALKING = 6 |