Commit Graph

200 Commits

Author SHA1 Message Date
Nils Dagsson Moskopp 5f5796330f
Add LBM to fix MineClone2 <0.71 Nether roof void
Older versions of the MineClone2 map generator generated void nodes on
the Nether roof. These nodes prevented building there and allow players
to “chunktrail”, i.e. finding explored areas by going along old chunks.

This patch adds an LBM and a setting to activate it (default is false).

The LBM replaces void nodes on the Nether roof with air. This can cause
lag while the affected areas are being fixed. For this reason the LBM is
disabled by default. Note that the LBM is only useful if a world had the
Nether roof generated in MineClone2 <0.71; new worlds have no roof void.

There are probably better ways to fix the Nether roof, but this does
work and is a full solution to the problem, as the lag is temporary.
2022-05-07 15:56:05 +02:00
Nils Dagsson Moskopp dca72c7d97
Remove stone layers generated in the Nether
Stone layers seem to be created by a Minetest bug:
<https://github.com/minetest/minetest/issues/9357>
2022-05-07 15:56:04 +02:00
Nils Dagsson Moskopp d6741a5e4a
Do not generate mapgen decorations on Nether roof 2022-05-07 15:56:03 +02:00
Nils Dagsson Moskopp 58b21fbe79
Make area above Nether roof Nether instead of Void 2022-05-07 15:56:03 +02:00
Alexander Minges d59888c4df
Use uncarved pumpkin instead of carved in mapgen 2022-04-14 00:22:58 +02:00
E 4ae17b0c8e mapgen/mcl_mapgen_core: base mushrooms and nether decorations off block seed 2021-04-25 23:17:27 -04:00
E 2381cb8e84 mapgen/mcl_mapgen_core: move set_node decorations a node callback
During the rewrite in 89e55e9065, a queue system was added to allow
using both VoxelManip-based generation steps, and set_node-based steps,
however some set_node-based steps (underground mushrooms, nether
decorations, and structures) were missed and remained in a VoxelManip
step. The result is that the changes made by the set_node stages were
overwritten after the (now-stale) VoxelManip data was committed later.

(ref. Mineclonia/Mineclonia#26)
2021-04-20 00:41:10 -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