1.9 summoning in a spawn egg item
//ads -- adsterra.com -- native banner
?>
I am in 1.9 and I need to summon in a squid egg with certain properties
For example this needs to be called "Barbed Wire"
I have tried this command
/summon Item ~ ~1 ~ {Item:{id:minecraft:spawn_egg,Count=1b},ench:[],display:{Name:"Barbed Wire"},EntityTag:{id:"Squid",CustomName:"Barbed Wire",Tags:["BW"]}}
However when i power this is does nothing.
Best Answer
Tag names and values are separated by colons, not equal signs (should be Count:1b). Any item data that is not id, Damage, Count, or Slot, must be placed within a single tag tag. You've placed all of the extra item data outside of the item specification and at the root of the item entity.
Fixed command:
/summon Item ~ ~1 ~ {Item:{id:minecraft:spawn_egg,Count:1b,tag:{ench:[],display:{Name:"Barbed Wire"},EntityTag:{id:"Squid",CustomName:"Barbed Wire",Tags:["BW"]}}}}
Pictures about "1.9 summoning in a spawn egg item"



How do you make a spawn egg in commands?
Spawn eggs can be obtained only in Creative mode or using commands. In Creative mode, the player can press pick block on an existing mob to obtain their respective egg. Spawn eggs are also available in the Creative inventory. There are 66 spawn eggs in Bedrock Edition and 64 spawn eggs in Java Edition.How do you get a wither spawn egg?
In Minecraft, there is a spawn egg called Wolf Spawn Egg that is light gray with light brown spots. This spawn egg is an item that can not be crafted in the game. It is only available in Creative mode (not Survival mode) through the Creative Inventory menu. When you use this spawn egg, it will instantly spawn a wolf.How to get Hidden Spawn Eggs with 1 command - Minecraft PE/BE 1.16
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Karolina Grabowska, Susanne Jutzeler, suju-foto, Daria Shevtsova, Helena Lopes
