Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-272761

Attribute modifiers "show_in_tooltip" no longer has any effect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.21 Pre-Release 1
    • None
    • Unconfirmed
    • (Unassigned)

      After the changed attribute modifiers format, the "show_in_tooltip" value is completely ignored.

       

      In 1.20.6, this command will make the modifiers not show in the tooltip:

      /give @p feather[attribute_modifiers={modifiers:[{name:"test",uuid:[I;0,0,0,0],type:"generic.gravity",amount:-2,operation:add_multiplied_base}],show_in_tooltip:0b}]

      But in 1.21-pre1, the tooltip always shows the modifiers, even when "show_in_tooltip" is set to false

      /give @p feather[attribute_modifiers={modifiers:[{id:"test",type:"generic.gravity",amount:-2,operation:add_multiplied_base}],show_in_tooltip:0b}]

            Unassigned Unassigned
            42Richtofen42 42Richtofen42
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: