This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I have a /summon command that works fine in 1.10 that's broken in 1.11 snapshots. I'm trying to spawn villagers that sell spawn eggs.
Command.
/summon Villager ~1 ~ ~ { Profession: 2, CustomName: "Frank", CustomNameVisible: 1, Career: 1, CareerLevel: 42, CanPickUpLoot: 0, PersistenceRequired: 1, NoAI: 1, Invulnerable: 1, Attributes: [ { Name: "generic.knockbackResistance", Base: "1f" }, { Name: "generic.maxHealth", Base: 99999 } ], Offers: { Recipes: [ { buy: { id: "diamond", Count: 32 }, buyB: { id: "rotten_flesh", Count: 64 }, maxUses: 9999999, sell: { id: "spawn_egg", Count: 1, tag:{EntityTag:{id:"Zombie"}} }, rewardExp: false } ] } }
This villager sells a zombie egg. 1.10 it's fine. But in 1.11 snapshots the spawn egg is white and just says spawn and spawns nothing. I know something has changed but i cannot figure out what.
Thanks. I tried that befoe and it did not work. But i can see the 1 thing i did not change. Your code works . Thank you.
I have a /summon command that works fine in 1.10 that's broken in 1.11 snapshots. I'm trying to spawn villagers that sell spawn eggs.
Command.
/summon Villager ~1 ~ ~ {
Profession: 2,
CustomName: "Frank",
CustomNameVisible: 1,
Career: 1,
CareerLevel: 42,
CanPickUpLoot: 0,
PersistenceRequired: 1,
NoAI: 1,
Invulnerable: 1,
Attributes: [
{
Name: "generic.knockbackResistance",
Base: "1f"
},
{
Name: "generic.maxHealth",
Base: 99999
}
],
Offers: {
Recipes: [
{
buy: {
id: "diamond",
Count: 32
},
buyB: {
id: "rotten_flesh",
Count: 64
},
maxUses: 9999999,
sell: {
id: "spawn_egg",
Count: 1,
tag:{EntityTag:{id:"Zombie"}}
},
rewardExp: false
}
]
}
}
This villager sells a zombie egg. 1.10 it's fine. But in 1.11 snapshots the spawn egg is white and just says spawn and spawns nothing. I know something has changed but i cannot figure out what.
Thanks. I tried that befoe and it did not work. But i can see the 1 thing i did not change. Your code works . Thank you.