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

Cannot add 2 dimensions that are flat worlds. Causes crash

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Duplicate
    • 20w21a
    • None
    • None
    • Unconfirmed
    • (Unassigned)

    Description

      Basically, trying to add more than one flat world to a world generation preset json causes the game to crash with

      java.lang.IllegalArgumentException: value already present: chf@d5af7f7java.lang.IllegalArgumentException: value already present: chf@d5af7f7 at com.google.common.collect.HashBiMap.put(HashBiMap.java:287)

      Using the same settings, but setting the overworld to be regular generation results in the world generating just fine.

       

      Edit: Test 404 is the file with both the overworld and minecraft:test as flat worlds. Test 405 is just minecraft:test as a flat world.

      Attachments

        1. crash.txt
          2 kB
        2. test404.txt
          1 kB
        3. test405.txt
          2 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alexis.a.evelyn+minecraft@gmail.com Alexis Evelyn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: