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

Items with invalid tooltip components do not print errors to the game log

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • None
    • 24w37a
    • None
    • Confirmed
    • (Unassigned)

      Relates to: MC-236295 MC-263121 MC-276750

      The bug

      If an item is given to the player with an invalid tooltip style component, an error is not printed to the game log. This is unlike what happens with resource packs if there are issues loading textures, such that the missing texture is used.

      How to reproduce

      1. /give @s stick[minecraft:tooltip_style="minecraft:nonexistent_texture"]
      2. Mouse over the item
      3. Check the game log

      Expected results

      Since the game failed to locate a valid texture for this item's tooltip, an error would be logged.

      Actual results

      There is no error recorded.

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: