mojira.dev
MC-295403

End Crystals do not accept the "entity_data" item component

If you try to give yourself an item frame with entity data, it works:

/give @s minecraft:item_frame[entity_data={id:"item_frame",Tags:["abc"]}]

This will summon an item frame with the Tag: abc

However, if you try to do the same with an end crystal:

/give @s minecraft:end_crystal[entity_data={id:"end_crystal",Tags:["abc"]}]

It will NOT work. The end crystal does not contain any entity tags.

Environment

Minecraft Version 1.21.4 (on Private Minecraft Server).
Using Vanilla Minecraft Client.

Linked issues

Comments 1

This ticket duplicates MC-123289. The {{minecraft:entity_data}} item component is the successor of the {{EntityTag}} tag, with identical behavior. From the [changelog for 24w09a|https://www.minecraft.net/en-us/article/minecraft-snapshot-24w09a]: {quote} h3. Item Stack Components {{minecraft:entity_data}} * […] * Replaces previous {{EntityTag}} tag, with same behavior * […] {quote}

Blitical

(Unassigned)

Unconfirmed

(Unassigned)

1.21.4

Retrieved