Links

Music discs

How to create custom music discs with custom song

items.yml

Config file: items.yml
Create a generic custom item in the items.yml file, like in this example:
music_disc_electric_keys:
enabled: true
permission: music_disc_electric_keys
model_id: 11
name: '&bMusic Disc'
lore:
- "&7Electric keys"
specific_properties:
music_disc:
song_description: '&bElectric keys'
song_name: music_disc_electric_keys
craft_recipe:
enabled: true
pattern:
- XXX
- XBD
- XXX
ingredients:
B: blank_disc
D: DIAMOND

Specific properties

specific_properties:
music_disc: #special property to identify item as music disc
song_description: '&bElectric keys' #hotbar display message
song_name: music_disc_electric_keys #sound name from sounds.json

Creating custom songs