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

Loot tables have the same loot sequence in each dimension

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.20 Pre-release 2
    • 1.20 Pre-release 1
    • None
    • Confirmed
    • Loot tables
    • Important
    • Platform

      Loot tables now use random sequences to determine the loot. Each dimension has its own random sequences. Because random sequences are only seeded based on the world seed and the random sequence id, the sequences are seeded equally in each dimension.

      This leads to the loot table giving the same sequence of loot in each dimension.

      How to reproduce

      1. Create a new world
      2. Mine gravel and keep track of how many gravel you have to mine to get flint
      3. Go to the nether
      4. Mine gravel and again keep track of how many gravel you have to mine to get flint
      5. Observe that those numbers are equal.
      6. Optionally repeat the experiment in the end or for the 2nd flint until you are confident that this wasn't random chance.

      Easier reproduction with commands

      1. Create a new world
      2. run /loot give @s loot minecraft:gameplay/piglin_bartering multiple times and keep track of the loot it gives
      3. run /execute in minecraft:the_nether run loot give @s loot minecraft:gameplay/piglin_bartering multiple times.
      4. Observe that the commands in step 3 give the same loot.

      Expected Behavior

      One of 2 options:

      • Loot tables use a single random sequence independent of dimension
      • The sequences used for each dimension are differently seeded

            slicedlime [Mojang] slicedlime
            CC_fan jacobsjo
            Votes:
            7 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: