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

The hiding of the 'can_destroy' and 'can_place_on' component in the tooltip doesn't hide it when it is represented by a single block predicate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 24w14a
    • None
    • Confirmed
    • Commands

      Steps to Reproduce:

      1. Run the following command:

      /give @s stick[minecraft:can_place_on={blocks:'dirt',show_in_tooltip:false},minecraft:can_break={blocks:'dirt',show_in_tooltip:false}]
      

      Observed Results:

      The tooltip are displayed

      Expected Results:

      The tooltip is hidden

            Unassigned Unassigned
            KoutaChan KoutaChan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: