This item flag should prevent music discs from showing their name. The record name is still visible in the lore, even after adding this item flag.
Steps to reproduce:
Run the command: /give @a music_disc_otherside[lore=['["",{"text":"Andromedik - Forever","italic":false,"color":"gray"}]'],hide_additional_tooltip={}]
The music disc's name is still visible in the lore.
Attachments
Comments 3
The correct command is:
/give @s music_disc_otherside[lore=['["",{"text":"Andromedik - Forever","italic":false,"color":"gray"}]'],jukebox_playable={song:"otherside",show_in_tooltip:false}]
You can specify your own song ID instead of otherside
.
See also the 24w21a changelog:
jukebox_playable
item component
show_in_tooltip
: boolean (default: true)
If false, the name of the song will not be shown in the tooltip
This was formerly controlled by the
hide_additional_tooltip
component on Music Discs
The
minecraft:jukebox_playable
component has ashow_in_tooltip
field. Music disc names no longer fall under the “additional tooltip” category.