Commit Graph

103 Commits

Author SHA1 Message Date
Cubitect
89df24c3be Update spawn algorithm for 1.21.2 + cmake + more
* added basic support for cmake (#127)
* renamed Winter Drop version from MC_1_21_3 to MC_1_21_WD
* updated world spawn location for 1.21.2 (cubiomes-viewer #340)
* tweaked mc version to text conversion (#128)
* removed properties field in structure config and added dimension field instead
* moved biome tree selection back to biomenoise.c as it's slightly faster and avoids globals
2024-11-09 21:08:05 +01:00
Cubitect
e49c8c561b Added Pale Garden biome and Small End Islands
* added pale_garden biome with 1.21.3 (version TBA)
* added small end islands and better end surface generation (#117)
* added linked end gateway finder (#117)
* fixed inaccurate End generation at large distances from 0,0
* fixed incorrect biome in outer end rings
* fixed incorrect biome area size (#122)
2024-10-07 13:20:00 +02:00
Cubitect
d68faefd65 Support for 1.21 + trial chambers + end surface height
* much faster surface height generation for the end dimension
* added 1.21 to versions
* added trial chambers
* renamed trail_ruin to trail_ruins to match its id string
2024-06-02 22:12:34 +02:00
Cubitect
c3ff21a1a8 Added biome proportion checker using the Monte Carlo method 2024-01-07 11:07:53 +01:00
Cubitect
4c8b36ea43 Update end city terrain check for 1.19+ 2023-06-29 23:17:29 +02:00
Cubitect
f2c96306c7 support checking for igloos with basement 2023-05-21 14:48:07 +02:00
Cubitect
730b45d9b0 update secondary getSpawn pass for 1.18+ (#97) 2023-05-19 20:11:50 +02:00
Cubitect
5aa7e86bb6 wells, geodes and trails
1) added support for desert wells
2) added support for amethyst geodes
3) added support for trail ruins
4) temples can now generate rotated in 1.20
2023-05-19 13:25:54 +02:00
Cubitect
bdec4f5ce8 1.19.2 vs 1.19.3
1) add support for 1.19.2 along side 1.19.3
2) get approx stronghold positions in 1.19.3 without biome check
2023-01-22 14:01:56 +01:00
Cubitect
231ee62abe Performance improvements and separate climate min/max finders 2023-01-15 14:01:57 +01:00
Cubitect
d3112ca416 avoid recursion floodfill exceeding stack limit (crashes on windows) 2022-10-01 19:39:40 +02:00
Cubitect
6989510924 header update 2022-10-01 15:36:26 +02:00
Cubitect
6f2ef55b73 Fixes, performance improvements and changes
1) fixed inaccuracy in village bounding boxes (1.18+)
2) fixed 2 block voronoi offset for end dimension
3) made monument biome check significantly faster (1.18+)
4) removed structure configurations from global scope
5) renamed biome filter flags
2022-09-25 22:35:40 +02:00
Cubitect
8b87d9379a Added fortress piece generator + fixed inverted terrain viability check 2022-09-11 12:30:05 +02:00
Cubitect
b9d374445b Structure variants and fixes
expanded support for structure variants
added end city pieces generation (WIP)
added outer end voids (MC-159283)
fixed several issues with the availablity of biomes for layered generation
fixed that about half of 1.18/1.19 end gateways have wrong positions
2022-09-04 22:40:19 +02:00
Cubitect
73a2d212ca Fixes and file separation
1) fixed biome exclusion filter no longer working for 1.17-
2) fixed ruined portal variations
3) separted quad base code with threading and filesystem dependencies into its own source file
2022-08-21 00:01:04 +02:00
Cubitect
d0e3d4456c More compatibility fixes 2022-08-14 16:50:57 +02:00
Cubitect
5644cb1c22 Improved compatibility with non-GNU environments 2022-08-14 13:52:26 +02:00
Cubitect
a81171f5ef Made it possible to generate climates parameters individually 2022-08-03 20:10:50 +02:00
Cubitect
3ba5347451 Expanded support of the match-any biome filter to the layered biome gen 2022-07-29 18:26:16 +02:00
Cubitect
91ba293616 Fix broken end gateway gen for pre 1.18 2022-06-02 23:51:38 +02:00
Cubitect
9e301ba95b Fix of bastion/fortess generation 1.18+ and ancient_cities 2022-05-29 22:34:22 +02:00
Cubitect
8a02e7ae8f Ruined portals in the Nether moved in 1.18 2022-05-25 21:03:53 +02:00
Cubitect
0933804f15 Added 1.19 deep_dark and mangrove_swamp biomes + ancient_city structures 2022-04-20 13:23:15 +02:00
Cubitect
136e645ce9 Added available biome checker 2022-04-11 11:49:37 +02:00
Cubitect
95723f90bb Added flags for 1.18 biome finder: match any of a set 2022-03-02 19:33:09 +01:00
Cubitect
81040b1f9e Added climate noise parameter finding utils 2022-02-27 18:15:36 +01:00
Cubitect
0cd6e8134a Perform 1.18 biome tests in a stochastic order + added termination flag 2021-12-02 21:42:23 +01:00
Cubitect
8318bb615a Fixes for 1.18 Outposts and Nether structures. 2021-12-02 00:15:15 +01:00
Cubitect
18a16f8000 Added rudimentary check for terrain, which should get slightly more accurate structure positions. 2021-11-28 12:39:43 +01:00
Cubitect
e21f6c0f92 Added variant option to isViableStructurePos. 2021-11-27 14:04:05 +01:00
Cubitect
a6f54b8d4f Updated structure finder for Villages and Monuments 2021-11-27 13:43:11 +01:00
Cubitect
71ca41e171 Readme and fixes
1) Updated readme for 1.18 API.
2) Nether biomes should be 2D and keep the legacy noise in 1.18.
3) Added wrapper for checkForBiomes() with the new generator.
2021-11-20 15:46:52 +01:00
Cubitect
9166974ccf Major redesign and 1.18 biome generation.
Different versions, dimensions and variations are now bundled into a single Generator structure.
Areas (x,z,w,h) are largely replaced with a Range structure that supports 3D cuboids with scaling.
The scale now acts as a generalization that replaces layer access. Direct layer access will
have to be version specific, using the LayerStack.
(I.e. this update will unfortunately break much of the API.)
2021-11-18 23:13:44 +01:00
Cubitect
61a341e1f6 fixes for large biomes + more efficient mineshaft finder 2021-07-18 11:48:54 +02:00
Cubitect
3b65b4bbf7 Mineshafts for pre-1.13 2021-07-08 22:49:07 +02:00
Cubitect
cb66b41328 Made mineshafts usable with structure functions 2021-07-08 20:33:06 +02:00
Cubitect
bfbd421ef5 Added end gateways and nether ruined portals 2021-07-03 09:50:05 +02:00
Cubitect
e12acff608 Switch to uint64_t for seeds to improving C99 compliance
This is a fairly major change. Some functions involving structures still need testing.
2021-06-30 23:52:21 +02:00
Cubitect
6fda1caff8 Fixed wrong biomes list for fortresses + ranamed getConfig
1) suitable biomes for fortresses and bastions were swapped
2) renamed very generic getConfig to getStructureConfig
3) added potential way of overriding structure configs
2021-06-09 20:08:07 +02:00
Cubitect
a4a422686e 1.17 + spelling + nether & end + fortresses
1) use americal spelling for color
2) added 1.17 biomes
3) added scaled generators for nether and end
4) made fortress finders functional
2021-06-06 17:00:35 +02:00
Cubitect
3a6a923553 Split end city validity and terrain checks 2021-06-04 00:10:43 +02:00
Cubitect
4195eab986 Added viability check for end cities + some functionality for end surface height 2021-06-03 16:38:08 +02:00
Cubitect
bdc765013c Version check at getConfig() 2021-05-01 08:24:01 +02:00
Cubitect
ae227c67c2 More version-ing support 2021-04-26 18:26:15 +02:00
Cubitect
8cd0f24cf1 Layer ranaming and further integration of 1.6 version support
1) renamed layer enums and functions to somewhat resemble the current mappings
2) replaced biome tables with a canBiomeGenerate() function
3) fixed stronghold biome list
2021-04-20 23:13:53 +02:00
Cubitect
1b2999230f Added isSlimeChunk 2021-03-19 18:32:31 +01:00
Cubitect
0224865935 API change for getStructurePos to support new structs for Nether and End 2021-03-18 09:22:02 +01:00
Cubitect
c0b6005909 Nether generation + 1.15 voronoi + setWorldSeed -> setLayerSeed
1) added noise generators
2) added initial support for nether biome generation
3) added sha256 from Brad Conte for 1.15 voronoi zoom
4) ranamed setWorldSeed to setLayerSeed
2021-03-06 16:20:24 +01:00
Cubitect
b2d122cf7f Replaced isZombieVillage with an updated getVillageType 2021-02-27 19:42:11 +01:00