Hello I wanted to summon a blaze using command block and I wanted to name him like "DaniyalShafiq's Blaze" is this possible.I have tried /summon Blaze ~ ~ ~ {CustomName:"@p's Blaze",CustomNameVisible:1b} and I have also tried /summon Blaze ~ ~ ~ {Customname:"",{Selector:@p},"'s Blaze",CustomNameVisible:1b}

  • Have you made any attempt to solve this yourself? Arqade works better when askers show effort to solve their own problems; we see that you have a problem you've worked on, and answerers respond to that. You also get a more specific answer that's tailored exactly to the part you're stuck, and Arqade gets a very specific question. Everybody wins! – Frank Aug 27 '17 at 13:52

You can't dynamically insert data into NBT (only raw JSON strings allow it somewhat, but that doesn't apply here). So using @p with CustomName is not possible. You can only "hardcode" values.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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