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

MinecartChest using abandoned_mineshaft.json loot table does not wait for chest to be opened

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 15w43c, Minecraft 15w44a
    • Minecraft 15w44b
    • None
    • Unconfirmed

    Description

      Whereas a dungeon chest does not generate its loot before it's opened (go into a new world, find dungeon chest, blockdata it, see it has LootTable rather than items), this is not true of abandoned mineshaft minecart chests. They populate on world-generation. You can witness this either by

      Finding MinecartChest in a new world and entitydata-ing it, or

      Finding MinecartChest in a new world, save & exit, add a data/loot_tables/minecraft/chests/abandoned_mineshaft.json to override it, reload the world (or F3+T), and open the chest. It will still have the 'default' loot rather than whatever you changed it to. But if you TP 10000 blocks away, new minecart chests will have the new data (populated as those new chunks generate under the influence of the new overridden loot table).

      Expected: MinecartChest behaves like Dungeon chest, not populating with loot until there is an observer-interaction.

      Attachments

        Issue Links

          Activity

            People

              dinnerbone [Mojang] Nathan Adams
              brianmcn Brian McNamara
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: