Commit Graph

5 Commits

Author SHA1 Message Date
evrooije 2c2cba19ee Introduced the ability to register a fallback or layer generator with
arguments, updated simple generator to allow switching between different
content ids for the terrain generation, i.e. it can now switch between
stone and sandstone (the one registered is sandstone, the fallback does
not specify arguments during registration so it uses a default, stone).
2018-07-19 00:11:59 +02:00
evrooije 35d768d79f Created framework for supporting multiple map generators per layer, with
a fallback (or default if need be) generator in case no layer specified
generator is found. Added sample/ basis mod to demonstrate registration
of map generators. Rewrote Proxima Testauri map generator to conform to
multi_map, simple map generator is fallback in demo. Testauri now uses
a single noise which increases generation time but reduces memory usage.
To try and reduce generation time, it keeps track of the last layer used
and based on that will not reinitialize unless the layer changes.
2018-07-18 23:22:18 +02:00
evrooije d6d827849d Fixed issue in simple mapgen depends.txt 2018-07-17 23:35:05 +02:00
evrooije 18f6b8f3cc Lighting seems to work properly, alignment is proper. Separated the simple
mapgen code into multi_mapgen_simple mod and registered with multi_map_core
which now properly calls the registered mapgen
2018-07-17 22:59:58 +02:00
evrooije d5d4520b2e Turned into a modpack, supplying simple mapgen. Changed to work on chunk
boundaries. Current version does not call the registered mapgen yet, and
simple mapgen is part of core (to be moved)
2018-07-17 21:16:37 +02:00