mojira.dev
MC-274587

HIDE_ADDITIONAL_TOOLTIP does not hide record (music disc) names.

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 minecraft:jukebox_playable component has a show_in_tooltip field. Music disc names no longer fall under the “additional tooltip” category.

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

Nav

(Unassigned)

Unconfirmed

(Unassigned)

1.21

Retrieved