AlmostReliable / ponderjs

A Minecraft mod for packdevs to create custom Ponder scenes with KubeJS.
https://www.curseforge.com/minecraft/mc-mods/ponder
MIT License
26 stars 5 forks source link

Add scene.playSound #6

Closed Ludi87 closed 2 years ago

Ludi87 commented 2 years ago

Proposed Changes

Adds 3 methods to play Sounds.

Additional Context

Demo example

scene.playSound("botania:endoflame", "BLOCKS", 1, 0.5)
    scene.idle(40);
scene.playSound("entity.enderman.death", "AMBIENT", 0.1)
    scene.idle(40);
scene.playSound("entity.zombie.ambient", "RECORDS")