mojira.dev
MC-270581

The contents slot for the /item command does not function with shot snowballs, eggs and ender pearls

Summary:
The contents slot for the /item command does not function with shot snowballs, eggs, ender pearls, and thrown potions.
Fix MC-270119 was not applied to the above entities.
This has only been fixed for the following entities: minecraft:arrow, minecraft:spectral_arrow, minecraft:trident, minecraft:fireball, minecraft:spectral_arrow, minecraft:small_fireball.

Steps to reproduce:

/summon minecraft:snowball ~ ~ ~ {NoGravity:1b}
/item replace entity @e[type=minecraft:snowball,limit=1,sort=nearest] contents with minecraft:acacia_boat

Observed results:
The snowball's item field was not substituted with an acacia boat, and an error message was encountered.

Expected results:
The snowball's item field should be replaced with an acacia boat as anticipated.

Linked issues

Comments 2

Thank you for your report!
After consideration, the issue is being closed as Invalid.

You have posted a feature request or a suggestion. This site is for bug reports only.
For suggestions, please visit The official Minecraft feedback site or visit the Minecraft Feedback Discord server.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

[Mod] EVGENSYPERPRO

(Unassigned)

Community Consensus

(Unassigned)

1.20.5 Pre-Release 1

Retrieved