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

Chests in structures aren't having their loot table seed be set according to the world seed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 18w11a, Minecraft 18w16a, Minecraft 18w19b, Minecraft 1.13-pre1, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed

      Description

      Using the same seed and going to the same chest in the same structure will yield different loot each time you load a new world with that same seed.

      2 ways to reproduce:

      1. Create a world with a Bonus Chest
      2. Check chest, note loot
      3. Exit world, recreate world
      4. Check chest in this new but identical world
      5. Loot is different
      1. Create a world
      2. /locate Mineshaft
      3. Look for a minecart with chest
      4. Note coordinates
      5. Check loot, note loot
      6. Exit world -> Recreate world
      7. TP to coords of minecart with chest
      8. Check loot, there's different loot

      EDIT: It turns out that the loot chests' loot table seed is being set, but it's not being set depending on the world seed. I found this out with /data get block <coords>.

      EDIT 2: I know that this is not WAI because if you read this, you will see that the data structure block sets the loot table seed dependent on the world seed. This was also the behavior of chests in structures prior to the introduction of loot tables, and I see no reason why they would set the loot table seed in new structures, but not old ones that don't use structure blocks.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Milo359 Milo359
              • Votes:
                16 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: