From 89a342a34f449c6c425d3507a9265a8e6930c539 Mon Sep 17 00:00:00 2001 From: PrairieWind Date: Tue, 15 Nov 2022 20:19:50 -0700 Subject: [PATCH] Add Bee Nest Tree Schematics and generation --- .../schematics/mcl_core_birch_bee_nest.mts | Bin 0 -> 175 bytes .../mcl_core_oak_classic_bee_nest.mts | Bin 0 -> 180 bytes .../schematics/mcl_mangrove_bee_nest.mts | Bin 0 -> 682 bytes mods/MAPGEN/mcl_biomes/init.lua | 86 +++++++++++++++++- 4 files changed, 84 insertions(+), 2 deletions(-) create mode 100644 mods/ITEMS/mcl_core/schematics/mcl_core_birch_bee_nest.mts create mode 100644 mods/ITEMS/mcl_core/schematics/mcl_core_oak_classic_bee_nest.mts create mode 100644 mods/ITEMS/mcl_mangrove/schematics/mcl_mangrove_bee_nest.mts diff --git a/mods/ITEMS/mcl_core/schematics/mcl_core_birch_bee_nest.mts b/mods/ITEMS/mcl_core/schematics/mcl_core_birch_bee_nest.mts new file mode 100644 index 0000000000000000000000000000000000000000..fff8fddc4a40a5ba8bc678ec7c738d321b5302c4 GIT binary patch literal 175 zcmeYb3HD`RVPIw8U|_9>0tOZa=ETe*29ez4ocQGYqExG-%%bFsoYcg!)M5s4kZ4kB zYDQ*RYOz&PYHEC5YH>-tDT5HI@{*#|)QUM*`wnt3C~!E3*X`IZH#LH-tumYW=0i)i zme97`Q!DahuNmys4pjK+e@X4uucFz1Yh63dpKdqUJcrwuLs0Ft%;DHs{(ScuPVDo) K%JAM;jt>CItV2Zr literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_core/schematics/mcl_core_oak_classic_bee_nest.mts b/mods/ITEMS/mcl_core/schematics/mcl_core_oak_classic_bee_nest.mts new file mode 100644 index 0000000000000000000000000000000000000000..1f793f47c825b119361eee42b3188f63034f8d8e GIT binary patch literal 180 zcmeYb3HD`RVPIw8U|_9>0tOZa=ETe*2L9aSocQGYqExG#)WovXVg_EgKuJ+*DuXzP zo0OWGky(~nY?YLn8lRV1ToP|uF=y?hMy>-294=RDfBgM5YpcnOv$ymnG_O0ZD7f_K z(;1I5&D>Xul+Ba5KF8<{l)j?`|9?u@pELB<^lk}B}@GP literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_mangrove/schematics/mcl_mangrove_bee_nest.mts b/mods/ITEMS/mcl_mangrove/schematics/mcl_mangrove_bee_nest.mts new file mode 100644 index 0000000000000000000000000000000000000000..630117463135d0c2f07b779988d94c14ceff3ee5 GIT binary patch literal 682 zcmeYb3HD`RVc=xoW8kVs0Ss&m%!!#r47|C?Iq}K)MX6S0nR%%U(jabbVqSVtep#v& zj1gaypI=gpLoz2du`IQiK?=LhlA_d9262#FQfg{OW?5>nRZ?ndd|qmCNxW&roU0MH zi&_+TR2LZ6-cYZ%*dNEDw6h@~Jbm{~N$EayOU}f#Ym4g*cC`Gd|D43itFom3&Dz$Q zOZURh->qnT6RY{>#a^GfQ~f+)-}gJypWN_!`p#qN#9wEG7ydoFL8iCI z@_Ntwrd@Xb_r=zK>wWyLYSkwIAb%k%g@FY+~<)=5k8SoawYn zmk*5nb?z;jiUS|Rl=!Jvce*ah=Pq3IgWo|<{qLIXYN~zTaBDxN}Bhh zoz+3J`Bb8xwsG=o14+^Ka$JYiuf5BO4r$G`o*)x$+IX)fxk+46C9vY-rz%GG8_^4I zv`ofGI1>-Mgi eHCuJ{2E_s~mvd2bB`-eDkqy4LF<$gq$0`7yd^_R* literal 0 HcmV?d00001 diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index d468ae4f4..2869a5315 100644 --- a/mods/MAPGEN/mcl_biomes/init.lua +++ b/mods/MAPGEN/mcl_biomes/init.lua @@ -3160,7 +3160,48 @@ local function register_decorations() flags = "place_center_x, place_center_z", rotation = "random", }) - + minetest.register_decoration({ + deco_type = "schematic", + place_on = {"group:grass_block_no_snow", "mcl_core:dirt"}, + sidelen = 16, + --[[noise_params = { + offset = 0.01, + scale = 0.00001, + spread = {x = 250, y = 250, z = 250}, + seed = 2, + octaves = 3, + persist = 0.33 + },]]-- + fill_ratio = 0.0002, + biomes = {"FlowerForest"}, + y_min = 1, + y_max = mcl_vars.mg_overworld_max, + schematic = mod_mcl_core.."/schematics/mcl_core_oak_classic_bee_nest.mts", + flags = "place_center_x, place_center_z", + rotation = "random", + spawn_by = "group:flower", + }) + minetest.register_decoration({ + deco_type = "schematic", + place_on = {"group:grass_block_no_snow", "mcl_core:dirt"}, + sidelen = 16, + --[[noise_params = { + offset = 0.01, + scale = 0.00001, + spread = {x = 250, y = 250, z = 250}, + seed = 2, + octaves = 3, + persist = 0.33 + },]]-- + fill_ratio = 0.00002, + biomes = {"Forest"}, + y_min = 1, + y_max = mcl_vars.mg_overworld_max, + schematic = mod_mcl_core.."/schematics/mcl_core_oak_classic_bee_nest.mts", + flags = "place_center_x, place_center_z", + rotation = "random", + spawn_by = "group:flower", + }) -- Rare balloon oak minetest.register_decoration({ @@ -3269,7 +3310,27 @@ local function register_decorations() flags = "place_center_x, place_center_z, force_placement", rotation = "random", }) - + minetest.register_decoration({ + deco_type = "schematic", + place_on = {"mcl_mud:mud"}, + sidelen = 80, + --[[noise_params = { + offset = 0.01, + scale = 0.00001, + spread = {x = 250, y = 250, z = 250}, + seed = 2, + octaves = 3, + persist = 0.33 + },]]-- + fill_ratio = 0.0005, + biomes = {"MangroveSwamp"}, + y_min = 1, + y_max = mcl_vars.mg_overworld_max, + schematic = mod_mcl_mangrove.."/schematics/mcl_mangrove_bee_nest.mts", + flags = "place_center_x, place_center_z, force_placement", + rotation = "random", + spawn_by = "group:flower", + }) minetest.register_decoration({ deco_type = "simple", place_on = {"mcl_mud:mud"}, @@ -3630,6 +3691,27 @@ local function register_decorations() schematic = mod_mcl_core.."/schematics/mcl_core_birch.mts", flags = "place_center_x, place_center_z", }) + minetest.register_decoration({ + deco_type = "schematic", + place_on = {"group:grass_block_no_snow", "mcl_core:dirt"}, + sidelen = 16, + --[[noise_params = { + offset = 0.01, + scale = 0.00001, + spread = {x = 250, y = 250, z = 250}, + seed = 2, + octaves = 3, + persist = 0.33 + },]]-- + fill_ratio = 0.00002, + biomes = {"Forest", "BirchForest", "BirchForestM"}, + y_min = 1, + y_max = mcl_vars.mg_overworld_max, + schematic = mod_mcl_core.."/schematics/mcl_core_birch_bee_nest.mts", + flags = "place_center_x, place_center_z", + rotation = "random", + spawn_by = "group:flower", + }) -- Dark Oak minetest.register_decoration({