2

How to /give spawn eggs in 1.10 with a specific name

MC_Master123's Avatar MC_Master1236/12/16 11:38 am
6/19/2016 2:06 pm
MC_Master123's Avatar MC_Master123
I am in version 1.10 and you need to use the {EntityTag:{id:"Bat"}} to specify which mob you want to spawn with the spawn egg. I also know you need to use {Display:{Name:"Custom Name"}} to have a custom name on the spawn egg. I don't know how to combine these 2 data tags. I would like a bat spawn egg with a custom name. i tried /give @p spawn_egg 1 0 {EntityTag:{id:"Bat",Display:{Name:"TEST"}} but it doesn't work. Please help
Posted by MC_Master123's Avatar
MC_Master123
Level 7 : Apprentice Miner
0

Create an account or sign in to comment.

5

1
06/18/2016 8:20 am
Level 25 : Expert Dragonborn
NewSuperMario
NewSuperMario's Avatar
I suppose you want both the spawn egg and the bat to be named, so here's how to do that:
/give @p spawn_egg 1 0 {EntityTag:{id:"Bat",CustomName:"TEST"},display:{Name:"TEST"}}
2
06/12/2016 12:38 pm
Level 52 : Grandmaster Pixel Painter
craftykids
craftykids's Avatar
The (main) problem with the commands that have been posted is that the tags in "EntityTag" are added to the mob spawned from the egg, not the egg itself. What you'd actually want is something like this:

/give @p spawn_egg 1 0 {EntityTag:{id:"Bat"},display:{Name:"TEST"}}
2
06/19/2016 2:06 pm
Level 7 : Apprentice Miner
MC_Master123
MC_Master123's Avatar
thank you
2
06/12/2016 12:14 pm
Level 29 : Expert Caveman
Lexxer
Lexxer's Avatar
This is what you need
/give @p spawn_egg 1 0 {EntityTag:{id:"Bat",CustomName:"Betty"}}
2
06/18/2016 8:01 am
Level 7 : Apprentice Miner
MC_Master123
MC_Master123's Avatar
wouldn't this give me a spawn egg that is called "Spawn Bat" but when i spawn the bat it is called "Betty"? i want the spawn egg itself to be called "Betty"
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome