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

item_display does not take some nbt tags into account

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.19.4 Pre-release 2
    • 23w06a
    • None
    • Community Consensus
    • Entities, Rendering
    • Low
    • Platform

      The new item_display seem to not be able to render loaded Crossbows.

      Tried with different "rendering" options (GUI, ground, fixed, firstperson_righthand, head...)

       

      What I expect:

      When the tag Charged is set to 1b, the crossbow is displayed with an arrow in my inventory. So if I summon the item_display with a crossbow and the tag "Charged:1b", if the item_display is set to "gui", it should also displays the arrow.

       

      Step to reproduce:

      run this command:

      summon minecraft:item_display ~ ~1 ~ {item:{id:"minecraft:crossbow",Count:1,tag:{Charged:1b}},item_display:"gui"}

       

      Side note:

      Armor stands are able to render the crossbow with the arrow.

        1. 2023-02-12_15.57.01.png
          724 kB
          Mlakuss
        2. 2023-02-12_15.57.18.png
          730 kB
          Mlakuss

            gegy1000 [Mojang] Gegy
            mlakuss Mlakuss
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: