#datapack jukebox not working??? help please

1 messages · Page 1 of 1 (latest)

coarse comet
#

hello, iv been trying to get a new disc into the game but minecraft dosenot recognize my disc. can someone help me review my code and formatting?

cold crystalBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 After a while, hit the Summon Helpers button to ping the helper team. They'll be happy to help you

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

coarse comet
#

in the resorse pack

#

{
"music_disk.evoker": {
"sounds": [
{
"name": "records/evoker"
}
]
}
}

naive apex
#

Is that sounds.json?

coarse comet
#

yes

naive apex
#

That needs to be in the resourcepack

coarse comet
naive apex
#

Ok

#

Can you send the file for the music disc?

coarse comet
#

in data pack "\data\cliffsstuff\jukebox_song"
'''{
"description": "Evoker",
"length_in_seconds": 126.0,
"comparator_output": 2,
"sound_event": {
"sound_id": "minecraft:music_disk.evoker"
}
}
'''

coarse comet
naive apex
#

No, the one you just sent

coarse comet
#

file name "evokersound.json"

naive apex
#

That also looks correct

coarse comet
naive apex
#

Oh

#

Because it's called evokersound

coarse comet
#

oohhh is that already a file for that mob?

coarse comet
naive apex
#

Yes

#

The resource location is dependant on the file name

coarse comet
#

ok so change the name>

#

?*

naive apex
#

Either you cab rename the file to evoker.json, or change the command to reference the correct file

#

Which would be cliffstuff:evokersound

coarse comet
#

ohhh

#

that fixed it!

#

thank you heaps

naive apex
#

Nice!

#

You're welcome

cold crystalBOT
# coarse comet that fixed it!
🎗️ Is your question resolved?

If your question is resolved, that's great to hear! Make sure to run /resolve or click the Resolve Question button. Otherwise, feel free to continue asking for help! :D