I'm an avid Command Block user for Minecraft: Bedrock Edition and I'm currently diving into a system for a Boss Spawner for what's essentially an RPG-style dungeon with a Boss Spawner and boss at the end. I've spent quite a bit of time trying to piece together a command that can detect when the "boss" entity dies so as to give the player an automatic reward and to teleport them safely from the dungeon.
The only problem is that the command requires the entity that I'm spawning as the boss, which is a skeleton, in this case, to have the unique name "TheMinion". I've been able to create a system that can detect the skeleton entity and apply the correct armor, weapon, and effect combination that I want, but I cannot find one that will apply a nametag to the entity.

I would greatly appreciate it if anyone could share a solution to this problem.

  • Does this answer your question? How do I give mobs custom names using command blocks? – Corsaka Jan 24 '20 at 23:10
  • not really @Corsaka. I've looked into that, but either I'm doing something wrong or there isn't a way to spawn in the mob with a predetermined nametag. Those place and destroy commands only work for placeable blocks or things like levers and buttons, but not nametags. Thank you though. – MDT Jack Jan 26 '20 at 2:02
  • In that; there's no command to do this. – Corsaka Jan 27 '20 at 9:16
  • 5
    Possible duplicate of How do I summon a named mob? – pppery Aug 14 '20 at 23:37

you could use this command: /summon skeleton "TheMinion" ~ ~ ~

or you could use dispensers with named spawn eggs


The command you're looking for is: /summon skeleton ~ ~ ~ {CustomName:"\"[Custom Name]\""}

  • Oops! This comment is for Java Edition, but the question is asking for Bedrock Edition. – ExpertCoder14 May 17 '20 at 1:24
/summon <entity> <location(xyz)>  <spawn_event>  <custom_name> 

or simpler:

*/summon <mob> <custom_name> <location(xyz)>

Notes: 1) if you want to summon it in your location, use ~ ~ ~, and if you are using the second command no need to write it. 2) See more about spawn events

I hope this helps.

/summon skeleton TheMinion 0 0 0

Simply put your nametag in between the entity ID and the spawn position.

or if you need to add a spawn event (such as to making a creeper charged)

/summon creeper 0 0 0 minecraft:become_charged TheCreeper 

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