Mojira Archive
MC-95677

Stacks of 65 in custom villager trades

When creating a custom villager trade with the /summon command you are able to have the villager require 64+ however when doing so the villager will never accept the trade of 65+ and when it reaches 128+ the number turns negative. The exact command i used was

/summon Villager ~ ~2 ~ {Offers:{Recipes:[{buy:{id:"minecraft:iron_ingot",Count:16},sell:{id:"minecraft:wool",Damage:12,Count:1}},{buy:{id:"minecraft:iron_ingot",Count:65},sell:{id:"minecraft:iron_block",Count:1}}]},CustomName:"Materials",CustomNameVisible:100,Profession:0}

I expected the villager would require more 1 stack of iron ingots and 1 separate iron ingot.

What happened was the Villager started asking for stacks of 65 instead

I would also like to know how to get the villager to ask for 2 stacks of iron. Thanks!

Steps to Reproduce:
1. Put command in Command Block

/summon Villager ~ ~2 ~ {Offers:{Recipes:[{buy:{id:"minecraft:iron_ingot",Count:16},sell:{id:"minecraft:wool",Damage:12,Count:1}},{buy:{id:"minecraft:iron_ingot",Count:65},sell:{id:"minecraft:iron_block",Count:1}}]},CustomName:"Materials",CustomNameVisible:100,Profession:0}

2.Activate the Command Block.
3.Check the second villager trade.

Invalid

Benjamin

2016-01-16, 04:00 AM

2016-01-16, 07:32 AM

2016-01-16, 07:32 AM

0

3

Unconfirmed

Minecraft 1.8.9

-