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

Items which use entity models will not render another entity model if specified via item model component

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 24w37a
    • None
    • Community Consensus
    • Block states, Rendering
    • Normal
    • Platform

      Relates to MC-276412.

      The bug

      If, via commands, one item that renders as an entity has an item model specified that should have it render as a different entity, it will not render as the entity specified for the item model component, instead rendering the one associated with the base item's ID.

      How to reproduce

      1. /give @s chest[item_model="minecraft:stone"]
      2. /give @s shulker_box[item_model="minecraft:stone"]
      3. /give @s chest[item_model="minecraft:shulker_box"]
      4. /give @s shulker_box[item_model="minecraft:chest"]

      Expected results

      In order we'd get: a chest whose item form looks like stone, a shulker box whose item form looks like stone, a chest whose item form looks like a shulker box, and a shulker box whose item form looks like a chest.

      Actual results

      The first two are as expected. However, for the last two, the chest still looks like a chest and the shulker box still looks like a shulker box.

        1. 2024-09-15_17.12.14_2.png
          2024-09-15_17.12.14_2.png
          141 kB
        2. 2024-09-15_17.12.14.png
          2024-09-15_17.12.14.png
          141 kB
        3. 2024-09-15_17.12.15_2.png
          2024-09-15_17.12.15_2.png
          140 kB
        4. 2024-09-15_17.12.15.png
          2024-09-15_17.12.15.png
          140 kB
        5. image-2024-09-15-22-00-55-418.png
          image-2024-09-15-22-00-55-418.png
          1.56 MB

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

              Created:
              Updated:
              CHK: