|
GenisysPro
for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
|
Public Member Functions | |
| __construct ($id, $name, $minValue, $maxValue, $defaultValue, $shouldSend=true) | |
| getMinValue () | |
| setMinValue ($minValue) | |
| getMaxValue () | |
| setMaxValue ($maxValue) | |
| getDefaultValue () | |
| setDefaultValue ($defaultValue) | |
| getValue () | |
| setValue ($value, bool $fit=true, bool $shouldSend=false) | |
| getName () | |
| getId () | |
| isSyncable () | |
| isDesynchronized () | |
| markSynchronized (bool $synced=true) | |
Static Public Member Functions | |
| static | init () |
| static | addAttribute ($id, $name, $minValue, $maxValue, $defaultValue, $shouldSend=true) |
| static | getAttribute ($id) |
| static | getAttributeByName ($name) |
Data Fields | |
| const | ABSORPTION = 0 |
| const | SATURATION = 1 |
| const | EXHAUSTION = 2 |
| const | KNOCKBACK_RESISTANCE = 3 |
| const | HEALTH = 4 |
| const | MOVEMENT_SPEED = 5 |
| const | FOLLOW_RANGE = 6 |
| const | HUNGER = 7 |
| const | FOOD = 7 |
| const | ATTACK_DAMAGE = 8 |
| const | EXPERIENCE_LEVEL = 9 |
| const | EXPERIENCE = 10 |
Protected Attributes | |
| $minValue | |
| $maxValue | |
| $defaultValue | |
| $currentValue | |
| $name | |
| $shouldSend | |
| $desynchronized = true | |
Static Protected Attributes | |
| static | $attributes = [] |
| __construct | ( | $id, | |
| $name, | |||
| $minValue, | |||
| $maxValue, | |||
| $defaultValue, | |||
$shouldSend = true |
|||
| ) |
|
static |
| int | $id | |
| string | $name | |
| float | $minValue | |
| float | $maxValue | |
| float | $defaultValue | |
| bool | $shouldSend |
|
static |
|
static |
| $name |
| getDefaultValue | ( | ) |
| getMaxValue | ( | ) |
| getMinValue | ( | ) |
| getName | ( | ) |
| getValue | ( | ) |
|
static |
| isDesynchronized | ( | ) |
| isSyncable | ( | ) |
| markSynchronized | ( | bool | $synced = true | ) |
| setDefaultValue | ( | $defaultValue | ) |
| $defaultValue |
| setMaxValue | ( | $maxValue | ) |
| $maxValue |
| setMinValue | ( | $minValue | ) |
| $minValue |
| setValue | ( | $value, | |
| bool | $fit = true, |
||
| bool | $shouldSend = false |
||
| ) |
| $value | ||
| bool | $fit | |
| bool | $shouldSend |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| const ABSORPTION = 0 |
| const ATTACK_DAMAGE = 8 |
| const EXHAUSTION = 2 |
| const EXPERIENCE = 10 |
| const EXPERIENCE_LEVEL = 9 |
| const FOLLOW_RANGE = 6 |
| const FOOD = 7 |
| const HEALTH = 4 |
| const HUNGER = 7 |
| const KNOCKBACK_RESISTANCE = 3 |
| const MOVEMENT_SPEED = 5 |
| const SATURATION = 1 |