1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

add own sounds to pocketmine

Discussion in 'Development' started by Jules, Jul 6, 2018.

  1. Jules

    Jules Witch

    Messages:
    53
    GitHub:
    Julooooos
    hello i want to know if there's a way to add my own sounds on my code.
    PHP:
    $sound https://www.youtube.com/watch?v=rT2XkGfKG7A
    $player->getLevel()->addSound($sound);
     
  2. Michael Haufe

    Michael Haufe Silverfish

    Messages:
    16
    I think it is is not possible to run this in your way. Which Event would you prefer?
     
  3. Jules

    Jules Witch

    Messages:
    53
    GitHub:
    Julooooos
    look at this.
     
  4. Nora1903

    Nora1903 Slime

    Messages:
    82
    GitHub:
    cuongvnz
    I think he use resource pack which have his custom sound ^^
     
    corytortoise and Nawaf1b like this.
  5. Jules

    Jules Witch

    Messages:
    53
    GitHub:
    Julooooos
    Can you send me a link of a pack wich have sounds ?
     
  6. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    499
    GitHub:
    xXNiceYT
    How do u make it accept automatic when join :/
     
  7. Nora1903

    Nora1903 Slime

    Messages:
    82
    GitHub:
    cuongvnz
    He doesnt use server resource pack, maybe he use client resourcepack before joinning
     
  8. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    I don't know how he does it but FreeGamingHere sells that too.
     
  9. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    HimbeersaftLP likes this.
  10. Ayush

    Ayush Witch

    Messages:
    62
  11. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    This was from three years ago...

    You can use your own resourcepack and edit the default sounds!
    Then, you can make something like I did >:D
     
    Agent likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.