forked from Mineclonia/Mineclonia
Fix some realm bugs
This commit is contained in:
parent
f7f6a89d64
commit
91b92a2cfd
|
@ -1078,7 +1078,6 @@ local function register_biomelike_ores()
|
|||
},
|
||||
})
|
||||
|
||||
|
||||
end
|
||||
|
||||
|
||||
|
@ -1487,7 +1486,7 @@ local function register_decorations()
|
|||
deco_type = "simple",
|
||||
place_on = {"mcl_nether:netherrack"},
|
||||
sidelen = 80,
|
||||
fill_ratio = 0.4,
|
||||
fill_ratio = 0.01,
|
||||
biomes = {"nether"},
|
||||
y_min = -6000,
|
||||
y_max = 31000,
|
||||
|
@ -1498,20 +1497,19 @@ local function register_decorations()
|
|||
deco_type = "simple",
|
||||
place_on = {"mcl_nether:netherrack"},
|
||||
sidelen = 80,
|
||||
fill_ratio = 0.3,
|
||||
fill_ratio = 0.01,
|
||||
biomes = {"nether"},
|
||||
y_min = -6000,
|
||||
y_max = 31000,
|
||||
decoration = "mcl_mushrooms:mushroom_brown",
|
||||
})
|
||||
|
||||
-- FIXME: Does the placement of eternal fire and nether wart actually work?
|
||||
--Fire
|
||||
--Eternal Fire
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"mcl_nether:netherrack"},
|
||||
sidelen = 8,
|
||||
fill_ratio = 0.9,
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.2,
|
||||
biomes = {"nether"},
|
||||
y_min = -6000,
|
||||
y_max = 31000,
|
||||
|
|
|
@ -1244,14 +1244,16 @@ minetest.register_on_generated(function(minp, maxp)
|
|||
elseif y == BEDROCK_MAX -4 then
|
||||
-- 100%
|
||||
setdata = c_bedrock
|
||||
elseif y < BEDROCK_MIN then
|
||||
elseif y < BEDROCK_MIN and y > -1000 then
|
||||
setdata = c_void
|
||||
elseif y > 1000 and y < 2000 then
|
||||
setdata = c_stone
|
||||
end
|
||||
else
|
||||
-- Perfectly flat bedrock layer(s)
|
||||
if y >= BEDROCK_MIN and y <= BEDROCK_MAX then
|
||||
setdata = c_bedrock
|
||||
elseif y < BEDROCK_MIN then
|
||||
elseif y < BEDROCK_MIN and y > -1000 then
|
||||
setdata = c_void
|
||||
end
|
||||
end
|
||||
|
@ -1259,7 +1261,7 @@ minetest.register_on_generated(function(minp, maxp)
|
|||
if setdata then
|
||||
data[p_pos] = setdata
|
||||
lvm_used = true
|
||||
elseif mcl_vars.mg_lava and y <= mcl_vars.mg_lava_overworld_max then
|
||||
elseif mcl_vars.mg_lava and y <= mcl_vars.mg_lava_overworld_max and y >= mcl_vars.mg_overworld_min then
|
||||
if data[p_pos] == c_air then
|
||||
data[p_pos] = c_lava
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue