1
0
Fork 0

Don't turn water into end stone anymore

This commit is contained in:
Wuzzy 2019-03-09 21:20:37 +01:00
parent 7a4aeb6625
commit 05e8cc8a2c
2 changed files with 4 additions and 12 deletions

View File

@ -1624,7 +1624,7 @@ local function register_dimension_ores()
ore = "mcl_end:end_stone", ore = "mcl_end:end_stone",
wherein = end_wherein, wherein = end_wherein,
y_min = mcl_vars.mg_end_min+64, y_min = mcl_vars.mg_end_min+64,
y_max = mcl_vars.mg_end_min+100, y_max = mcl_vars.mg_end_min+80,
noise_params = { noise_params = {
offset = mcl_vars.mg_end_min+70, offset = mcl_vars.mg_end_min+70,
@ -1651,7 +1651,7 @@ local function register_dimension_ores()
ore = "mcl_end:end_stone", ore = "mcl_end:end_stone",
wherein = end_wherein, wherein = end_wherein,
y_min = mcl_vars.mg_end_min+64, y_min = mcl_vars.mg_end_min+64,
y_max = mcl_vars.mg_end_min+100, y_max = mcl_vars.mg_end_min+80,
noise_params = { noise_params = {
offset = mcl_vars.mg_end_min+72, offset = mcl_vars.mg_end_min+72,
@ -1677,7 +1677,7 @@ local function register_dimension_ores()
ore = "mcl_end:end_stone", ore = "mcl_end:end_stone",
wherein = end_wherein, wherein = end_wherein,
y_min = mcl_vars.mg_end_min+64, y_min = mcl_vars.mg_end_min+64,
y_max = mcl_vars.mg_end_min+100, y_max = mcl_vars.mg_end_min+80,
noise_params = { noise_params = {
offset = mcl_vars.mg_end_min+70, offset = mcl_vars.mg_end_min+70,

View File

@ -1841,15 +1841,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
local y = nodes[n].y local y = nodes[n].y
local p_pos = area:index(nodes[n].x, y, nodes[n].z) local p_pos = area:index(nodes[n].x, y, nodes[n].z)
if data[p_pos] == c_water then if data[p_pos] == c_water or data[p_pos] == c_stone or data[p_pos] == c_dirt or data[p_pos] == c_sand then
if y <= mcl_vars.mg_end_min + 104 and y >= mcl_vars.mg_end_min + 40 then
data[p_pos] = c_end_stone
lvm_used = true
else
data[p_pos] = c_air
lvm_used = true
end
elseif data[p_pos] == c_stone or data[p_pos] == c_dirt or data[p_pos] == c_sand then
data[p_pos] = c_air data[p_pos] = c_air
lvm_used = true lvm_used = true
end end