free8605
看了http://mcbbs.tvt.im/thread-683179-1-1.html,自己设置老是失败
sounds.json:  都是小写字母
@⊙v⊙ 的格式:

  1. {
  2.   "music.environment.pling": {
  3.     "replace": false,
  4.     "sounds": [
  5.       {
  6.         "name": "music/environment/pling",
  7.         "volume": 1.0,
  8.         "pitch": 1.0,
  9.         "weight": 1,
  10.         "stream": true,
  11.         "type": "sound"
  12.       }
  13.     ]
  14.   }
  15. }
复制代码
@8784 的格式:




  1. {
  2.   "music.environment.pling": {
  3.     "category": ambient,
  4.     "sounds": [
  5.       {
  6.         "name": "music/environment/pling",
  7.         "stream": true,
  8.       }
  9.     ]
  10.   }
  11. }
复制代码



示例音乐文件位置:resources.zip\assets\minecraft\sounds\music\environment\pling.ogg

sounds.json位置:resources.zip\assets\minecraft\sounds.json
是从WIKI (http://minecraft-zh.gamepedia.com ) 下载的ogg音乐:




命令
  1. /playsound minecraft:music.environment.pling ambient @a ~ ~ ~
复制代码

求告知错在哪儿? 不要发教程链接/wiki之类


@chyx  @FHC红石  @Kedgeree@⊙v⊙  @8784




free8605
补充:    "pack_format": 3,

所以不要说pack.mcmeta的问题了
继续艾特上述没蓝的当事人
@Kedgeree      
@⊙v⊙

@8784  


8784
{
  "music.environment.pling": {
    "category": ambient,
    "sounds": [
      {
        "name": "music/environment/pling",
        "stream": true,
      }
    ]
  }
}

"stream": true,


先把逗号改掉试试看

free8605
8784 发表于 2017-4-16 10:39
{
  "music.environment.pling": {
    "category": ambient,

哦 逗号的事,设最佳前再问你下设置多个用逗号分开,在哪分?
{
  "music.environment.pling": {
    "category": ambient,
    "sounds": [
      {
        "name": "music/environment/pling",
        "stream": true,
      }
    ]
  }
}
,
{
  "music.environment.birds_screaming_loop": {
    "category": ambient,
    "sounds": [
      {
        "name": "music/environment/birds_screaming_loop",
        "stream": true,
      }
    ]
  }
}你给调整下怎么设置多个

8784
  1. {
  2.   "music.environment.pling": {
  3.     "category": ambient,
  4.     "sounds": [
  5.       {
  6.         "name": "music/environment/pling",
  7.         "stream": true
  8.       }
  9.     ]
  10. },
  11. "music.environment.birds_screaming_loop": {
  12.     "category": ambient,
  13.     "sounds": [
  14.       {
  15.         "name": "music/environment/birds_screaming_loop",
  16.         "stream": true
  17.       }
  18.     ]
  19.   }
  20. }
复制代码

这才是正确格式,如果要加第三个的话以此类推