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

Items with invalid model 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 and MC-263121.

      The bug

      If an item is given to the player with an invalid model component, an error is not printed to the game log. This is unlike what happens with resource packs if broken models are present.

      How to reproduce

      1. /give @s stick[item_model="minecraft:nonexistent_model"]
      2. Check the game log

      Expected results

      Since the game failed to locate a valid model for this item, 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: