mojira.dev
MC-58369

Things wrong with summoned items

If you summon an item using a command block (summon Item ~ ~1 ~ {Item:{id:cobblestone,count:1}} to be more exact) the item cannot be picked up, ever, even with PickupDelay set to a small number like 1 or 2, and when killing the item, the message it shows, "Killed item.tile.tilename", is wrong (screenshot attached, mine displayed item.tile.stonebrick when killing cobblestone).
Side note: The item also won't display a CustomName (MC-57516).

Linked issues

Attachments

Comments 5

Here is the correct way to do it:
/summon Item ~ ~1 ~ {Item:{id:"minecraft:cobblestone",Count:1}}

Hmm. That fixes the picking up issue but not the item.tile.stonebrick one.

And that is strange why quotes are required but there is no error if they aren't there.

i believe cobblestone was previously called stonebrick in the code, and for compatibility with dropped items in older worlds they kept it.

Count has a capital C
Use

/summon Item ~ ~1 ~ {Item:{id:cobblestone,Count:1}}

(No need for Minecraft: or quotes)

Mateo Hernandez

(Unassigned)

Unconfirmed

Minecraft 14w25b

Retrieved