FossFanatic
dc7a46df4e
Simplify the LBM even more
2023-01-22 17:46:17 +00:00
FossFanatic
ad25b0bc4b
Make set palette safer
2023-01-22 16:51:40 +00:00
FossFanatic
b77260253a
Make grass palette fix LBM more efficient
2023-01-22 15:59:10 +00:00
FossFanatic
9746dbc376
Make the LBM run at every load again
...
After testing this out, it seems that the LBM only works consistenly when it runs at every load.
2023-01-17 16:04:12 +00:00
FossFanatic
a500528613
Make the LBM run only once
...
Since some people complained about the LBM running at every load, I changed it so it only runs once instead. It shouldn't even need to run more than once anyways, unless somebody could prove the contrary.
2023-01-13 17:58:51 +00:00
FossFanatic
5ec7b8ed89
Add LBM to fix grass palette indexes
...
Adds a LBM which basically fixes the grass palette indexes of the nodes from older worlds. I have also added some more nodes to `block_fixes`.
2022-12-29 14:18:37 +00:00
FossFanatic
137179ac8e
revert 3afb42b2f7
...
revert Add a LBM to fix grass palette indexes on older worlds
2022-12-29 14:13:50 +00:00
FossFanatic
3afb42b2f7
Add a LBM to fix grass palette indexes on older worlds
2022-12-29 14:12:00 +00:00
FossFanatic
c1cde073c8
Rename _mcl_palette_index to _mcl_grass_palette_index
2022-12-28 19:34:24 +00:00
FossFanatic
1f601c68c5
Make snowy grass blocks have a palette index
...
This fixes the issue where snowy grass blocks always have the same coloured grass underneath them.
2022-12-28 17:02:58 +00:00
cora
fe68e1eaac
Generate netherrack and ores under the lava
...
another hack using minetest.generate_ores this time
2022-11-01 04:52:17 +01:00
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
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
d866b61d1c
Add lower cavern threshhold for all mgs that support it
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
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
642559c758
Fix issue with wrong lighting in caves
2022-09-16 15:09:32 +02: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
f3e40803f4
Put register_generator api in a separate file
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
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
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
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
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
8ff559d4ad
Add ancient debris as normal ore
2022-07-16 02:07:17 +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
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
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
9381657f5d
use new struct api for desert well and temples
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
41f708e03e
Regular decorations for legacy nether(except v6)
...
minetest supports this now
2022-06-19 00:24:56 +02:00
Lizzy Fleckenstein
f6a40ffb78
Run tools/strip_trailing_whitespace.sh
2022-05-26 07:29:28 +02: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
E
87e494f42b
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 )
2022-02-25 18:38:50 +01:00
AFCMS
cd33d406b2
fix many codestyle issues (functions, strings, modpaths)
2021-05-29 16:12:33 +02:00
AFCMS
00063cde73
speedup mcl_observer
2021-05-27 09:34:12 +02:00
AFCMS
9e074af07f
unify code style [1]
2021-05-25 12:52:25 +02:00
AFCMS
1870a89af0
remove unused var
2021-05-22 20:01:59 +02:00
kay27
96be84161f
[mcl_mapgen_core] Don't crash if Ender Dragon doesn't spawn for some reason
2021-05-10 01:57:34 +04:00
AFCMS
02f393998f
fix many warnings (644 remaining)
2021-04-17 09:26:37 +02:00