#Error in adding-new-features/jukebox-songs
1 messages · Page 1 of 1 (latest)
Learn how to create custom music discs and custom jukebox songs with Minecraft datapacks
the problem is exactly what the output log already tells you
put playable="nophunintended:lovely"
yes
😭
well, the Minecraft wiki has the correct information
well, the most reliable source on that would be the game files themselves, which are mirrored here:
https://github.com/misode/mcmeta/blob/summary/item_components/data.json#L15987
er?
/give @s minecraft:stick[minecraft:jukebox_playable="nophunintended:lovely"]
whole command
so it says that the jukebox song doesn't exist
do you have logs enabled
elaborate?
yes (im using prism)
i did this for organisation
is there anything showing up in your logs regarding your track
i see
i was unsure about doing this
guess i was right
ghashgdsh what
fixed that, now what 
I will uhh
just push my changes
and leave it in https://github.com/blryface/top-discs
it probably helps you all too, right?
if ya'll find the problem, pls ping 🙏
for now i'll work on making a bus skin for beam ng 😭
i. hm. what versiom are you on??
1.21.10
Weird.. sorry idk how to help
😭
@covert path hey look what this guy is making
this is actually pretty confusing
is your resource pack set up correctly?
already talked about it in #💬┃general :3
I think so?
it's all on the repo!
inb4 it's a misspelling 😭
I think your datapack is skipping your sounds.json altogether with inline sound_events that should probably include the subfolder jukebox_song (as that is where the sound files are located)
Or you should reference the sound events from your sounds.json directly. Which would be something like:
{
"comparator_output": 0,
"description": {
"text": "Tyler Joseph - Always [No Phun Intended]"
},
"length_in_seconds": 219.0,
"sound_event": "nophunintended:music_disc.always"
}
I think you can pick either, please correct me if I am wrong guys.
I was wrong, after reading this on the wiki:
sound_event: One sound event (an [String] ID, or a new [NBT Compound / JSON Object] sound event definition) — The sound event to play when the item is inserted in a jukebox. **Note that only vanilla Minecraft sound events can be referenced directly by [String] ID; custom sound events must be specified in [NBT Compound / JSON Object] object form. **
I would however say that you don't need sounds.json for the jukebox_playable component
interesting
I'll try and see if that works when I have the time, thanks for everyone helping me