public function __construct(Vector3 $pos)
 {
     parent::__construct($pos, Particle::TYPE_MOB_SPELL_INSTANTANEOUS);
 }
Esempio n. 2
0
 public function __construct(Vector3 $pos)
 {
     parent::__construct($pos, Particle::TYPE_PORTAL);
 }
Esempio n. 3
0
 public function __construct(Vector3 $pos)
 {
     parent::__construct($pos, Particle::TYPE_DRIP_LAVA);
 }
Esempio n. 4
0
 public function __construct(Vector3 $pos, $scale = 2)
 {
     parent::__construct($pos, Particle::TYPE_CRITICAL, $scale);
 }
Esempio n. 5
0
 public function __construct(Vector3 $pos, $scale = 0)
 {
     parent::__construct($pos, Particle::TYPE_SMOKE, (int) $scale);
 }
Esempio n. 6
0
 public function __construct(Vector3 $pos, $scale = 0)
 {
     parent::__construct($pos, Particle::TYPE_HEART, $scale);
 }
Esempio n. 7
0
 public function __construct(Vector3 $pos)
 {
     parent::__construct($pos, Particle::TYPE_WATER_WAKE);
 }
Esempio n. 8
0
 public function __construct(Vector3 $pos, $lifetime = 1)
 {
     parent::__construct($pos, Particle::TYPE_REDSTONE, $lifetime);
 }
Esempio n. 9
0
 public function __construct(Vector3 $pos, $r = 0, $g = 0, $b = 0, $a = 255)
 {
     parent::__construct($pos, LevelEventPacket::EVENT_PARTICLE_SPLASH, ($a & 0xff) << 24 | ($r & 0xff) << 16 | ($g & 0xff) << 8 | $b & 0xff);
 }
Esempio n. 10
0
 public function __construct(Vector3 $pos, Block $b)
 {
     parent::__construct($pos, Particle::TYPE_TERRAIN, $b->getDamage() << 8 | $b->getId());
 }
Esempio n. 11
0
 public function __construct(Vector3 $pos)
 {
     parent::__construct($pos, Particle::TYPE_TOWN_AURA);
 }
 public function __construct(Vector3 $pos)
 {
     parent::__construct($pos, Particle::TYPE_RAIN_SPLASH);
 }
 public function __construct(Vector3 $pos)
 {
     parent::__construct($pos, Particle::TYPE_VILLAGER_ANGRY);
 }
Esempio n. 14
0
 public function __construct(Vector3 $pos, $r, $g, $b, $a = 255)
 {
     parent::__construct($pos, Particle::TYPE_DUST, ($a & 0xff) << 24 | ($r & 0xff) << 16 | ($g & 0xff) << 8 | $b & 0xff);
 }
Esempio n. 15
0
 public function __construct(Vector3 $pos)
 {
     parent::__construct($pos, Particle::TYPE_HUGE_EXPLODE);
 }
Esempio n. 16
0
 public function __construct(Vector3 $pos, Item $item)
 {
     parent::__construct($pos, Particle::TYPE_ITEM_BREAK, $item->getId() << 16 | $item->getDamage());
 }
 public function __construct(Vector3 $pos)
 {
     parent::__construct($pos, Particle::TYPE_ENCHANTMENT_TABLE);
 }
Esempio n. 18
0
 public function __construct(Vector3 $pos)
 {
     parent::__construct($pos, Particle::TYPE_MOB_FLAME);
 }