GenisysPro  for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
InstantEffect Class Reference

Additional Inherited Members

- Public Member Functions inherited from Effect
 __construct ($id, $name, $r, $g, $b, $isBad=false)
 
 getName ()
 
 getId ()
 
 setDuration ($ticks)
 
 getDuration ()
 
 isVisible ()
 
 setVisible ($bool)
 
 getAmplifier ()
 
 setAmplifier (int $amplifier)
 
 isAmbient ()
 
 setAmbient ($ambient=true)
 
 isBad ()
 
 canTick ()
 
 applyEffect (Entity $entity)
 
 getColor ()
 
 setColor ($r, $g, $b)
 
 add (Entity $entity, $modify=false, Effect $oldEffect=null)
 
 remove (Entity $entity)
 
- Static Public Member Functions inherited from Effect
static init ()
 
static getEffect ($id)
 
static getEffectByName ($name)
 
- Data Fields inherited from Effect
const SPEED = 1
 
const SLOWNESS = 2
 
const HASTE = 3
 
const SWIFTNESS = 3
 
const FATIGUE = 4
 
const MINING_FATIGUE = 4
 
const STRENGTH = 5
 
const HEALING = 6
 
const HARMING = 7
 
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 BLINDNESS = 15
 
const NIGHT_VISION = 16
 
const HUNGER = 17
 
const WEAKNESS = 18
 
const POISON = 19
 
const WITHER = 20
 
const HEALTH_BOOST = 21
 
const ABSORPTION = 22
 
const SATURATION = 23
 
const LEVITATION = 24
 
const MAX_DURATION = 2147483648
 
- Protected Attributes inherited from Effect
 $id
 
 $name
 
 $duration
 
 $amplifier = 0
 
 $color
 
 $show = true
 
 $ambient = false
 
 $bad
 
- Static Protected Attributes inherited from Effect
static $effects
 

The documentation for this class was generated from the following file: