How do I make a villager trade a spawn egg? [duplicate]
![How do I make a villager trade a spawn egg? [duplicate] - From above of people sitting and making bamboo fish traps while working on local bazaar in Vietnam in daylight How do I make a villager trade a spawn egg? [duplicate] - From above of people sitting and making bamboo fish traps while working on local bazaar in Vietnam in daylight](/assets/images/how_do_i_make_a_villager_trade_a_spawn_egg_duplicate_0.jpeg)
I've tried to make a Villager trade Some stuff for a villager spawn egg, but I end up getting a blank spawn egg... I'm playing on 1.10, and I don't know if it's a bug or something they've changed. I should also mention that I use a generator, Link Here. Here is the code I used:
The trade I mentioned is at the bottom
/summon Villager ~1 ~ ~ {
Profession: 2,
CustomName: "Frank",
CustomNameVisible: 1,
Career: 1,
CareerLevel: 42,
CanPickUpLoot: 0,
PersistenceRequired: 1,
Invulnerable: 1,
Attributes: [
{
Name: "generic.maxHealth",
Base: 99999
}
],
Offers: {
Recipes: [
{
buy: {
id: "rotten_flesh",
Count: 1
},
buyB: {
id: "coal",
Count: 1
},
maxUses: 9999999,
sell: {
id: "leather",
Count: 1
},
rewardExp: false
},
{
buy: {
id: "gunpowder",
Count: 2
},
buyB: {
id: "coal",
Count: 2
},
maxUses: 9999999,
sell: {
id: "golden_apple",
Count: 1
},
rewardExp: false
},
{
buy: {
id: "gunpowder",
Count: 2
},
buyB: {
id: "coal",
Count: 3,
Damage: 1
},
maxUses: 9999999,
sell: {
id: "golden_apple",
Count: 1
},
rewardExp: false
},
{
buy: {
id: "rotten_flesh",
Count: 1
},
buyB: {
id: "coal",
Count: 1,
Damage: 1
},
maxUses: 9999999,
sell: {
id: "golden_apple",
Count: 1
},
rewardExp: false
},
{
buy: {
id: "rotten_flesh",
Count: 64
},
buyB: {
id: "bone",
Count: 32
},
maxUses: 9999999,
sell: {
id: "spawn_egg {EntityTag:{id:Villager}}",
Count: 1,
},
rewardExp: false
}
]
}
}
How do I make a villager trade a spawn egg?
Best Answer
id: "spawn_egg {EntityTag:{id:Villager}}",
The id
tag is solely for the item ID, any other data should be included as other data tags:
sell: {
id:"spawn_egg",
Count:1,
tag: {
EntityTag: {
id:"Villager"
}
}
}
Pictures about "How do I make a villager trade a spawn egg? [duplicate]"
![How do I make a villager trade a spawn egg? [duplicate] - Diligent black female worker setting signboard outside cafeteria at sunny day How do I make a villager trade a spawn egg? [duplicate] - Diligent black female worker setting signboard outside cafeteria at sunny day](/assets/images/how_do_i_make_a_villager_trade_a_spawn_egg_duplicate_1.jpeg)
![How do I make a villager trade a spawn egg? [duplicate] - Cook adding flour into baking form while preparing meal How do I make a villager trade a spawn egg? [duplicate] - Cook adding flour into baking form while preparing meal](/assets/images/how_do_i_make_a_villager_trade_a_spawn_egg_duplicate_2.jpeg)
![How do I make a villager trade a spawn egg? [duplicate] - Crop young lady breaking eggs in flour for dough How do I make a villager trade a spawn egg? [duplicate] - Crop young lady breaking eggs in flour for dough](/assets/images/how_do_i_make_a_villager_trade_a_spawn_egg_duplicate_3.jpeg)
Can villagers trade spawn eggs?
You can try /give <Your Username/@p/@a/@r> 383 1 120 , which will give you a spawn egg. otherwise use the /summon Villager ~ ~ ~ command to spawn one at your current location. You can enter this command into your chat box (provided cheats is turned on) in your Single-player world by pressing / or T .How To Make Custom Villager Trades in Minecraft 1.14
More answers regarding how do I make a villager trade a spawn egg? [duplicate]
Answer 2
It's been a while since i checked but if i recall correctly, all the spawn eggs are considered variants of the same entity. That means if you give them a "spawn egg" itll simply give a blank one.
you need to specify which one you're giving them. I know its not great but I hope it helps
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Quang Nguyen Vinh, Ketut Subiyanto, Klaus Nielsen, Katerina Holmes