mojira.dev
MC-301817

Non-skull items with any skull 'item_model' and head slot 'equipable' do not render correctly on the player

When any non-skull item are set with any skull ‘item_model’ (skeleton_skull, wither_skeleton_skull, player_head, zombie_head, creeper_head, piglin_head, and dragon_head), with the ‘equipable’ component set to “slot:”head”', then the model of the skull is not shown on the player.
In fact, the item is shown at a much smaller scale (inside of the player and unable to be viewed without invisibility) and also is flipped front-back.

Expected Result

As the ‘asset_id’ under ‘equipable’ is not specified, the item is expected to fallback onto the item’s base model, which should be the skull model shown when any normal skull is equip.
The item_id can be set to any item, the item_model (in the inventory) will be set to the skull, and the shown model will be visible on the player, facing forwards at a correct scale.

Actual Result

The item does show the correct skull texture in the inventory, but the model shown on the player is smaller (hidden inside the player without invisibility) and the direction of the model is flipped. Under normal circumstances the skull would be hidden inside of the player, though it can be viewed if you are given invisibility.

Steps to Reproduce

  1. Run: give @s bundle[minecraft:item_model="player_head",minecraft:equippable={slot:"head"}]

  2. Wear the skull

  3. Go into third-person (F5) and see that the model is not visible

  4. (optional) Run effect give @s invisibility, then go into third-person (F5) and see that the skull is facing backwards and is much smaller than expected

Environment

Any normal world with cheats enabled
Minecraft 1.21.8
Windows 11 PC

Attachments

Comments 0

No comments.

Kev Skywalker

(Unassigned)

Confirmed

(Unassigned)

1.21.8, 25w36b

Retrieved