Posted 09 October 2018 - 12:34 PM
So I've learnt how to play a sound with a speaker peripheral:
However, it would be cool if you could play sounds from other mods:
I got that sound name from the draconic evolution 'sounds.jar' file:
Thanks!
s = peripheral.wrap("top")
s.playSound("minecraft:weather.rain")
However, it would be cool if you could play sounds from other mods:
-- this does not work
s = peripheral.wrap("top")
s.playSound("draconicevolution:charge")
I got that sound name from the draconic evolution 'sounds.jar' file:
"charge": {
"category": "block",
"sounds": [
{
"name": "draconicevolution:charge",
"stream": false
}
]
}
My questions is, is it possible to play sounds from other mods through the CC speaker? If so, how?Thanks!