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

"RewardExp" boolean does not function unless "DoMobLoot" Is set to "False"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 14w10c
    • None
    • Windows 7, Java Version 7 Update 40
    • Unconfirmed

      Here is an example of a summon code I am using on my game.

      /summon Villager ~ ~1 ~ {Profession:5,Career:1,CareerLevel:100,CustomName:Cecilia,CustomNameVisible:1,Offers:{Recipes:[{rewardExp:0,maxUses:999,uses:0,buy:

      {id:minecraft:gold_nugget,Count:2}

      ,sell:{id:minecraft:mushroom_stew,Count:1}}]}}

      The code appears to be correct as advised by the wiki, but the summoned villager will still provide EXP when the trade has been made. The only way to stop the villager from providing EXP is to set the gamerule DoMobLoot to false.

      Unless my formatting is incorrect, this appears to be a bug.

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

              Created:
              Updated:
              Resolved: