Commit Graph

199 Commits

Author SHA1 Message Date
kay27
80d845adb6 [mcl_mapgen_core] Fix Nether generation chain reaction 2021-03-29 03:18:17 +04:00
kay27
1818fcf592 [mcl_mapgen_core] Remove water from End, fix https://git.minetest.land/MineClone2/MineClone2/issues/1394 2021-03-29 02:43:08 +04:00
kay27
cb2aae5a55 [mcl_mapgen_core] Redesign, mostly to remove water from End and restore static lvm_buffer to speed it up 2021-03-28 22:57:11 +04:00
kay27
03feb36558 Improve Nether Portals (#1315) (as a squash)
Remove Nether portal caches, https://git.minetest.land/MineClone2/MineClone2/issues/1210

Store all exits from Nether portals in quick-access table

Implement proper Nether portal search, using the table, https://git.minetest.land/MineClone2/MineClone2/issues/1055

Store Nether portal exits table in mod storage

Remove exits from table on Nether portal destruction

Align destination area to [map chunks 5x5x5](https://git.minetest.land/MineClone2/MineClone2/wiki/World-structure%3A-positions%2C-boundaries%2C-blocks%2C-chunks%2C-dimensions%2C-barriers-and-the-void) to avoid lots of ```emerge_area()``` calls

Support Nether roof, https://git.minetest.land/MineClone2/MineClone2/issues/1267

Implement better suitable place search, https://git.minetest.land/MineClone2/MineClone2/issues/1126

Implement object queue not to trigger the same search again

Avoid lava lakes, https://git.minetest.land/MineClone2/MineClone2/issues/1126

Add ```/spawnstruct nether_portal``` chat command
Co-Authored-By: kay27 <kay27@noreply.git.minetest.land>
Co-Committed-By: kay27 <kay27@noreply.git.minetest.land>
2021-03-21 23:14:33 +00:00
kay27
15fa1e5b7a Fix https://git.minetest.land/MineClone2/MineClone2/issues/1060 - attempt number 3 2021-03-08 03:05:43 +04:00
kay27
8ed28adf7c Quick attempt to consider https://github.com/minetest/minetest/issues/5900#issuecomment-306071900 and fix https://git.minetest.land/MineClone2/MineClone2/issues/1212#issuecomment-16139 2021-03-07 06:31:43 +04:00
Elias Fleckenstein
d859d94a63 Merge pull request 'Fix #1204' (#1208) from AFCMS/MineClone2:afcms-patch-1 into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1208
2021-02-26 16:26:46 +00:00
AFCMS
41e715ef39 Fix #1204 2021-02-26 15:57:44 +00:00
kay27
a5168721b1 Fix https://git.minetest.land/MineClone2/MineClone2/issues/1186 2021-02-25 17:36:42 +04:00
AFCMS
0e6177ee1f Add setting to dissable ores generation #874 2021-02-22 12:33:28 +00:00
kay27
89e55e9065 Add sub-map generators queue, fix https://git.minetest.land/MineClone2/MineClone2/issues/993 and https://git.minetest.land/MineClone2/MineClone2/issues/1060 2021-02-22 03:15:32 +04:00
Elias Fleckenstein
100e37183d Update noise_params to the minetest 5.4 convention 2021-02-18 11:54:51 +01:00
Wuzzy
d0678d33f8 Use dungeons flag in mg_dungeons for MCL2 dungeons 2020-06-16 02:33:51 +02:00
Wuzzy
2394809649 Respect player's choice of mg_flags 2020-06-16 01:46:07 +02:00
Wuzzy
dded403409 Mapgen: Set biomes flag explicitly 2020-06-16 00:20:13 +02:00
Wuzzy
d29c4bb795 Fix 2 undeclared global warnings in mapgen core 2019-12-22 20:22:19 +01:00
Wuzzy
305145ca1c Tweak oceangen 2019-12-18 21:04:07 +01:00
Wuzzy
f74a502979 Generate sponges in v6 2019-12-18 20:39:14 +01:00
Wuzzy
8b6dc30943 Generate kelp/seagrass in v6 2019-12-18 19:15:21 +01:00
Wuzzy
affb984c56 Fix mapgen crash if there's unknown nodes 2019-12-14 01:30:21 +01:00
Wuzzy
3e3ed630e5 Add per-biome grass coloring 2019-12-13 23:48:13 +01:00
Wuzzy
62096c723a Generate new grass color 2019-12-13 15:33:13 +01:00
Wuzzy
76ed6ff826 MGV6: Generate witch huts only in Normal biome 2019-09-11 16:06:41 +02:00
Wuzzy
c49efcf9ad Fix floating vines rarely generating in jungles 2019-03-22 11:20:34 +01:00
Wuzzy
b0acd134ca Remove sand solidification code
Minetest does this now
2019-03-16 06:43:59 +01:00
Wuzzy
7935e64637 Cleanup ambigious sandstone groups, change meaning
- Change meaning of "sandstone" group to include sandstone of any color
- Add "normal_sandstone" group
- Rename "redsandstone" group to "red_sandstone"
2019-03-12 01:50:42 +01:00
Wuzzy
f55dac38e2 Re-introduce melons in v6 mapgen 2019-03-10 06:50:15 +01:00
Wuzzy
a943428b11 Simplify pumpkin map generation 2019-03-10 06:37:36 +01:00
Wuzzy
aee7c4b4a2 Simplify top snow generation in v6 2019-03-10 06:06:06 +01:00
Wuzzy
05e8cc8a2c Don't turn water into end stone anymore 2019-03-09 21:20:37 +01:00
Wuzzy
7ca999626d Restrict v6 generation of ice spikes to snow block 2019-03-06 23:17:06 +01:00
Wuzzy
2f74aea6f5 Replace deprecated functions 2019-03-06 04:38:57 +01:00
Wuzzy
e28f213f9a Add workaround to fix broken double plants in v6 2019-02-09 06:08:35 +01:00
Wuzzy
e89a01630b Remove misunderstood replacements from decorations
I thought it would replace nodes on the map, but it turned it it replaces nodes from the schematic definition.
2019-02-09 04:32:55 +01:00
Wuzzy
3ec7914962 Allow to use Minetest's original flat mapgen again 2019-02-09 03:07:18 +01:00
Wuzzy
62159b0aa0 Core mapgen: Extend some stuff to emin,emax 2019-02-06 04:32:20 +01:00
Wuzzy
f8362e798f Make v6 ice spikes much rarer 2018-05-28 16:32:15 +02:00
Wuzzy
12b0954523 Fix possible crash in mcl_mapgen_core 2018-05-20 15:25:57 +02:00
Wuzzy
16bb9b8901 Localize various unneeded global variables 2018-01-26 22:37:42 +01:00
Wuzzy
9d409927bc Make nether wart more common in v6 2018-01-17 22:56:20 +01:00
Wuzzy
b96974e253 Fix biome ores being generated in all biomes 2018-01-10 17:57:15 +01:00
Wuzzy
6e7e780af9 Fix ores spawning in non-existing biomes 2018-01-10 17:23:58 +01:00
Wuzzy
479ed1c12a Fix generated vines sometimes horizontal in air 2018-01-07 16:00:21 +01:00
Wuzzy
b4bb986d61 Add river water 2017-11-30 14:19:00 +01:00
Wuzzy
72684f36ff Remove faceless pumpkins from survival again
The top face rotates when you use shears on the pumpkin.
2017-11-27 12:40:07 +01:00
Wuzzy
b0c87f74fe Move world-related functions to mcl_worlds 2017-11-24 03:10:02 +01:00
Wuzzy
ce544cce6e Add faceless pumpkin 2017-11-23 00:05:31 +01:00
Wuzzy
fc17303b1e Generate end exit portal near the spawn in the End 2017-11-21 07:24:56 +01:00
Wuzzy
7c15d5f9ac More MC-like end portal block (WIP) 2017-11-21 05:39:27 +01:00
Wuzzy
d549dc0752 Add missing nil check for minetest.get_node_light 2017-11-18 21:39:00 +01:00