depth_top = 1,
node_filler = "default:snowblock",
depth_filler = 3,
- node_stone = "default:ice",
+ node_stone = "default:cave_ice",
node_water_top = "default:ice",
depth_water_top = 10,
--node_water = "",
default:snowblock
default:ice
+default:cave_ice
Trees
-----
end,
})
+-- 'is ground content = false' to avoid tunnels in sea ice or ice rivers
minetest.register_node("default:ice", {
description = "Ice",
tiles = {"default_ice.png"},
sounds = default.node_sound_glass_defaults(),
})
+-- Mapgen-placed ice with 'is ground content = true' to contain tunnels
+minetest.register_node("default:cave_ice", {
+ description = "Cave Ice",
+ tiles = {"default_ice.png"},
+ paramtype = "light",
+ groups = {cracky = 3, puts_out_fire = 1, cools_lava = 1, slippery = 3},
+ drop = "default:ice",
+ sounds = default.node_sound_glass_defaults(),
+})
+
--
-- Trees
--