mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-24 00:49:34 +01:00
Merge pull request 'Don't grow nether fungi automatically.' (#2789) from fix_fungus_growth into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2789
This commit is contained in:
commit
d4c248548a
2 changed files with 2 additions and 31 deletions
|
@ -549,33 +549,3 @@ mcl_dye.register_on_bone_meal_apply(function(pt,user)
|
|||
spread_nether_plants(pt.under,node)
|
||||
end
|
||||
end)
|
||||
|
||||
minetest.register_abm({
|
||||
label = "mcl_crimson:crimson_fungus",
|
||||
nodenames = {"mcl_crimson:crimson_fungus"},
|
||||
interval = 11,
|
||||
chance = 128,
|
||||
action = function(pos)
|
||||
local nodepos = minetest.get_node(vector.offset(pos, 0, -1, 0))
|
||||
if nodepos.name == "mcl_crimson:crimson_nylium" or nodepos.name == "mcl_nether:netherrack" then
|
||||
if pos.y < -28400 then
|
||||
generate_crimson_tree(pos)
|
||||
end
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
label = "mcl_crimson:warped_fungus",
|
||||
nodenames = {"mcl_crimson:warped_fungus"},
|
||||
interval = 11,
|
||||
chance = 128,
|
||||
action = function(pos)
|
||||
local nodepos = minetest.get_node(vector.offset(pos, 0, -1, 0))
|
||||
if nodepos.name == "mcl_crimson:warped_nylium" or nodepos.name == "mcl_nether:netherrack" then
|
||||
if pos.y < -28400 then
|
||||
generate_warped_tree(pos)
|
||||
end
|
||||
end
|
||||
end
|
||||
})
|
||||
|
|
|
@ -4831,7 +4831,7 @@ local function register_dimension_decorations()
|
|||
fill_ratio = 0.02,
|
||||
biomes = {"CrimsonForest"},
|
||||
y_min = mcl_vars.mg_lava_nether_max + 1,
|
||||
y_max = mcl_vars.mg_lava_nether_max - 10,
|
||||
y_max = mcl_vars.mg_nether_max - 10,
|
||||
flags = "all_floors",
|
||||
decoration = "mcl_crimson:crimson_fungus",
|
||||
})
|
||||
|
@ -4884,6 +4884,7 @@ local function register_dimension_decorations()
|
|||
fill_ratio = 0.063,
|
||||
biomes = {"CrimsonForest"},
|
||||
y_min = mcl_vars.mg_lava_nether_max + 1,
|
||||
y_max = mcl_vars.mg_nether_max -5,
|
||||
flags = "all_ceilings",
|
||||
height = 2,
|
||||
height_max = 8,
|
||||
|
|
Loading…
Reference in a new issue