mojira.dev
MC-308791

Composite item models inherit lighting from the first entry in the `models` field

When using an item model definition with a composite model, lighting conditions are inherited from the first entry in the list of models.

For example, compositing a block model and an item model causes the item to be shaded like a block and viceversa, depending on what’s first on the list of models.

Diamond shaded like a block (Transformation field is irrelevant, it’s just so the diamond is properly visible).

assets/minecraft/items/diamond.json
{
  "model": {
    "type": "composite",
    "models": [
      {
        "type": "model",
        "model": "minecraft:block/pumpkin",
        "transformation": {
          "translation": [0, 0, 0],
          "left_rotation": [0, 0, 0, 1],
          "right_rotation": [0, 0, 0, 1],
          "scale": [1, 1, 1]
        }
      },
      {
        "type": "model",
        "model": "minecraft:item/diamond",
        "transformation": {
          "translation": [0, 0, 1],
          "left_rotation": [0, 0, 0, 1],
          "right_rotation": [0, 0, 0, 1],
          "scale": [1, 1, 1]
        }
      }
    ]
  }
}

The attachment is a resource pack that exclusively reproduces the issue, overriding the diamond item model definition.

Environment

Apple Silicon M3 Pro, Fully vanilla instance.

Attachments

Comments 3

Thank you for helping us improve Minecraft! We saved your files:

[media]

With further testing, it also seems impossible to work around the issue by using a “gui_light” key, as the lighting conditions of affected models are forced to be the ones of the first entry in the composite model object, regardless of what’s otherwise specified in the item models.

Can confirm. I made a resource pack which adds an icon to waxed blocks in the inventory by using composite item models, but the icon is shaded too dark on block models, even when I set the icon overlay’s gui_light property to true. I have attached the resource pack and a screenshot reproducing the issue.

2026-10-05_02.07.40.png
[media]

junenya

(Unassigned)

Confirmed

Platform HC

Low

Textures and models

26.1.2, 26.2 Release Candidate 2

Retrieved