This question already has an answer here:

I'm making something for my friends and I've been trying to find a summon item generator with a custom name and I have found one but the custom name does not work. /summon item -137 28 -204 {Item:{id:black_terracotta,Count:1,tag:{display:{Name:"Dark Matter"}}}}

marked as duplicate by user232393, walrus helmet, DrFish, Wondercricket, Ivo Coumans Aug 19 at 13:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


The Name tag expects a string in JSON format, this is the correct command:

/summon item -137 28 -204 {Item:{id:black_terracotta,Count:1,tag:{display:{Name:'{"text":"Dark Matter"}'}}}}
  • Thank you so much! – abey Aug 17 at 0:16
  • @abey Welcome to StackExchange! If this answer solved your problem, consider accepting it, this is beneficial to both you and the answerer: stackoverflow.com/help/accepted-answer – necklace Aug 17 at 10:42

I think your problem is that you've just used item. The command should be minecraft:item.

Here is the example of it.

/summon minecraft:item -137 28 -204 {Item:{id:black_terracotta,Count:1,tag:{display:{Name:"Dark Matter"}}}}

Not the answer you're looking for? Browse other questions tagged or ask your own question.