看了http://mcbbs.tvt.im/thread-683179-1-1.html,自己设置老是失败
sounds.json: 都是小写字母
@⊙v⊙ 的格式:
复制代码@8784 的格式:
复制代码
示例音乐文件位置:resources.zip\assets\minecraft\sounds\music\environment\pling.ogg
sounds.json位置:resources.zip\assets\minecraft\sounds.json
是从WIKI (http://minecraft-zh.gamepedia.com ) 下载的ogg音乐:

命令
复制代码
求告知错在哪儿? 不要发教程链接/wiki之类
@chyx @FHC红石 @Kedgeree@⊙v⊙ @8784
sounds.json: 都是小写字母
@⊙v⊙ 的格式:
- {
- "music.environment.pling": {
- "replace": false,
- "sounds": [
- {
- "name": "music/environment/pling",
- "volume": 1.0,
- "pitch": 1.0,
- "weight": 1,
- "stream": true,
- "type": "sound"
- }
- ]
- }
- }
- {
- "music.environment.pling": {
- "category": ambient,
- "sounds": [
- {
- "name": "music/environment/pling",
- "stream": true,
- }
- ]
- }
- }
示例音乐文件位置:resources.zip\assets\minecraft\sounds\music\environment\pling.ogg
sounds.json位置:resources.zip\assets\minecraft\sounds.json
是从WIKI (http://minecraft-zh.gamepedia.com ) 下载的ogg音乐:

命令
- /playsound minecraft:music.environment.pling ambient @a ~ ~ ~
求告知错在哪儿? 不要发教程链接/wiki之类
@chyx @FHC红石 @Kedgeree@⊙v⊙ @8784
{
"music.environment.pling": {
"category": ambient,
"sounds": [
{
"name": "music/environment/pling",
"stream": true,
}
]
}
}
先把逗号改掉试试看
"music.environment.pling": {
"category": ambient,
"sounds": [
{
"name": "music/environment/pling",
"stream": true,
}
]
}
}
"stream": true,
先把逗号改掉试试看
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,
}
]
}
}你给调整下怎么设置多个
- {
- "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
- }
- ]
- }
- }
这才是正确格式,如果要加第三个的话以此类推