forked from Mineclonia/Mineclonia
Do not generate Nether ores above Nether roof
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.
This commit is contained in:
parent
dca72c7d97
commit
a71e9d70c0
|
@ -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 ]]
|
||||
|
|
Loading…
Reference in New Issue