From a71e9d70c03b0bbca0527dbe4c3b24b65d97e305 Mon Sep 17 00:00:00 2001 From: Nils Dagsson Moskopp Date: Sat, 12 Feb 2022 12:38:22 +0100 Subject: [PATCH] Do not generate Nether ores above Nether roof MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this patch, ores above the Nether roof were generated, but later replaced by air; the Nether roof was lit where glowstone/lava had been. Not generating ores on the Nether roof fixes the lighting – and probably speeds up the map generator, since these ore nodes were always replaced. --- mods/MAPGEN/mcl_biomes/init.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index 6194b16e..02e2afb1 100644 --- a/mods/MAPGEN/mcl_biomes/init.lua +++ b/mods/MAPGEN/mcl_biomes/init.lua @@ -2008,7 +2008,7 @@ local function register_dimension_ores() clust_scarcity = 26 * 26 * 26, clust_size = 5, y_min = mcl_vars.mg_lava_nether_max + 10, - y_max = mcl_vars.mg_nether_max, + y_max = mcl_vars.mg_bedrock_nether_top_max - 1, noise_threshold = 0.0, noise_params = { offset = 0.5, @@ -2052,7 +2052,7 @@ local function register_dimension_ores() clust_num_ores = 4, -- MC cluster amount: 4-10 clust_size = 3, y_min = mcl_vars.mg_nether_min, - y_max = mcl_vars.mg_nether_max, + y_max = mcl_vars.mg_bedrock_nether_top_max - 1, }) minetest.register_ore({ ore_type = "scatter", @@ -2062,7 +2062,7 @@ local function register_dimension_ores() clust_num_ores = 8, -- MC cluster amount: 4-10 clust_size = 4, y_min = mcl_vars.mg_nether_min, - y_max = mcl_vars.mg_nether_max, + y_max = mcl_vars.mg_bedrock_nether_top_max - 1, }) end @@ -2107,7 +2107,7 @@ local function register_dimension_ores() clust_num_ores = 1, clust_size = 1, y_min = mcl_vars.mg_lava_nether_max + 49, - y_max = mcl_vars.mg_nether_max, + y_max = mcl_vars.mg_bedrock_nether_top_max - 1, }) --[[ THE END ]]