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

"bedrock_roof_position" tag number does not represent height, but height modifier


    • Icon: Bug Bug
    • Resolution: Fixed
    • 21w44a
    • 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 20w28a
    • None
    • Confirmed
    • Custom Worlds
    • Low

      The "bedrock_roof_position" tag for custom dimensions is calculated improperly.

      When setting the "bedrock_roof_position" to 30, the bedrock roof moves down 30 blocks from y=127 (moving it to y=97). The bedrock roof can only be moved down because of this. The range is stated to be -20..X, however placing a negative number to move the roof up makes it not generate at all.

      Expected Behavior:
      Setting "bedrock_roof_position": 27 would set the bedrock height to y=27, OR set it 27 blocks from the top of the world (0 being y=255, 27 being y=228), OR have a range of -127..128 to move it to y=0 and y=255

        1. Roof 0.zip
          3 kB
        2. Roof -1.zip
          3 kB
        3. Roof -10.zip
          3 kB
        4. Roof 27.zip
          3 kB

            Unassigned Unassigned
            jirauser54679 user-2a4c8 (Inactive)
            2 Vote for this issue
            3 Start watching this issue