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

Villagers summoned with NBT data set have no trades unless summoned with trades defined

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Invalid
    • Affects Version/s: Minecraft 18w50a
    • Fix Version/s: None
    • Confirmation Status:
      Unconfirmed

      Description

      In 18w50a, Villagers no longer have trades by default after specifying NBT data. This was not the case in prior snapshots, when villagers had the Profession tag.

      How to reproduce:

      1. Summon a villager with VillagerData set to
        {profession:"minecraft:toolsmith",level:5,type:"minecraft:taiga"}

        Seems like a useful villager, right?
                 →  Right click on it, only to be dismayed that the high-ranking villager has absolutely nothing to trade.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Yellow01 Yellow01
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: