Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-95677

Stacks of 65 in custom villager trades

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.8.9
    • None
    • Put your operating system (Windows 7, Windows XP, OSX) and Java version if you know it here
    • Unconfirmed

      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.

            Unassigned Unassigned
            BudderDucky Benjamin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: