mojira.dev
MC-276332

Armor given with command containing minecraft:equippable tag are not visible

when giving armor with new tag the armor is not visible

 

Reproduce:

  1. use the command `/give @s minecraft:diamond_leggings[minecraft:equippable=
    {slot:'legs'}]`  this command will give you diamond leggigns

  2. put the leggings on

  3. open inventory or press F5 to observe yourself

Expected behavior:

leggings are visible on the player

Observed behavior:

leggings are not visible, yet they are still there

Attachments

Comments 4

Because you forgot the model field

model field is not necessary. when doing the same thing with carved  pumpkin you get the  expected result,  the pumpkin appearing in your head, meaning this is indeed a bug concerning armors. perhaps there is some kind of difference regarding armors and pumpkins?

Indeed the model field is not necessary if you don't want the armor model to render. Use head instead of legs and put the leggings on your head to see, or use legs on a carved pumpkin without model to watch it do nothing

SomeoneM16

(Unassigned)

Unconfirmed

(Unassigned)

24w36a

Retrieved