an (incomplete) implementation of Minecraft World Generation in rust. Will be refactored later™
The main.rs is just a test for now
This should be a library, but frankly, I don't care
The following things have been implemented in at least some capacity
- End Spikes (Dragon Fight Pillar) generation
- The End Biome Source
- includes creation of map images
- Slime Chunks
This library is nowhere near finished. The following parts will be implemented next:
Biomes which can contain end cities:
- Highlands
- Midlands
Uses RandomSpread generation with the following parameters:
new RandomSpreadStructurePlacement(20, 11, SpreadType.TRIANGULAR, 10387313));
That's
spacing: 20
separation: 11
spreadType: TRIANGULAR
salt: 10387313
- todo
- todo
- todo
- todo
My list of possibly useful annotations I made in the Minecraft source code for future reference.
--seedlib multi noise biome source
responsible for overworld and nether biome sources (for End: TheEndBiomeSource)
--seedlib configured structures
contains settings for all structures in the game. Includes generator method / settings
--seedlib biome tags
tags for biomes. Contains structure info like MINESHAFT_HAS_STRUCTURE
or SHIPWRECK_BEACHED_HAS_STRUCTURE
as well as general biome info like IS_JUNGLE
--seedlib structuresets
structure generation algorithms with parameters
--seedlib idk
ChunkGenerator randomSpread with params
--seedlib locate structure
locate structure in world