Skip to content

ByAlperenS/CustomSound

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CustomSound V1

NOTE: Sound Files In This Pack Are Not Mine!

Links:

How to Install

Add CustomSound.zip file from this project to resource_packs folder. Then open resource_packs.yml and type CustomSound.zip in resource_stack

Use:

use pocketmine\network\mcpe\protocol\PlaySoundPacket;
use pocketmine\Player;

Usage:

$packet = new PlaySoundPacket();
$packet->soundName = "custom.sound.cave";
$packet->x = $sender->getX();
$packet->y = $sender->getY();
$packet->z = $sender->getZ();
$packet->volume = 1;
$packet->pitch = 1;
$sender->sendDataPacket($packet);

Contact:

If you want more sounds added, you can contact me on Discord!

Discord: ByAlperenS#2447

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published