Posted September 2, 20196 yr I want to log whenever a sound is played from a source to the console. For example, if I am near an enemy, the console will log: (enemy, coordinates). I am new to modding Minecraft and I am trying to make my own audio mod. Thanks!
September 3, 20196 yr Use SoundEvent.SoundSourceEvent in your event handler. It gives you the source and sound of every sound that is played to the client.
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.