Commit Graph

42 Commits

Author SHA1 Message Date
emptyshore 55653fe37b Nether portals rewrite (#4128)
See MineClone2/MineClone2#4120

Co-authored-by: Mateusz Uzdowski <mateusz@silverstripe.com>
Reviewed-on: MineClone2/MineClone2#4128
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: emptyshore <emptyshore@noreply.git.minetest.land>
Co-committed-by: emptyshore <emptyshore@noreply.git.minetest.land>
2024-03-31 02:20:23 +00:00
iliekprogrammar 661afed46c Merge branch 'master' into mcl-init-fixes 2022-12-30 18:11:08 +00: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
AFCMS bacec2c7e6
Make 2 last params of `mcl_vars.get_node` optional 2022-10-25 11:01:44 +02:00
AFCMS a3d459f020
Refactor `mcl_init`
- use new vectors
- make code less confuse
- type annotations
2022-10-25 11:01:44 +02:00
cora ba7f534d2f Make end island larger 2022-09-14 20:37:08 +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 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
AFCMS e81da3c4ff fix some mods using "core" insteed of "minetest" 2021-06-12 00:18:52 +02:00
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
Lizzy Fleckenstein d57db0444f Use mod.conf in all mods, part 1 2021-03-04 15:22:14 +01: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