
Resource Pack Not Working (1.21.1 - Fabric 0.16.9)
S0ullessW0lf404 opened this issue · 4 comments
Hello, is there a certain problem that doesn't allow me to load correctly the info of the music I wan't to load on the notification toast?
I followed the guide all I could, but I didn't manage to make my resource pack to work not even cover png, I don't know what is causing this, because inside of the "minecraft" assets folder I have the "music" folder, and then a set of folders where I store the music files.
On the "musicnotification" assets folder I've the "musics.json" with the info to add on the toast, but It just doesn't work, instead it show the name of the file as the title, Minecraft as the author and the file path as the album, I even tried to edit both "A Familiar Room" and "An Ordinary Day" info, but instead the info displayed on the toast is the one the mod already has loaded.
Trying to load the info of the file located on "minecraft/music/marnie/anna.ogg"
Trying to edit the info of both A Familiar Room and An Ordinary Day
I'm leaving a portion of the resource pack I've made with one file to see if you can help me with this, because it's even strange I cannot even modify the default music info displayed by the toast, if there's anyone else that can help with this, I would aprecciate the help too.
Hello,
To register an entry I need to have a sound event so I can play the music in the jukebox, since tracks in ambient sound (like music.game, music.menu etc...) are not regulars sound event, i can't get a specitic track from the list, this is what I added a custom sound event for every ambient sound's in the game, (ex: music/game/a_familiar_room
is an ambiant sound for music.game
so for it to be played in the jukebox i added a sound event mn.minecraft.music.game.a_familiar_room
) and set the value customId
in musics.json like so:
"minecraft:music/game/a_familiar_room": {
"album": "Trails & Tailes Update No.2",
"author": "Aaron Cherof",
"cover": "trails_and_tales_ost",
"customId": "musicnotification:mn.minecraft.music.game.a_familiar_room",
"title": "A Familiar Room"
},
So you need to add 2 sound events, one that add an track to music.menu
like you did, and one for it to be played in the jukebox and to be added in customId
sounds.json
"marnie.anna": {
"sounds": [
{
"name": "music/marnie/anna", "stream": true
}
]
}
musics.json
"minecraft:music/marnie/anna": {
"album": "When Marnie Was There",
"author": "Pidalso",
"cover": "wild_update_ost",
"title": "Anna",
"customId": "minecraft:marnie.anna"
}
Hello, I tested the resource pack as you gave it, but I think It doesn't work, it shows the toast as the one I put on the issue post unfortunately, I even tried to add the sounds.json, on the musicnotification assets folder, but it doesn't work
I figured it out, you need to have the resource pack enable on your client when the game starts
Which version are you using?
Could you try with this version, on my computer it's working fine without having the resource pack enable before starting the game (remove .zip on the file name)
MusicNotification-fabric-mc1.21-2.1.0b.jar.zip
I tested everything, but it doesn't work unless the resource pack is loaded from the very start as you say, and regarding the version you say, the one from the game and mod client is on the title, if it's from the mod is the "Music Notification 2.1.0", but everything works fine as long as I have it loaded from start