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

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

      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.

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

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

              Created:
              Updated:
              Resolved: