4

Custom Disc

Rodrigues's Avatar Rodrigues5/24/24 6:12 pm
4 emeralds 129 2
5/27/2024 4:36 pm
Rodrigues's Avatar Rodrigues
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's Avatar
Rodrigues
Level 7 : Apprentice Miner
1

Create an account or sign in to comment.

2

Rodrigues
05/25/2024 11:47 pm
Level 7 : Apprentice Miner
history
Rodrigues's Avatar
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 7 : Apprentice Miner
Rodrigues's Avatar
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
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome