Commit Graph

935 Commits

Author SHA1 Message Date
cora
5d26595f4a enforce cavern setting for nether generation
people unticking the "caverns" box probably do not expect that this
only applies to nether "terrain"
2022-11-01 04:52:17 +01:00
cora
1c6d1c958a Add more nether bridge variants 2022-11-01 04:52:17 +01:00
cora
8aedd6a761 add nether bridge fragment 2022-11-01 04:52:17 +01:00
cora
6bc12ec5ec mcl_structures Check if file exists before placing schematics 2022-11-01 04:52:17 +01:00
cora
62f353d54f Spawn hoglins in stable bullwarks 2022-11-01 04:52:17 +01:00
cora
4ad1abde14 Fix basalt pillar artifacts above the nether roof 2022-11-01 04:52:17 +01:00
cora
768345a91c Fix top node and magma patches in nether wastes 2022-11-01 04:52:17 +01:00
cora
98dad0b191 Generate netherrack under the bedrock ceiling
this is a somewhat ugly hack that uses minetest.generate_decorations
which generates decorations regardless of biome so additional steps
had to be taken to ensure no other decorations "spill over" due to
this.
2022-11-01 04:52:17 +01:00
cora
302b18833a Add variable interior for nether bulwark 2022-11-01 04:52:17 +01:00
cora
f76e0628e4 initial daughter structure support 2022-11-01 04:52:17 +01:00
cora
24476caf7e Add nether bulwark 2022-11-01 04:52:17 +01:00
cora
68039e0fb6 Fix nether outpost schematic voids (air inside now) 2022-11-01 04:52:17 +01:00
cora
d866b61d1c Add lower cavern threshhold for all mgs that support it 2022-11-01 04:52:17 +01:00
cora
a91586b2b5 Fix a few nether biomes settings 2022-11-01 04:52:17 +01:00
cora
a03973a80b tweak v7 cavern threshhold for larger nether caves 2022-11-01 04:52:17 +01:00
cora
c850c0dfbb move remaining api code to mcl_structures/api.lua 2022-10-28 21:25:43 +02:00
cora
9aaa13408a Remove get_structure_data_construct
the positions are available from the registered structure
2022-10-28 21:25:43 +02:00
cora
c30e2c33b9 Move end portal shrine generation to structure api 2022-10-28 21:25:43 +02:00
cora
146e2de1a5 Structure-api: add initial rotation support 2022-10-28 21:25:43 +02:00
cora
ae91640234 Add missing biomes, correct saturation 2022-10-26 15:57:17 +00:00
cora
280bcddcb2 Move sweet berry decoration to mcl_biomes 2022-10-26 15:57:17 +00:00
cora
a8a55f9d6e don't run block fixes at all in singlenode 2022-10-22 12:10:29 +02:00
cora
2a10be4174 Fix possible crash in v6 / singlenode mapgen 2022-10-22 12:10:29 +02:00
cora
6f0de8a82c Fix crimson fungus decoration & weeping vines on roof 2022-10-16 00:58:29 +02:00
cora
4a9a7b8fef Fix igloo chest loot 2022-10-16 00:52:47 +02:00
cora
dd163f4850 initialize special nodes on igloo placement 2022-10-16 00:52:47 +02:00
cora
7fee2cd55a struct-api: export construct_nodes function 2022-10-16 00:52:47 +02:00
PrairieWind
7f2ecb6ed0 Add brewing stand and furnace to igloo schematics 2022-10-16 00:52:47 +02:00
cora
1a380da960 Don't spawn pilalgers *in* the ground 2022-10-14 02:31:23 +02:00
cora
70294d9e34 Add weeping vines 2022-09-19 14:03:32 +02:00
cora
642559c758 Fix issue with wrong lighting in caves 2022-09-16 15:09:32 +02:00
cora
4de1e4d543 Fix Structure loot generation (again) lol 2022-09-14 20:37:08 +00:00
cora
70e0d8bdfd Don't spawn the dragon in peaceful
and keep portal open
2022-09-14 20:37:08 +00:00
cora
ba7f534d2f Make end island larger 2022-09-14 20:37:08 +00:00
cora
47d06ff6b9 Fix undeclared var 2022-09-14 20:37:08 +00:00
cora
78703d2baa Fix lighting issues in the end 2022-09-14 20:37:08 +00:00
cora
540bf56b91 Add logging settings for mapgen and structures
mapgen logging being default off and structure generation default
on as the latter is the far more useful of the 2 in most situations
2022-09-14 20:37:08 +00:00
cora
adc4e9f810 Move end gateway portal to structure api 2022-09-14 20:37:08 +00:00
cora
0d4feeffef Add more variation to jungle schematics 2022-09-14 20:37:08 +00:00
cora
a3c4d915b3 Fix dragon spawning with crystals 2022-09-14 20:37:08 +00:00
cora
e6707d1ef9 fix iron cage size, doubled dragon view range 2022-09-14 20:37:08 +00:00
cora
2dbb74edd2 Fix gateway portals to come out on land 2022-09-14 20:37:08 +00:00
cora
ef384f7062 Make dragon spawn again, fix dragon fight 2022-09-14 20:37:07 +00:00
cora
f3e40803f4 Put register_generator api in a separate file 2022-09-14 20:37:07 +00:00
cora
244dfa244e Fix barrels in woodland cabins 2022-09-14 20:37:07 +00:00
cora
8264ea804a Add iron cages to some obsidian pillars 2022-09-14 20:37:07 +00:00
cora
f753ac92ce Fix loot, elytra and shulker spawning 2022-09-14 20:37:07 +00:00
cora
86d98a9eeb add construct_nodes to structure api 2022-09-14 20:37:07 +00:00
cora
b62b3296b8 Add end boats and shipwrecks 2022-09-14 20:37:07 +00:00
cora
538d900ccc Add End biomes, fix island decorations 2022-09-14 20:37:07 +00:00
cora
2c7838bdf6 make the end island slightly larger
also uses the mcl_mapgen_core api now
2022-09-14 20:37:07 +00:00
cora
abb6fe3564 Add End island biome at spawn, proper end island 2022-09-14 20:37:07 +00:00
cora
7d2543e03c Properly close exit portal 2022-09-14 20:37:07 +00:00
cora
48514ece5b Add End Spikes 2022-09-14 20:37:07 +00:00
cora
129dd24cc5 Fix inaccurate warning about spawn platform 2022-09-14 20:37:07 +00:00
cora
232ea1da06 Fix end lighting 2022-09-14 20:37:07 +00:00
cora
61f9a047e3 Remove unused functions 2022-09-14 20:37:07 +00:00
cora
1d942e9946 Exit portal and spawn platform -> mcl_structures 2022-09-14 20:37:07 +00:00
cora
52c4a7dc28 some refactoring 2022-09-14 20:37:07 +00:00
cora
8c2a1017c6 Spawn clay as ore 2022-09-14 20:37:07 +00:00
cora
82539acfe4 Move jungle vines to jungle tree schematics 2022-09-14 20:37:07 +00:00
cora
00c8c53a57 Enable deepslate and copper generation 2022-09-14 20:37:07 +00:00
cora
b377f67214 Move v6 fixes to separate file 2022-09-14 20:37:07 +00:00
cora
fc64907b15 move mapgen ores regs to separate file 2022-09-14 20:37:07 +00:00
cora
9449cdfd88 Don't spawn illagers in cabins in peaceful 2022-09-07 11:58:16 +02:00
cora
89f3bb5aa6 only prevent mob spawning, not wall fixing 2022-09-07 11:58:16 +02:00
cora
962425faa5 Don't spawn structure mobs in peaceful mode 2022-09-07 11:58:16 +02:00
FaceDeer
9c1cc9e141 Merge pull request 'Merge master into my fork' (#2) from MineClone2/MineClone2:master into master
Reviewed-on: https://git.minetest.land/FaceDeer/MineClone2/pulls/2
2022-09-02 01:05:45 +00:00
3raven
5329e70df9 Merge branch 'master' into master 2022-08-31 17:04:43 +00:00
PrairieWind
0c6cbc9e99 Chest on top floor of Pillager Outpost now works. 2022-08-30 23:04:43 +02:00
FaceDeer
be36022249 Merge pull request 'Update from master' (#1) from MineClone2/MineClone2:master into master
Reviewed-on: https://git.minetest.land/FaceDeer/MineClone2/pulls/1
2022-08-29 07:16:32 +00:00
FaceDeer
e1bf4081dd since registered_generators was a table, not an array, table.sort was having no effect and so priority was being ignored. Generators were being run in an arbitrary order.
I discovered this when I attempted to register an lvm in a mod that was intended to run after "main", to modify clay that the main mapgen lvm adds to the world. It wasn't finding any clay because priority was being ignored and it was running before "main" was.
2022-08-28 22:11:02 -06:00
3raven
1a405b291a Mise à jour de 'mods/MAPGEN/mcl_villages/locale/mcl_villages.fr.tr' 2022-08-24 05:39:45 +00:00
3raven
0d23a89713 Mise à jour de 'mods/MAPGEN/mcl_villages/locale/template.txt' 2022-08-24 05:39:11 +00:00
3raven
561396f4e6 Mise à jour de 'mods/MAPGEN/mcl_villages/init.lua' 2022-08-24 05:38:30 +00:00
3raven
bb5aea08ef Mise à jour de 'mods/MAPGEN/mcl_villages/locale/mcl_villages.ru.tr' 2022-08-24 04:57:18 +00:00
3raven
d6d70757a3 Mise à jour de 'mods/MAPGEN/mcl_villages/locale/mcl_villages.fr.tr' 2022-08-24 04:56:58 +00:00
3raven
ec91be347a Mise à jour de 'mods/MAPGEN/mcl_villages/locale/template.txt' 2022-08-24 04:56:32 +00:00
3raven
2d377dc539 Mise à jour de 'mods/MAPGEN/mcl_villages/init.lua' 2022-08-24 04:55:04 +00:00
3raven
17a5526bd2 Mise à jour de 'mods/MAPGEN/mcl_villages/init.lua' 2022-08-24 04:54:04 +00:00
3raven
eb37b49604 Transférer les fichiers vers 'mods/MAPGEN/mcl_villages/locale' 2022-08-24 04:50:59 +00:00
3raven
0556a3c9bf Ajouter 'mods/MAPGEN/mcl_villages/locale/template.txt' 2022-08-24 04:49:08 +00:00
PrairieWind
092b746b0b Add Pillager and Evoker Spawning to Pillager Outpost 2022-08-16 01:53:42 +02:00
FaceDeer
1a09b5c132 fixing registration of node functions
"#registered_generators" was attempting to count a non-array table and was always returning 0. So every node function registered was named "mod_1" and overwrote each other in that index.

also, "nodes" wasn't counting node_functions, it was counting lvm_functions.
2022-08-14 01:11:30 -06:00
cora
79ce9f89d3 More adaptive foundation height 2022-08-11 14:26:34 +02:00
cora
0bcbea4ce3 Add lots of water lakes to mangrove swamps 2022-08-11 14:26:34 +02:00
cora
b7f26e2ddc Add setting to selectively disable strucutres 2022-08-11 14:26:34 +02:00
cora
4f96b38fa3 Make foundations less cubic 2022-08-11 14:26:34 +02:00
cora
f1c70fe19d grass border for water lake 2022-08-11 14:26:34 +02:00
cora
cef559c573 Fix ruined portals y offset 2022-08-11 14:26:34 +02:00
cora
f86898b2f4 make ruined portals rarer 2022-08-11 14:26:34 +02:00
PrairieWind
70277276b0 Adjusted spawn chance and fixed the walls on generation, thanks cora. 2022-08-09 10:30:48 -06:00
PrairieWind
84691c393d Pillager Outpost, Schematics by RandomLegoBrick 2022-08-09 10:30:48 -06:00
cora
27304d5d96 Nerf shipwreck loot 2022-08-04 04:21:59 +02:00
cora
811d7a778f Add tall mangrove tree schematics 2022-08-02 12:02:20 +02:00
cora
77c878f609 make waterlogged roots work with river water 2022-08-02 12:02:20 +02:00
cora
51f79eaa39 Add lilypads and dead bushes 2022-08-02 12:02:20 +02:00
cora
3bf45ec4e9 Spawn mangroves in shallow water, fix schematics 2022-08-02 12:02:20 +02:00
cora
e8fc56ab33 Fix water- and mudlogged roots, add w. logging abm 2022-08-02 12:02:20 +02:00
cora
f003aefe19 allow coral reefs in MangroveSwamps 2022-08-02 12:02:20 +02:00
Thunder1035
d284ddf150 Add mangrove trees 2022-08-02 12:02:20 +02:00
cora
09889ca927 Add MangroveSwamp biome defs 2022-08-02 12:02:20 +02:00
cora
9b9f9d9b0c Fix crash when using /spawnstruct in singlenode mg 2022-07-28 08:49:59 +00:00
cora
8ff559d4ad Add ancient debris as normal ore 2022-07-16 02:07:17 +02:00
cora
455fac9350 Add schematics by RandomLegoBrick and PrarieWind 2022-07-14 13:51:46 +02:00
cora
8cad4a6886 Add ruined portals 2022-07-14 13:38:20 +02:00
cora
931cb2b991 Add fallen tree logs 2022-07-14 06:59:47 +02:00
cora
2b835221a7 Make them spawn at (somewhat) random positions 2022-07-12 01:30:41 +02:00
cora
571c57e891 Add updated woodland outpost schematic 2022-07-12 00:44:39 +02:00
cora
33739dc5af Woodland cabin mob spawning 2022-07-12 00:32:53 +02:00
MysticTempest
484ad2b630 Replace all melon/pumpkin stems in woodland_cabins with unconnected variants. 2022-07-09 19:35:51 -05:00
cora
f98242bb0c Do not emerge while making railcorridors
it turns out to work fine without
2022-07-06 01:43:21 +02:00
cora
daa95e3688 replace dirt and gravel too for even less clumps 2022-07-05 00:12:23 +02:00
cora
ea99341f94 make geode inside smoother 2022-07-05 00:12:23 +02:00
cora
4b95185fba make geodes less cube shaped (sometimes) 2022-07-05 00:12:23 +02:00
cora
3584d89028 better distribution 2022-07-04 23:07:51 +02:00
cora
40d0c1affb slightly optimize placement 2022-07-04 23:07:51 +02:00
cora
0a2e68d136 spawn carts, make mineshafts a bit less frequent 2022-07-04 23:07:51 +02:00
cora
9f66c9f673 let railcorridors be placed by new api
this makes it a lot faster
2022-07-04 23:07:51 +02:00
cora
a92b405efd Comment out unused cart-checking hackery 2022-07-04 23:07:51 +02:00
cora
db4f2baafc Tweak tsm_railcorridors for faster mapgen
This just does 5 instead of 10 attempts to spawn a corridor in a
chunk. There still appear to be plenty corridors and it makes
mapgen noticeably faster.
2022-07-04 23:07:51 +02:00
cora
c66cb834a2 spawn corals only at -10 and lower
to prevent corals in rivers
2022-07-04 02:13:54 +02:00
cora
6ad00e4170 emerge before geode and surface pool placement
otherwise they can be cut off
2022-07-01 14:43:03 +02:00
cora
ef14006f15 Fix surface pools & desert temple loot 2022-07-01 14:30:02 +02:00
cora
c59a890963 add woodland cabin loot 2022-07-01 06:11:10 +02:00
cora
ac69b7c710 Add woodland cabin and outpost 2022-07-01 04:26:41 +02:00
cora
f115fc8ea0 tweak probabilities 2022-07-01 02:05:48 +02:00
cora
8684140740 log actual placement position 2022-07-01 02:05:48 +02:00
cora
be2a8d7054 Structure transfer fixes 2022-07-01 02:05:48 +02:00
cora
f5cc0ef2dc Move shipwrecks to mcl_structures 2022-07-01 02:05:48 +02:00
cora
7945de1324 igloo fixes, mobspawns, move geode to mcl_structs 2022-07-01 02:05:48 +02:00
cora
a09226c370 fossil & igloo -> new api 2022-07-01 02:05:48 +02:00
cora
3ca6d4de3b fix chunk probability and distributions 2022-07-01 02:05:48 +02:00
cora
7f8a366a7b make geodes slightly larger, fix positioning 2022-07-01 02:05:48 +02:00
cora
607511518f fix warning 2022-07-01 02:05:48 +02:00
cora
14cd360214 witch hut, boulders, ice-spikes -> new api 2022-07-01 02:05:48 +02:00
cora
dfbb832f96 Terrain feature fixes 2022-07-01 02:05:48 +02:00
cora
063e17bc0a make schematic selection deterministic 2022-07-01 02:05:48 +02:00
cora
befe493ff0 Add warm ocean ruins 2022-07-01 02:05:48 +02:00
cora
fcb8160a60 Add loot generation to api 2022-07-01 02:05:48 +02:00
cora
065767cc77 Add Ocean Ruins - schematics by PrarieWind 2022-07-01 02:05:48 +02:00
cora
47eca3f774 fix callbacks 2022-07-01 02:05:48 +02:00
cora
b396a3c6ee update API.md 2022-07-01 02:05:48 +02:00
cora
9381657f5d use new struct api for desert well and temples 2022-07-01 02:05:48 +02:00
cora
e37358d220 Add make_foundation option
test by /spawnstruct nether_outpost without being on complete
(covering the sidelen) solid ground
2022-07-01 02:05:48 +02:00
cora
d8697cb59c Tweak basalt delta code 2022-07-01 02:05:48 +02:00
cora
0b3a4c18d7 structure-api: add check for solid ground 2022-07-01 02:05:48 +02:00
cora
8e976d9191 Do not log generation of terrain features
this leads to excessive io otherwise
2022-07-01 02:05:48 +02:00
cora
fed81932e2 structs: use mcl_register_generator, cave decos 2022-07-01 02:05:48 +02:00
cora
eb8db0dc0b optimize terrain features 2022-07-01 02:05:48 +02:00
cora
69dac8ded4 fix surface pools y offset 2022-07-01 02:05:48 +02:00
cora
2b87958678 add all sizes of sea pickles not just 1 2022-06-23 17:18:01 +02:00
cora
f883b45809 Add coral reefs 2022-06-23 15:06:56 +02:00
cora
31b94f5b22 Add "nether outpost"
As a temporary solution until large nether fortresses are there.
This is just a little tower containing some warts and a blaze
spawner.
2022-06-19 03:11:56 +02:00
cora
41f708e03e Regular decorations for legacy nether(except v6)
minetest supports this now
2022-06-19 00:24:56 +02:00
cora
0890c719a3 Add basalt pillars 2022-06-19 00:24:52 +02:00
cora
fefb15f2a8 Add new fungus tree schematics 2022-06-19 00:24:52 +02:00
cora
01eea4ab8a prevent nether trees from growing through bedrock 2022-06-19 00:24:52 +02:00
cora
d9a74ac180 rename mcl_surface_pools -> mcl_terrain_features 2022-06-19 00:24:52 +02:00
cora
a0264ed5e0 tweak biome distribution to be more like mc
according to
https://www.reddit.com/r/Minecraft/comments/gjeuww/how_the_nether_biomes_are_distributed/
2022-06-19 00:24:52 +02:00
cora
48189cb3a7 fix lighting issue for placed schematics
warped and crimson shroomlight would not work correctly before
because they're placed after light calculation is done apparently
2022-06-19 00:24:52 +02:00
cora
db9fba70dd some biome tweaks, add nether gold 2022-06-19 00:24:52 +02:00
cora
8efbd89b6a Add basalt columns & lava pools 2022-06-19 00:24:52 +02:00
cora
3c79685c48 Add main nether biomes
Add nether forests

Add soulsand valley decorations

Add Basalt Delta basics
2022-06-19 00:24:48 +02:00
cora
92da429f50 Fix chatcommand not under mcl_structures in /help 2022-06-15 05:10:41 +02:00
cora
726d1f07fa use noise instead of fill_ratio for distribution 2022-06-15 05:10:41 +02:00
cora
9c6aafa3c1 add surface pools 2022-06-15 05:10:41 +02:00
cora
1b0053299c Do not replace bedrock during geode gen. 2022-06-15 05:10:41 +02:00
cora
fa56ce5d52 Add outer geode layer
uses deepslate until smooth basalt is there
2022-06-15 05:10:41 +02:00
cora
a0bed1d8bc Add proper logging + some fixes 2022-06-15 05:10:41 +02:00
cora
a895292371 Add API documentation, minor fixes 2022-06-15 05:10:41 +02:00
cora
b0b8638a4c Add /spawnstruct support 2022-06-15 05:10:41 +02:00
cora
8fa67e6b4f Geodes as test for place by function 2022-06-15 05:10:41 +02:00
cora
1eaac3c406 use gennotify instead of lbm for placement
keep the lbm for secondary structures
2022-06-15 05:10:41 +02:00
cora
6406a14738 Add Structure placement api 2022-06-15 05:10:41 +02:00
cora
899c849996 old registered_structures -> structure_data 2022-06-15 05:10:41 +02:00
cora
5c057f24fb get_mapgen_params -> get_mapgen_setting 2022-06-07 03:17:32 +02:00
cora
4bff9710a0 Make structblock non walk- and pointable 2022-06-06 01:08:55 +02:00
cora
d4e4bc8708 add rarer beached shipwreck 2022-06-05 13:10:36 +02:00
cora
b7419dc207 randomly enchant treasure 2022-06-05 13:10:36 +02:00
cora
4af1094eed Add shipwrecks
schematics by chmodsayshello
2022-06-05 13:10:36 +02:00
cora
6b9cb0062d save home coords in cat entity as well 2022-05-29 02:34:02 +02:00
cora
2337e72a23 simplify spawn logic 2022-05-29 02:34:02 +02:00
cora
da6563a5b3 Spawn witch and black cat on witchhut generation 2022-05-29 02:34:02 +02:00
Elias Fleckenstein
e7898352d8 Remove mobs_mc_gameconfig 2022-05-27 02:44:39 +02:00
Elias Fleckenstein
f6a40ffb78
Run tools/strip_trailing_whitespace.sh 2022-05-26 07:29:28 +02:00
Elias Fleckenstein
ff33794487 Rename mobs global to mcl_mobs 2022-05-25 23:13:33 +02:00
cora
fca259c074 fix crash during (artificial) village creation
when using the village tool doing that on an unsuitable location
would result in no position for the belltower being available
this checks for that and ... doesn't crash then ^^
2022-05-22 02:01:21 +02:00
cora
7379d5bee8 Add Belltower to villages 2022-05-21 14:48:56 +02:00
cora
d67dd0577f fix crash through forgotten function call 2022-05-21 12:36:57 +02:00
cora
2b63866c14 spawn villagers (and golem) immediately after mg 2022-05-21 12:36:57 +02:00
cora
e51ea1e079 initialize inventory nodes on mapgen 2022-05-21 12:36:57 +02:00
cora
b58422a584 write villager id into bed nodemeta 2022-05-21 12:36:57 +02:00
cora
3ff4ea576d spawn iron golem on villagegen 2022-05-21 12:36:57 +02:00
cora
0d56ef1a90 add jobsites to villagegen schematics 2022-05-21 12:36:57 +02:00
cora
8d0afede37 don't block mapgen on village generation 2022-05-09 10:29:57 +00:00
cora
0288581407 increase wait til village generated 2022-05-09 10:29:57 +00:00
cora
46dbf8c0ab Spawn villagers on villagegen, stay in village
This spawns a villager per bed on village gen and saves the bed
position in the entity. If it moves too far from the village
it gets teleported (for now) back.
2022-05-09 10:29:57 +00:00
Alexander Minges
faf3f60cff Use uncarved pumpkin instead of carved in mapgen 2022-04-22 18:07:37 +00:00
cora
3cb9947cf4 fix sugarcane not getting param2 on mapgen 2022-04-19 12:16:07 +02:00