Commit Graph

31 Commits

Author SHA1 Message Date
AFCMS 28402ca663 store tool wield scale in a global var 2021-04-05 10:16:56 +02: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, MineClone2/MineClone2#1210

Store all exits from Nether portals in quick-access table

Implement proper Nether portal search, using the table, MineClone2/MineClone2#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, MineClone2/MineClone2#1267

Implement better suitable place search, MineClone2/MineClone2#1126

Implement object queue not to trigger the same search again

Avoid lava lakes, MineClone2/MineClone2#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 89e55e9065 Add sub-map generators queue, fix MineClone2/MineClone2#993 and MineClone2/MineClone2#1060 2021-02-22 03:15:32 +04:00
MysticTempest cbd3a491f6 Add support for mcimported worlds by clearing out singlenode mapgen, and adding a toggleable fix for converted double_plants. 2021-01-25 20:23:38 -06:00
kay27 2b1d21a5b5 Merge branch 'kay27_mechanics' as a squash 2020-11-14 01:59:03 +04:00
kay27 339f7c6359 Add calculation of mcl_vars.mapgen_edge_min/max in mcl_init and use them for Nether portal fast travelling 2020-09-26 02:17:49 +04:00
Wuzzy d0678d33f8 Use dungeons flag in mg_dungeons for MCL2 dungeons 2020-06-16 02:33:51 +02:00
Wuzzy 03ad3cca29 Major default formspec style update
- Uses formspec_prepend to set e.g. button style
- Make all formspecs use the MCL2 style consistently
2020-03-10 05:01:49 +01:00
Wuzzy 895b9e7e3a More End tweaks 2019-03-09 19:15:10 +01:00
Wuzzy 3edf880301 Add minimal formspec prepend 2019-03-07 13:05:26 +01:00
Wuzzy a84f7935fa Revert "Utilize formspec prepend"
This reverts commit ea0c2e9568.
2019-03-07 12:42:08 +01:00
Wuzzy ea0c2e9568 Utilize formspec prepend 2019-03-06 06:35:24 +01:00
Wuzzy 3ec7914962 Allow to use Minetest's original flat mapgen again 2019-02-09 03:07:18 +01:00
Wuzzy 7c15d5f9ac More MC-like end portal block (WIP) 2017-11-21 05:39:27 +01:00
Wuzzy b2f97fa3cf Reduce flat Nether bedrock thickness to 1 2017-08-30 01:09:49 +02:00
Wuzzy 25ce811edc Fix crash in flat mapgen 2017-08-21 17:46:12 +02:00
Wuzzy 9def04142b Align End and Nether height at mapchunk borders
This commit breaks previous maps with Nether and End
2017-08-21 17:35:57 +02:00
Wuzzy 3fefbf5fc4 Add realm barrier between End and Overworld void 2017-08-17 19:59:43 +02:00
Wuzzy 6e93424f03 Fix broken Overworld 2017-08-16 18:56:39 +02:00
Wuzzy d90b59c918 Tweak Nether ore and lava generation 2017-08-16 17:01:16 +02:00
Wuzzy 860155e5c1 Set proper realm boundaries 2017-08-16 15:29:05 +02:00
Wuzzy 1db851b42b Add experimental setting to disable superflat 2017-07-02 22:35:46 +02:00
Wuzzy a15ef03d9c Fix incorrect overworld_min in flat mapgen 2017-05-27 16:10:21 +02:00
Wuzzy ef06d345df New lava generator: Spawn in air in layers 1-10 2017-05-20 01:27:09 +02:00
Wuzzy ca9b7d69c1 Fix incorrect Superflat layering 2017-03-21 03:28:40 +01:00
Wuzzy 2495676e54 Rename mapgen variables 2017-03-04 23:00:23 +01:00
Wuzzy 23edc81f9d Set sane default mapgen flags for flat, v6, etc. 2017-02-23 01:14:27 +01:00
Wuzzy 73957c46b2 Partially re-implement Superflat 2017-02-23 00:15:47 +01:00
Wuzzy aa5ef41015 Globalize bedrock generation position 2017-02-20 07:10:03 +01:00
Wuzzy 91950ee026 Move global core variables to mcl_init 2017-02-17 23:06:52 +01:00