Unable to replace the player death sound with custom sound
I can't seem to find a recent enough tutorial that show me how the sounds.json file should look (I'm in 1.21.10 btw). The wiki confuses me too much and it's example is pre 1.10 I believe.
Here's what I got in the sounds.json:
{
"entity.player.death": {
"replace": true,
"subtitle": "subtitle.entity.player.death",
"sounds": [
{
"custom_carnage:custom\death",
"name": "custom_carnage:custom\death",
"volume": 1.0,
"pitch": 1.0,
"weight": 1,
"stream": false,
"attenuation_distance": 16,
"preload": false,
"type": "file"
}
]
}
Here's what I got in the sounds.json:
{
"entity.player.death": {
"replace": true,
"subtitle": "subtitle.entity.player.death",
"sounds": [
{
"custom_carnage:custom\death",
"name": "custom_carnage:custom\death",
"volume": 1.0,
"pitch": 1.0,
"weight": 1,
"stream": false,
"attenuation_distance": 16,
"preload": false,
"type": "file"
}
]
}
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
\`\`\`json
"sounds": \[
{
"name": "custom\_carnage:custom/death",
"volume": 1.0,
"pitch": 1.0
}
\]
\`\`\`
Also use forward slashes not backslashes for the path
I haven’t tried it on the newest versions though.
[https://minecraft.wiki/w/Tutorial:Creating\_a\_resource\_pack](https://minecraft.wiki/w/Tutorial:Creating_a_resource_pack)