It isn't possible to use the Passengers
Tag with the minecraft:entity_data
component on items.
Reproduce
/give @p minecraft:armor_stand[minecraft:entity_data={id:"minecraft:armor_stand",Passengers:[{id:"minecraft:armor_stand"}]}]
or e.g.
/give @p minecraft:spider_spawn_egg[minecraft:entity_data={id:"minecraft:spider",Glowing:1b,Passengers:[{id:"minecraft:pig"}]}]
Observed Behavior
You will notice in all cases it'll only spawn the base/ridden entity, but not the Passenger on top of it.
Expected Behavior
The "Passengers" tag would function correctly when used with the "entity_data" component.
Linked issues
is duplicated by 8
Attachments
Comments 88
Allowing this would bring back MC-75630 (the bug that allow creative non OP to execute any commands)
mrpingouin1 they could do it like they did with JSON_Signs, whenever you put a Spawnegg out of your creative inventory tab it removes the EntityTag {same for ArmorStands}
Confirmed.