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

Cannot hide potion effect tooltips using HideFlags

    Details

    • Confirmation Status:
      Community Consensus

      Description

      The HideFlags tag can be used to hide various tooltips, including enchantments, attribute modifiers, and CanPlaceOn. However, it will not hide tooltips on potion effects, such as "Speed (3:00) When Applied: +20% Speed".

      To demonstrate, "HideFlags:1023" will hide all tooltips (except those made by F3+H) on any item, except for the potion effect flags. Sample commands:

      /give @p minecraft:potion 1 8194 {HideFlags:1023}
      /give @p minecraft:potion 1 8194 {HideFlags:31}
      /give @p minecraft:potion 1 8194 {HideFlags:1}
      /give @p minecraft:potion 1 8194 {HideFlags:2}
      /give @p minecraft:potion 1 8194 {HideFlags:4}
      /give @p minecraft:potion 1 8194 {HideFlags:8}
      /give @p minecraft:potion 1 8194 {HideFlags:16}
      /give @p minecraft:potion 1 8194 {HideFlags:32}
      

      All of the above will fail; there is no bit tested for potion effects (and the attribute modifiers produced by them).

        Attachments

          Activity

            People

            • Assignee:
              searge [Mojang] Searge (Michael Stoyke)
              Reporter:
              wolfiemario WolfieMario
            • Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: