2
How to /give spawn eggs in 1.10 with a specific name
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
Create an account or sign in to comment.
5
1
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
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
thank you
2
This is what you need
/give @p spawn_egg 1 0 {EntityTag:{id:"Bat",CustomName:"Betty"}}
2
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"