RecordSound
Implements Sound
Methods
__construct()
php
public function __construct(\pocketmine\block\utils\RecordType $recordType)encode()
php
public function encode(\pocketmine\math\Vector3 $pos) : arraygetSoundName() 5.46.0
php
public static function getSoundName(\pocketmine\block\utils\RecordType $recordType) : stringReturns the sound event name the client plays for this record (also used to stop it).
