mojira.dev
MC-305963

item command does not update camera_overlay for saddle and body

to reproduce

  1. /item replace entity @p saddle with stone[equippable={slot:"saddle",camera_overlay:"block/glass"}]
  2. /item replace entity @p armor.body with stone[equippable={slot:"body",camera_overlay:"block/iron_bars"}]


expected result:
the textures of Glass and Iron Bars are overlayed on the camera

actual result:

nothing appears on the hud

additionally:

  • if the item is instead given to the player with

/give @p stone[equippable={slot:"body",camera_overlay:"block/poppy"}]

and the player right clicks equipping the item, the overlay is applied correctly

  • if the player exits and re-enters the world, the overlay disappears

  • if the overlay is applied correctly, using

    item replace entity @p armor.body with air

    does not remove it

Environment

Linux

Linked issues

Comments 1

Reproduced as described in 26.1-snapshot-4.
--
I also found a similar ticket
MC-295716
Where they mark the issue as a duplicate and say it’s being tracked in
MC-280136

PALKIP

(Unassigned)

Confirmed

(Unassigned)

1.21.11, 26.1 Snapshot 4

Retrieved