Skip to content

Sounds not playing #2018

Answered by warjort
Uskoe asked this question in Mod Dev Support
Discussion options

You must be logged in to vote

The first thing to check is that the sounds are getting loaded.

Resource loading doesn't give errors unless there is something seriously wrong.
Instead you get warnings or it will just ignore you if it is confused or doesn't understand.

  • Look for warnings related to your sounds in log/latest.log
    These will be after where it prints the list of mods when it does the "Reloading Resource Manager"
  • See if you can play your sounds with the playsound command
    https://minecraft.fandom.com/wiki/Commands/playsound
  • Use the MinecraftClient.getSoundManager() to see if the resource loading loaded the correct information for your sound(s)
  • Check your sounds are in the correct place in your source tree/jar,…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Uskoe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants