Added some types of Particles, Block break particles

This commit is contained in:
Shoghi Cervantes
2015-03-13 14:24:19 +01:00
parent 1ce7cc64a6
commit e48a3e5713
8 changed files with 188 additions and 4 deletions

View File

@ -65,7 +65,7 @@ interface Info{
const LEVEL_EVENT_PACKET = 0x96;
const TILE_EVENT_PACKET = 0x97;
const ENTITY_EVENT_PACKET = 0x98;
//const MOB_EFFECT_paCKET = 0x99;
//const MOB_EFFECT_PACKET = 0x99;
const PLAYER_EQUIPMENT_PACKET = 0x9a;
const PLAYER_ARMOR_EQUIPMENT_PACKET = 0x9b;

View File

@ -46,9 +46,9 @@ class LevelEventPacket extends DataPacket{
$this->reset();
$this->putShort($this->evid);
$this->putInt($this->x);
$this->putShort($this->y);
$this->putByte($this->y);
$this->putInt($this->z);
$this->putInt($this->data);
}
}
}