Posted December 3, 201411 yr I was wondering how to use "world.playSound". I put it in my block's updateTick (it's set to randomly update) and it didn't work. world.playSound((double)x, (double)y, (double)z, "random.explode1", 100F, 1F, true); this doesn't work (no sound is played and no crashes), any help is appreciated. The proud(ish) developer of Ancients
December 4, 201411 yr Author Then what are the explosion sounds called? I'm in 1.7.2 and I even checked in the eclipse folder to make sure it was right... The proud(ish) developer of Ancients
December 4, 201411 yr random.explode works if you use World.playSoundEffect. http://www.slothygaming.com/img/ota.png[/img] If your grammar is shit and you blatantly don't know what you're doing, I will not help you.
December 4, 201411 yr Author "[15:37:18] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:random.explosion" It still doesn't work. Whats the sound called? Do I have to use the entire path? EDIT: Nevermind, I put explosion instead of explode, it works now. Thanks! The proud(ish) developer of Ancients
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.