-
Bug
-
Resolution: Invalid
-
None
-
1.21
-
None
-
Confirmed
-
Data Packs
When enabling/disabling datapacks that contain jukebox_song entries, the world needs to be restarted for the song registry to update.
Steps to reproduce:
- Create a datapack (lets call it 'example') with a custom jukebox_song (lets call that 'custom_song')
example
- pack.mcmeta
- data
- example
- jukebox_song
- custom_song.json - /datapack enable "file/example"
- Run
/give @s dirt[minecraft:jukebox_playable={"song":"example:custom_song"}]
Observed result:
Malformed 'minecraft:jukebox_playable' component: 'Failed to parse either. First: failed to get element example:custom_song; Second: Cannot parse as key without registry'
Expected result:
The jukebox_song from the newly added datapack is recognized as a valid value for the jukebox_playable component.
However when restarting the world after enabling the datapack, the jukebox_song registry is filled correctly and contains the new song(s).
- /datapack enable "file/example"
- Restart the server or exit and re-enter the world
- Run
/give @s dirt[minecraft:jukebox_playable={"song":"example:custom_song"}]
This produces the expected behaviour and creates a dirt block with a jukebox_playable component.
- is duplicated by
-
MC-274210 Custom Music Disc datapacks trigger the "Experimental Features" warning
- Resolved
- relates to
-
MC-187938 Custom dimensions and worldgen files don't update on /reload
- Resolved
-
MC-251318 Chat type data pack files are considered "experimental world settings"
- Resolved
-
MC-260446 Trim patterns and materials are experimental and don't update on /reload
- Resolved
-
MC-260452 Damage types are experimental and don't update on /reload
- Resolved
-
MC-271587 minecraft:banner_patterns not taking effect in datapack until reloading a world
- Resolved
-
MC-272540 Custom enchantments not showing on /reload
- Resolved