diff --git a/mods/MAPGEN/mcl_mapgen_core/init.lua b/mods/MAPGEN/mcl_mapgen_core/init.lua index 5a6082533..7ca4221f7 100644 --- a/mods/MAPGEN/mcl_mapgen_core/init.lua +++ b/mods/MAPGEN/mcl_mapgen_core/init.lua @@ -404,6 +404,22 @@ if minetest.settings:get_bool("mcl_generate_ores", true) then y_max = mcl_worlds.layer_to_y(15), }) + -- + -- Netherite + -- (default netherite spawning in mcl_secret_ores) + if minetest.settings:get_bool("mcl_traditional_ancient_debris_ore",false) then + minetest.register_ore({ + ore_type = "scatter", + ore = "mcl_nether:ancient_debris", + wherein = {"mcl_nether:netherrack","mcl_nether:soul_sand","mcl_blackstone:blackstone","mcl_blackstone:basalt"}, + clust_scarcity = 50000, + clust_num_ores = 4, + clust_size = 3, + y_min = mcl_vars.mg_nether_min, + y_max = mcl_vars.mg_lava_nether_max, + }) + end + -- -- Redstone -- diff --git a/settingtypes.txt b/settingtypes.txt index b35e5c7f0..6ff2356c6 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -39,6 +39,9 @@ mcl_doTileDrops (Blocks have drops) bool true # If enabled, TNT explosions destroy blocks. mcl_tnt_griefing (TNT destroys blocks) bool true +# If enabled Ancient debris will spawn like other ores. Cheaters will be abel to see it. Off by default. +mcl_traditional_ancient_debris_ore (spawn ancient debris as traditional [xrayable] ore) bool false + [Players] # If enabled, players respawn at the bed they last lay on instead of normal # spawn.