|
GenisysPro
for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
|
Public Member Functions | |
| __construct (Entity $entity, $amount, $regainReason) | |
| getAmount () | |
| setAmount ($amount) | |
| getRegainReason () | |
Public Member Functions inherited from EntityEvent | |
| getEntity () | |
Public Member Functions inherited from Event | |
| getEventName () | |
| getHandlers () | |
Public Member Functions inherited from Cancellable | |
| isCancelled () | |
| setCancelled ($forceCancel=false) | |
Data Fields | |
| const | CAUSE_REGEN = 0 |
| const | CAUSE_EATING = 1 |
| const | CAUSE_MAGIC = 2 |
| const | CAUSE_CUSTOM = 3 |
| const | CAUSE_SATURATION = 4 |
Static Public Attributes | |
| static | $handlerList = null |
Additional Inherited Members | |
Protected Attributes inherited from EntityEvent | |
| $entity | |
Protected Attributes inherited from Event | |
| $eventName = null | |
| __construct | ( | Entity | $entity, |
| $amount, | |||
| $regainReason | |||
| ) |
| Entity | $entity | |
| float | $amount | |
| int | $regainReason |
|
static |
| const CAUSE_CUSTOM = 3 |
| const CAUSE_EATING = 1 |
| const CAUSE_MAGIC = 2 |
| const CAUSE_REGEN = 0 |
| const CAUSE_SATURATION = 4 |