|
| __construct ($id, $name, $r, $g, $b, $isBad=false) |
|
| getName () |
|
| getId () |
|
| setDuration ($ticks) |
|
| getDuration () |
|
| isVisible () |
|
| setVisible ($bool) |
|
| getAmplifier () |
|
| setAmplifier ($amplifier) |
|
| isAmbient () |
|
| setAmbient ($ambient=true) |
|
| isBad () |
|
| canTick () |
|
| applyEffect (Entity $entity) |
|
| getColor () |
|
| setColor ($r, $g, $b) |
|
| add (Entity $entity, $modify=false) |
|
| remove (Entity $entity) |
|
static | init () |
|
static | getEffect ($id) |
|
static | getEffectByName ($name) |
|
const | SPEED = 1 |
|
const | SLOWNESS = 2 |
|
const | HASTE = 3 |
|
const | SWIFTNESS = 3 |
|
const | FATIGUE = 4 |
|
const | MINING_FATIGUE = 4 |
|
const | STRENGTH = 5 |
|
const | JUMP = 8 |
|
const | NAUSEA = 9 |
|
const | CONFUSION = 9 |
|
const | REGENERATION = 10 |
|
const | DAMAGE_RESISTANCE = 11 |
|
const | FIRE_RESISTANCE = 12 |
|
const | WATER_BREATHING = 13 |
|
const | INVISIBILITY = 14 |
|
const | WEAKNESS = 18 |
|
const | POISON = 19 |
|
const | WITHER = 20 |
|
const | HEALTH_BOOST = 21 |
|
| $id |
|
| $name |
|
| $duration |
|
| $amplifier |
|
| $color |
|
| $show = true |
|
| $ambient = false |
|
| $bad |
|
static | $effects |
|
The documentation for this class was generated from the following file:
- /Users/Kids/Desktop/Doxygen/pocketmine/entity/InstantEffect.php