mojira.dev
MC-85340

Passengers Tag doesn't work with entity_data component on items

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

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}

It also doesn't work with spawneggs 😞

@unknown the spawn eggs use the EntityTag

78 more comments

Confirmed for 24w37a

Confirmed for 24w38a

Can confirm for 24w39a and 24w40a

please fix this i am begging

Hopefully this bug gets migrated, also still exists in the latest snapshot

Raven Tempora

Meri Diana

(Unassigned)

Confirmed

Platform

Low

Commands

command, entity_data, mob, passengers

Minecraft 15w32b, Minecraft 15w32c, Minecraft 15w33c, Minecraft 15w43a, Minecraft 1.9, ..., 1.21 Pre-Release 2, 1.21.1, 24w37a, 24w38a, 24w40a

Retrieved