local mod_mcl_structures = minetest.get_modpath("mcl_structures") -- Ice Plains Spikes (rare) aka Ice Spikes vl_biomes.register_biome({ name = "IcePlainsSpikes", node_top = "mcl_core:snowblock", depth_top = 1, node_filler = "mcl_core:dirt", depth_filler = 2, node_water_top = "mcl_core:ice", depth_water_top = 1, node_river_water = "mcl_core:ice", node_riverbed = "mcl_core:sand", depth_riverbed = 2, y_min = 1, y_max = vl_biomes.overworld_max, humidity_point = 24, heat_point = -5, _mcl_biome_type = "snowy", _mcl_water_temp = "frozen", _mcl_grass_palette_index = 2, _mcl_foliage_palette_index = 2, _mcl_water_palette_index = 5, _mcl_skycolor = "#7FA1FF", _ocean = { node_top = "mcl_core:gravel", depth_top = 1, node_filler = "mcl_core:gravel", depth_filler = 3, _mcl_skycolor = "#7FA1FF", -- not default, but icy }, }) -- FIXME: on slopes, they tend to float on one side. Use even larger spikes and a negative y_offset? -- Large ice spike mcl_mapgen_core.register_decoration({ deco_type = "schematic", place_on = {"mcl_core:snowblock", "mcl_core:snow", "group:grass_block_snow"}, sidelen = 80, noise_params = { offset = 0.00040, scale = 0.001, spread = vector.new(250, 250, 250), seed = 1133, octaves = 4, persist = 0.67, }, biomes = {"IcePlainsSpikes"}, y_min = 4, y_max = vl_biomes.overworld_max, schematic = mod_mcl_structures .. "/schematics/mcl_structures_ice_spike_large.mts", rotation = "random", flags = "place_center_x, place_center_z", }) -- Small ice spike mcl_mapgen_core.register_decoration({ deco_type = "schematic", place_on = {"mcl_core:snowblock", "mcl_core:snow", "group:grass_block_snow"}, sidelen = 80, noise_params = { offset = 0.005, scale = 0.001, spread = vector.new(250, 250, 250), seed = 1133, octaves = 4, persist = 0.67, }, biomes = {"IcePlainsSpikes"}, y_min = 4, y_max = vl_biomes.overworld_max, schematic = mod_mcl_structures .. "/schematics/mcl_structures_ice_spike_small.mts", rotation = "random", flags = "place_center_x, place_center_z", })