Add setting for optional traditional ore spawning

This commit is contained in:
cora 2022-07-15 16:15:08 +02:00
parent 69ad066e63
commit bafd0aa03f
2 changed files with 19 additions and 0 deletions

View File

@ -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
--

View File

@ -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.