public function __construct(Vector3 $pos) { parent::__construct($pos, LevelEventPacket::EVENT_SOUND_ENDERMAN_TELEPORT); }
public function __construct(Vector3 $pos, $pitch = 0) { parent::__construct($pos, LevelEventPacket::EVENT_SOUND_CLICK, $pitch); }
public function __construct(Vector3 $pos, $instrument = self::INSTRUMENT_PIANO, $pitch = 0) { parent::__construct($pos, LevelEventPacket::EVENT_SOUND_ANVIL_BREAK, $pitch); $this->instrument = $instrument; $this->pitch = $pitch; }