public function decode()
{
$this->sound = $this->getByte();
$this->getVector3f($this->x, $this->y, $this->z);
$this->type = $this->getVarInt();
$this->pitch = $this->getVarInt();
$this->unknownBool = $this->getBool();
$this->unknownBool2 = $this->getBool();
print $this->sound;
print $this->unknownBool;
print $this->unknownBool2;
}