예제 #1
0
 public function __construct(Vector3 $pos)
 {
     parent::__construct($pos, LevelEventPacket::EVENT_SOUND_ENDERMAN_TELEPORT);
 }
예제 #2
0
 public function __construct(Vector3 $pos, $pitch = 0)
 {
     parent::__construct($pos, LevelEventPacket::EVENT_SOUND_CLICK, $pitch);
 }
예제 #3
0
 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;
 }