mojira.dev
MC-279779

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

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.

Attachments

Comments 3

Perhaps, rather than hardcoding the display for blocking, new model display fields should be added, allowing full customization of it.
The reason it renders so weird is because everytging except shield ID items use the old blocking display from before 1.9.

Thank you for your report!
After consideration, the issue is being closed as Won't Fix.

Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Wont fix? That is a massive shame. Was really hoping this would be fixed over the coming snapshots. It's going to be a massive pain trying to work around this. :/

Bluenade

(Unassigned)

Confirmed

Textures and models

25w04a

Retrieved