You cannot summon a blank item: “/summon minecraft:item
", but can summon a filled item: “/summon minecraft:item ~ ~ ~ {Item:{id:"minecraft:stick"}}
“. So while it is expected that you cannot execute summon a blank item: “/execute summon minecraft:item run say hi
“, you should be able to execute summon an item that gets filled immediately: “/execute summon minecraft:item run data merge entity @s {Item:{id:"minecraft:stick"}}
“.
Steps to reproduce the issue
Use the execute command to summon an item and immediately modify it:
/execute summon minecraft:item run data merge entity @s {Item:{id:"minecraft:stick"}}
Expected result
An item is summoned and immediately modified, in this case becoming a stick.
Actual result
The message “Modified entity data of Stick
“ is sent in chat, yet the item doesn’t spawn in. The game output log says: “Tried to add entity minecraft:item but it was marked as removed already
“
Linked issues
Comments 0
No comments.