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

Tridents and spyglasses appear dark in the inventory if given a custom item model for a block

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w45a
    • 24w37a, 24w39a
    • None
    • Confirmed
    • Commands, Rendering, Textures and models
    • Low
    • Platform

      Relates to MC-229142 and MC-276654.

      The bug

      If a spyglass or a trident has an associated item model component which points to a model used by a block in the inventory, it will appear darker than other items.

      How to reproduce

      /give @s trident[item_model="minecraft:stone"]
      /give @s spyglass[item_model="minecraft:stone"]

      Expected results

      Normal shading.

      Actual results

      Unexpected darkening.

      How to fix

      Whatever part of code that forces tridents and spyglasses to have separate inventory models from their handheld versions needs to be remade into something that supports components for items as to resolve this conflict.

        1. 2024-09-15_16.27.46.png
          118 kB
          Connor Steppie
        2. 2024-09-15_16.31.34.png
          115 kB
          Connor Steppie

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

              Created:
              Updated:
              Resolved:
              CHK: