From c429d1af83286e58585d4c474265f272f5bdd996 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 16 Aug 2017 17:31:28 +0200 Subject: [PATCH] Improve gravel generation in Nether --- mods/MAPGEN/mcl_biomes/init.lua | 68 ++++++++++++++++----------------- 1 file changed, 32 insertions(+), 36 deletions(-) diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index dbaf05b61d..4dc6e25c12 100644 --- a/mods/MAPGEN/mcl_biomes/init.lua +++ b/mods/MAPGEN/mcl_biomes/init.lua @@ -829,6 +829,18 @@ local function register_biomelike_ores() --[[ NETHER GENERATION ]] + -- Generate holes in Nether + -- TODO: Is this a good idea? + minetest.register_ore({ + ore_type = "puff", + ore = "air", + wherein = {"mcl_nether:netherrack"}, + clust_scarcity = 666, + clust_size = 4, + y_min = mcl_vars.mg_nether_min, + y_max = mcl_vars.mg_nether_max, + noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.60} + }) -- Soul sand minetest.register_ore({ @@ -882,6 +894,26 @@ local function register_biomelike_ores() }, }) + -- Gravel (Nether) + minetest.register_ore({ + ore_type = "sheet", + ore = "mcl_core:gravel", + wherein = {"mcl_nether:netherrack"}, + column_height_min = 1, + column_height_max = 1, + y_min = mcl_util.layer_to_y(63, "nether"), + y_max = mcl_util.layer_to_y(65, "nether"), + noise_threshold = 0.0, + noise_params = { + offset = 0.0, + scale = 0.2, + spread = {x = 50, y = 50, z = 50}, + seed = 766, + octaves = 1, + persist = 0.6, + }, + }) + -- Nether quartz minetest.register_ore({ ore_type = "scatter", @@ -904,26 +936,6 @@ local function register_biomelike_ores() y_max = mcl_vars.mg_nether_max, }) - -- Gravel (Nether) - minetest.register_ore({ - ore_type = "sheet", - ore = "mcl_core:gravel", - wherein = {"mcl_nether:netherrack"}, - clust_scarcity = 16 * 16 * 16, - clust_size = 5, - y_min = mcl_util.layer_to_y(63, "nether"), - y_max = mcl_util.layer_to_y(65, "nether"), - noise_threshold = 0.0, - noise_params = { - offset = 0.5, - scale = 0.2, - spread = {x = 5, y = 1, z = 5}, - seed = 766, - octaves = 1, - persist = 0.0 - }, - }) - -- Lava springs in the Nether minetest.register_ore({ ore_type = "scatter", @@ -980,22 +992,6 @@ local function register_biomelike_ores() y_max = mcl_vars.mg_nether_max, }) - -- Generate holes in Nether - -- TODO: Is this a good idea? - minetest.register_ore({ - ore_type = "sheet", - ore = "air", - wherein = {"mcl_nether:netherrack"}, - clust_scarcity = 1, - clust_num_ores = 32, - clust_size = 10, - y_min = mcl_vars.mg_nether_min, - y_max = mcl_vars.mg_nether_max, - noise_threshold = 0.2, - noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70} - }) - - --[[ THE END ]] -- Generate fake End