mojira.dev
MC-306850

Floating Islands don't generate as intended, in the json file vein gaps and final density are mixed up

In the snapshots and the latest prerelease, the floating island preset in data\minecraft\worldgen\noise_settings\ does not generate many islands. While making a datapack I noticed that the final_density and vein_gap parameters have switched values. In the current prerelease:

"final_density": 0.0,
"vein_gap": {
  "type": "minecraft:squeeze",
  "argument": {
    "type": "minecraft:mul",
    "argument1": 0.64,
    "argument2": {
      "type": "minecraft:interpolated",
      "argument": {
        "type": "minecraft:blend_density",
        "argument": {
          "type": "minecraft:add",
          "argument1": -0.234375,
          "argument2": {
            "type": "minecraft:mul",
            "argument1": {
              "type": "minecraft:y_clamped_gradient",
              "from_value": 0.0,
              "from_y": 4,
              "to_value": 1.0,
              "to_y": 32
            },
            "argument2": {
              "type": "minecraft:add",
              "argument1": 0.234375,
              "argument2": {
                "type": "minecraft:add",
                "argument1": -23.4375,
                "argument2": {
                  "type": "minecraft:mul",
                  "argument1": {
                    "type": "minecraft:y_clamped_gradient",
                    "from_value": 1.0,
                    "from_y": 184,
                    "to_value": 0.0,
                    "to_y": 440
                  },
                  "argument2": {
                    "type": "minecraft:add",
                    "argument1": 23.4375,
                    "argument2": "minecraft:end/base_3d_noise"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
},

To reproduce the issue just create a world with the floating islands preset.

In the 1.21.11 file, the generation is correct, and as expected final_density has the object and vein_gap is set to 0

I am attaching the file from the snapshot and the file from the release for you to compare as well as a screenshot where you can see that very few terrain generates.

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media][media][media]

Float High

(Unassigned)

Unconfirmed

(Unassigned)

26.1 Pre-Release 2

Retrieved