作者:robske11
项目:ClearSk
public function __construct(Vector3 $pos, $instrument = self::INSTRUMENT_PIANO, $pitch = 0)
{
parent::__construct($pos, 64, $pitch);
$this->instrument = $instrument;
$this->pitch = $pitch;
$this->type = $this->instrument;
$this->unknownBool = true;
$this->unknownBool2 = true;
}
作者:robske11
项目:ClearSk
public function __construct(Block $b)
{
$this->data = $b->getId();
parent::__construct($b, 'break', $this->data, $pitch = 0);
}
作者:ClearSkyTea
项目:ClearSk
public function __construct(Vector3 $pos)
{
parent::__construct($pos, 'mob.endermen.portal');
}
作者:orlando09
项目:ImagicalMin
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;
}
作者:ClearSkyTea
项目:ClearSk
public function __construct(Vector3 $pos, $pitch = 0)
{
parent::__construct($pos, 'mob.ghast.fireball', $pitch);
}
作者:beito12
项目:PocketMine-MP-Plugin
public function __construct(Vector3 $pos, $pitch = 0)
{
parent::__construct($pos, MainCLass::EVENT_SOUND_EXPLODE, $pitch);
}
作者:owense
项目:PocketMine-0.13.
public function __construct(Vector3 $pos, $pitch = 0)
{
parent::__construct($pos, LevelEventPacket::EVENT_SOUND_ANVIL_FALL, $pitch);
}
作者:xHF
项目:ImagicalMin
public function __construct(Vector3 $pos, $pitch = 0)
{
parent::__construct($pos, LevelEventPacket::EVENT_SOUND_GHAST_SHOOT, $pitch);
}
作者:beito12
项目:PocketMine-MP-Plugin
public function __construct(Vector3 $pos, $pitch = 0)
{
parent::__construct($pos, MainCLass::EVENT_SOUND_GRAY_SPLASH, $pitch);
}
作者:iTXTec
项目:Genisy
public function __construct(Vector3 $pos, $pitch = 0)
{
parent::__construct($pos, LevelEventPacket::EVENT_SOUND_EXP_PICKUP, $pitch);
}
作者:ClearSkyTea
项目:ClearSk
public function __construct(Vector3 $pos, $pitch = 1000)
{
parent::__construct($pos, 'random.click', $pitch);
}
作者:iTXTec
项目:Genisy
public function __construct(Block $b)
{
parent::__construct($b, LevelEventPacket::EVENT_SOUND_BLOCK_PLACE);
$this->data = $b->getId();
}
作者:ClearSkyTea
项目:ClearSk
public function __construct(Block $b)
{
parent::__construct($b, '');
#$this->data = $b->getId();
}
作者:xpyctu
项目:Genisy
public function __construct(Vector3 $pos)
{
parent::__construct($pos, LevelEventPacket::EVENT_SOUND_BUTTON_CLICK);
}
作者:MrDoni9
项目:Genisy
public function __construct(Vector3 $pos, $instrument = self::INSTRUMENT_PIANO, $pitch = 0)
{
parent::__construct($pos, 0, $pitch);
$this->instrument = $instrument;
$this->pitch = $pitch;
}
作者:beito12
项目:PocketMine-MP-Plugin
public function __construct($id, Vector3 $pos, $pitch = 0)
{
parent::__construct($pos, $id, $pitch);
}
作者:xHF
项目:ImagicalMin
public function __construct(Vector3 $pos, $pitch = 0)
{
parent::__construct($pos, LevelEventPacket::EVENT_SOUND_DOOR_CRASH, $pitch);
}
作者:orlando09
项目:ImagicalMin
public function __construct(Vector3 $pos, $pitch = 50)
{
parent::__construct($pos, LevelEventPacket::EVENT_SOUND_BUTTON_RETURN, $pitch);
}
作者:mattiasaxelsso
项目:PocketMine-M
public function __construct(Vector3 $pos, $pitch = 0)
{
parent::__construct($pos, 1002, $pitch);
}
作者:xpyctu
项目:PocketMinePlusPlu
public function __construct(Vector3 $pos, $pitch = 0)
{
parent::__construct($pos, LevelEventPacket::EVENT_SOUND_ZOMBIE_HEAL, $pitch);
}