Posted March 10, 201411 yr So i updating my mod to 1.7.2 and i have an issue where SoundManager was removed. What i come up with so far: Renamed folde "sound" to "sounds"! Created a sounds.json file! My sounds.json: { "Barrelempty": {"category": "master","sounds": [{"name": "Barrelempty","stream": false}]}, "Barrelfill": {"category": "master","sounds": [{"name": "Barrelfill","stream": false}]}, "Candle": {"category": "master","sounds": [{"name": "Candle","stream": false}]}, "Candlepick": {"category": "master","sounds": [{"name": "Candlepick","stream": false}]}, "Flashlightoff": {"category": "master","sounds": [{"name": "Flashlightoff","stream": false}]}, "Flashlighton": {"category": "master","sounds": [{"name": "Flashlighton","stream": false}]}, "Lanternfuel": {"category": "master","sounds": [{"name": "Lanternfuel","stream": false}]}, "Lanternoff": {"category": "master","sounds": [{"name": "Lanternoff","stream": false}]}, "Lanternon": {"category": "master","sounds": [{"name": "Lanternon","stream": false}]}, "Lanternpick": {"category": "master","sounds": [{"name": "Lanternpick","stream": false}]} } So the problem is i can't play my sound. /playsound command and world.playSoundAtEntity not working for me! I got a little error: "Unable to play unknown soundEvent: fluffy:Flashlighton"
March 13, 201411 yr Author Okey there is my code: modid:Lantern Folder: assets.fluffy.sounds sounds.json: { "Candle": {"category": "master","sounds": [{"name": "Candle","stream": false}]} } Playing the sounds: world.playSoundAtEntity(player, "Lantern:Candle", 1F, 1F); Error: Unable to play unknown soundEvent: lantern:Candle Thanks for helping!
March 13, 201411 yr Okay okay. If you take a look. fluffy (is not the same as) lantern. It should be assets/lantern/sounds
March 14, 201411 yr Author I tryed with "lantern" but its not working. In 1.6.4 its was "fluffy" and its working. I think its not even registering my sounds.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.