5

Custom Disc

Rodrigues 5/24/24 6:12 pm
453
5/27/2024 4:36 pm
Does anyone managed to make customs songs to work using the new commands for jukebox. In theory seems simple but there is no info to:

where should now the custom_music.ogg go on the resourcepack?



Ive been trying hard to make it work this command but till now no success...



/give Rodrigues minecraft:music_disc_11[minecraft:jukebox_playable={song:"custom_music", show_in_tooltip:true}] 1
Posted by
Rodrigues
Level 16 : Journeyman Miner
3

  Have something to say?

JoinSign in

2

Rodrigues
05/25/2024 11:47 pm
Level 16 : Journeyman Miner
history
Ive figured out the command was wrong it showld be:



/give Rodrigues minecraft:music_disc_11[​minecraft:jukebox_playable={song:"customdisc:imagine", show_in_tooltip:true}] 1



customdisc →the name of the datapack
imagine→ the name of the song file in json format



but still i cant make it play my songs.
1
Rodrigues
05/27/2024 4:36 pm
Level 16 : Journeyman Miner
Ive managed to make it work, i was using wrong tags to the musics, now it needs to be like this inside the folder jukebox_song:




music file → bestofus.json



{
"comparator_output": 15,
"description": "Best of Us - Wier",
"length_in_seconds": 220.0,
"sound_event": {
"sound_id": "minecraft:music_disc.bestofus"
}
}



then is the resourcespack its neede a tag to the music



custom_music_disc_pack/

├── assets/
│ └── minecraft/ → inside here it need to contain a file called sounds.json
│   └── sounds/
│     └── records/
│       └── custom_disc.ogg # Your custom music disc file





here is an example of that file sounds.json



{
  "music_disc.bestofus": {
    "sounds": [
        {
        "name": "records/bestofus"
        }
      ]
    }

}
1

Welcome