mojira.dev
MC-166510

store result Inventory

/give @s minecraft:carrot_on_a_stick{Damage:1}
/data modify storage w3e Damage set value 10
/execute store result entity @s SelectedItem.tag.Damage int 1 run data get storage w3e Damage
/scoreboard players add test dummy
/execute store result entity @s SelectedItem.tag.Damage int 1 run scoreboard players set *1 test 10
all it's command not change SelectedItem.tag.Damage

Linked issues

Comments 4

Please provide more details in your report. Explain what is happening vs what should be happening, and explain what your commands do.

after previous commands next commad
/data get entity @s SelectedItem.tag.Damage
the result should be 10, but it's not change

Thank you for your report!
However, this issue is Working as Intended. See also MC-123307.

The report you have submitted is working as intended, mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryFeature Requests and Suggestions

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki

You cannot change player nbt and as of Minecraft 1.15 snapshots, this includes the tag-Tag of an item, see MC-123307

Hunter

(Unassigned)

Unconfirmed

Commands

1.15 Pre-Release 2

Retrieved