mojira.dev
MC-306850

The `caves` and `floating_islands` noise settings no longer generate as intended

In the snapshots and the latest prerelease, the caves and floating_islands presets in data\minecraft\worldgen\noise_settings\ do not generate any terrain (apart from the terrain that encapsulates trial chambers). 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 caves or 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.

Linked issues

Attachments

Comments 2

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

[media][media][media]

Hello,

The same problem happens since material rule was introduced (26.3 snapshots). depth filled instead of final_density.

Can we reopen the issue or should I make a new one?

Float High

gegy

Confirmed

Platform EC

Important

World generation

26.1 Pre-Release 2

26.1 Pre-Release 3

Retrieved