I have a series of custom trades setup with villagers and after you have done 1 trade a wait a few sec or so an re-open the trade with that villager he has suddenly added 2-3 extra trades that arent in the code.
Linked issues
is duplicated by 2
Comments 10
1. Load this custom Villager
/summon Villager ~ ~1 ~ {Profession:0,CustomName:HORSE,CustomNameVisible:1,Offers:{Recipes:[{maxUses:1000,buy:{id:264,Count:1},sell:{id:329,Count:1,Damage:0}},{maxUses:1000,buy:{id:266,Count:7},sell:{id:418,Count:1,Damage:0}},{maxUses:1000,buy:{id:265,Count:7},sell:{id:417,Count:1,Damage:0}},{maxUses:1000,buy:{id:264,Count:7},sell:{id:419,Count:1,Damage:0}},{maxUses:1000,buy:{id:266,Count:1},sell:{id:420,Count:1,Damage:0}},{maxUses:1000,buy:{id:266,Count:13},sell:{id:421,Count:1,Damage:0}},{maxUses:0,buy:{id:7,Count:1},sell:{id:7,Count:1}}]}}/summon Villager ~ ~1 ~ {Profession:0,CustomName:HORSE,CustomNameVisible:1,Offers:{Recipes:[{maxUses:1000,buy:{id:264,Count:1},sell:{id:329,Count:1,Damage:0}},{maxUses:1000,buy:{id:266,Count:7},sell:{id:418,Count:1,Damage:0}},{maxUses:1000,buy:{id:265,Count:7},sell:{id:417,Count:1,Damage:0}},{maxUses:1000,buy:{id:264,Count:7},sell:{id:419,Count:1,Damage:0}},{maxUses:1000,buy:{id:266,Count:1},sell:{id:420,Count:1,Damage:0}},{maxUses:1000,buy:{id:266,Count:13},sell:{id:421,Count:1,Damage:0}},{maxUses:0,buy:{id:7,Count:1},sell:{id:7,Count:1}}]}}2. I traded the very 1st item
3. Close trade Window
4. wait 10 seconds & re-open trade
5. go past the Bedorck 4 Bedrock trade an there will be new trades
This is the intended behavior with the new villager AI. You can suppress new trades by applying a "Career" tag (which, if set to 0, will force new trades to be created), as well as applying some unknown value to the "CareerLevel" tag (100 seems to work just fine):
/summon Villager ~ ~1 ~ {Profession:0,Career:1,CareerLevel:100,CustomName:HORSE,CustomNameVisible:1,Offers:{Recipes:[{maxUses:1000,buy:{id:264,Count:1},sell:{id:329,Count:1,Damage:0}},{maxUses:1000,buy:{id:266,Count:7},sell:{id:418,Count:1,Damage:0}},{maxUses:1000,buy:{id:265,Count:7},sell:{id:417,Count:1,Damage:0}},{maxUses:1000,buy:{id:264,Count:7},sell:{id:419,Count:1,Damage:0}},{maxUses:1000,buy:{id:266,Count:1},sell:{id:420,Count:1,Damage:0}},{maxUses:1000,buy:{id:266,Count:13},sell:{id:421,Count:1,Damage:0}},{maxUses:0,buy:{id:7,Count:1},sell:{id:7,Count:1}}]}}/summon Villager ~ ~1 ~ {Profession:0,Career:1,CareerLevel:100,CustomName:HORSE,CustomNameVisible:1,Offers:{Recipes:[{maxUses:1000,buy:{id:264,Count:1},sell:{id:329,Count:1,Damage:0}},{maxUses:1000,buy:{id:266,Count:7},sell:{id:418,Count:1,Damage:0}},{maxUses:1000,buy:{id:265,Count:7},sell:{id:417,Count:1,Damage:0}},{maxUses:1000,buy:{id:264,Count:7},sell:{id:419,Count:1,Damage:0}},{maxUses:1000,buy:{id:266,Count:1},sell:{id:420,Count:1,Damage:0}},{maxUses:1000,buy:{id:266,Count:13},sell:{id:421,Count:1,Damage:0}},{maxUses:0,buy:{id:7,Count:1},sell:{id:7,Count:1}}]}}Thanks for that info. is there a way to also stop any XP being created from the trades? or a website about all this information?
Website here: http://minecraft.gamepedia.com/Entity_format#Entity_Format
Disable XP by /gamerule doMobLoot false
Thanks. it would seem what im wanting on a per villager level isnt possible presently in minecraft as its more of an all or nothing 🙂
Warren Liddell : You can disable XP as of right now, see MC-47744
Please attach exact steps to reproduce.