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

Non-shield items with shield item model are oriented incorrectly in first-person when blocking with blocks_attacks component

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 25w04a
    • None
    • Confirmed
    • Textures and models

      Description

      Non-shield items (given the same components as a shield) exhibit an incorrect orientation and position in first-person when blocking.

      How to Reproduce

      1) give yourself a shield

      2) give yourself a non-shield item (like a stick) with the item_model component set to 'shield' and the blocks_attacks component enabled.

      /give @s stick[item_model=shield,blocks_attacks={}]

      3) hold and use both items, comparing the difference in shield model placement on-screen in first person while blocking.

      Expected Result

      Given that they share the same item model, the non-shield item (or "fake" shield) should appear in the same position and orientation when blocking as a real shield.

      Observed Result

      The "fake" shield has an incorrect orientation and position on-screen compared to the "real" shield. The fake shield appears to be facing downwards and offset down.

            Unassigned Unassigned
            Bluenade Cody Wilson
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: