Posted September 18, 20196 yr i want to play the player a sound i tried that player.playSound(new SoundEvent(new ResourceLocation("random.explode")), 1f, 1f); i also used instead of random.explode other resourcelocations from the SoundEvents class but i dont get a sound returned
September 19, 20196 yr Author im sure my method get called because i could pickup my item from my container it did a sysout but not the sound a line under it. I also followed the documentation and tried to look in to other classed but i didnt found an example for sound played
September 19, 20196 yr Author oh damn i didnt readed that only this player will not hear the sound, ok now it works for me thx XD
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.