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

Ender dragon fight is hardcoded into custom world presets; can't actually be accessed without these presets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16 Release Candidate 1, 1.16, 1.16.1, 20w28a, 20w30a, 1.16.3 Release Candidate 1, 1.16.3, 1.16.5, 21w07a
    • None
    • Confirmed
    • Custom Worlds
    • Low
    • Platform

      The bug

      The ender dragon fight is hardcoded into the dimension type preset for the end. If you manually set all of the type values instead of using a preset, there's no way to make the ender dragon fight appear. This seems like it might be an oversight, since in the source code the flag for the ender dragon fight appears right next to all of the other flags which are configurable through JSON, even though the ender dragon fight isn't.

      This is an issue because it makes it very difficult to customize the end without essentially breaking the game. Changing any of the type settings in the end requires not using a preset, which means that changing any of these settings will automatically remove the dragon fight from the world.

      How to reproduce

      Use the mcDefaultTest.json file attached to generate a world. This JSON file expands the dimension type field for each dimension and the noise generator settings field for the overworld with the game's default settings. Use "/setblock ~ ~ ~ minecraft:end_portal" to place an end portal at your current position and go to the end. Here, there is no ender dragon.

        1. mcDefaultTest.json
          6 kB
          Rajat Patel
        2. mcDefaultTest-1.json
          6 kB
          ChromaKey
        3. mcDefaultTest-2.json
          7 kB
          ChromaKey

            Unassigned Unassigned
            ContronThePanda Rajat Patel
            Votes:
            14 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: