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

Some mobs have missing Loot Tables

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 15w51b, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 1.9.4, Minecraft 1.10 Pre-Release 1, Minecraft 1.10.2, Minecraft 16w41a, Minecraft 16w42a
    • None
    • Windows 8.1, Java 1.7_60 64bit
    • Community Consensus

    Description

      I wanted to change the villager's drops but discovered they don't have a loot table. Other creatures who don't drop anything (like the bat) still have loot tables so I don't see why the villagers don't.

      EDIT: a workaround I've found is to use the entitydata command. The following command assumes you already have a loot table in custom/entities called villager.json: /entitydata @e[type=Villager,tag=!processed]

      {DeathLootTable:"custom:entities/villager",Tags:["processed"]}

      Affects:

      • villager fixed in 16w38a
      • ender dragon
      • vex

      Attachments

        Issue Links

          Activity

            People

              FruBasilicum [Mojang] Agnes Larsson
              Tokes Tokes
              Votes:
              10 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: