• check_circle Advancements
  • check_circle Functions
  • check_circle Predicates
  • 9,533 views, 11 today
  • 830 downloads, 0 today
  • 25
  • 29
  • 8
KooriKitsune38's Avatar KooriKitsune38
Level 46 : Master Artist
36

What it does

Allows players to add custom discs in Minecraft without overwriting current ones.

In case you wanted to rick roll people with a strange disc.



Customization
The download link will redirect you to the github repository, so you can easily just download the zip file and put it into your datapacks folder.


To add songs/sounds etc you just need to go to the file 'sort.ids' under 'Datapack/data/k.music/functions/' and add the three commented lines (tellraw, playsound and stopsound).
The sounds can be whatever you want, either minecraft sounds or resource packs sounds.
In case of the resource packs, the path should be under 'Resource Pack/assets/namespace/sounds/file.obb', and can be called via 'namespace:sound' (in the playsound and stopsound).

The disc should have these two tags {k.Disc:true,SongID:#}.
Quick Tip: to make the disc even more credible, add this {display:{Lore:['{"text":"Author - Song","color":"gray"}']},HideFlags:32}




(If you want to spice things up, you can add custom particles and whatever you want since there's a marker inside the jukebox when the disc is playing! But it disappears after the disc is out or the block is broken)

P.S. The only downside to this is that when you have two custom discs that are playing the same song and you stop one, both of them are gonna stop since there's no easy way (if not at all) to stop the same sound without altering the other. But it works excellently with two different sounds!


.



https://discord.gg/jTDVxgQr3n

CompatibilityMinecraft 1.17
toMinecraft 1.18
Tags

1 Update Logs

Update #1 : by KooriKitsune38 12/08/2021 4:42:57 pmDec 8th, 2021

Fixed the old disc's actionbar text showing up.

Now you can add a custom one yourself!

Create an account or sign in to comment.

HomelessPetey
12/11/2021 7:49 pm
Level 38 : Artisan Creeper Hugger
HomelessPetey's Avatar
Can i use mp4? Or only .ogg
1
KooriKitsune38
12/12/2021 5:04 am
Level 46 : Master Artist
KooriKitsune38's Avatar
That's actually bound to the resource pack's files format... fancy words aside it's only .ogg since minecraft recognises those as the audio format.

For custom sounds this doesn't add any, I might need to actually link a resource pack template to ease users into setting up the configuration.

Basically this by itself is kinda like a library, a premade code that lets you play a sound with a custom disc, so if you want other sounds except the minecraft sounds you will need the help of resource packs.
2
VidTDM
12/08/2021 9:48 pm
Level 35 : Artisan Geek
VidTDM's Avatar
Now I can rickroll everyone hehe
3
bobjoerules
12/08/2021 4:13 pm
Level 1 : New Miner
bobjoerules's Avatar
this github link is not right "https:\/\/github.com\/KooriKitsune38\/Koori-Discs"
1
bobjoerules
12/08/2021 4:14 pm
Level 1 : New Miner
bobjoerules's Avatar
2
KooriKitsune38
12/08/2021 4:22 pm
Level 46 : Master Artist
KooriKitsune38's Avatar
To me it works just fine but thank you for fixing it in case someone else encountered that problem!
1
AetherSpirit
12/08/2021 3:48 pm
Level 39 : Artisan Loremaster Mage
SpiritTheMan's Avatar
Wow, this is realy cool!
2
KooriKitsune38
12/08/2021 4:04 pm
Level 46 : Master Artist
KooriKitsune38's Avatar
thank you fellow!
2

Welcome