153 Commits

Author SHA1 Message Date
Cubitect
0224865935 API change for getStructurePos to support new structs for Nether and End 2021-03-18 09:22:02 +01:00
Cubitect
19aa9b4944 Added optimized End biome generation 2021-03-18 09:21:11 +01:00
Cubitect
c86145a640 Perfromace and memory optimization for VoronoiZoom 1.15+ 2021-03-10 18:54:52 +01:00
Cubitect
6f2210094f Performance improvements for 1.15+ voronoi zoom. 2021-03-07 21:11:39 +01:00
Cubitect
3c806da958 Updated readme 2021-03-06 16:39:25 +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
Cubitect
263af396ba Made structure checks work for buried treasures. 2021-02-23 22:57:59 +01:00
Cubitect
f4c49c8380 Added salt option to scanForQuads for convenience with protobases. 2021-02-21 17:50:56 +01:00
Cubitect
11954031c6 Made ScanForQuads also work for monuments + input no longer requires salt offset. 2021-02-20 17:07:59 +01:00
Cubitect
774612a265 Include minecraft version when checking viable feature biomes 2021-02-13 15:17:02 +01:00
Cubitect
dd7e61999b Ocean RNG to perlin noise + scanForQuads scan whole set.
1) specify that ocean RNG is perlin noise (nether biomes will use double-perlin & simplex)
2) scanForQuads now scans a whole set of lower bits
2021-01-25 20:01:37 +01:00
Cubitect
c8af11082a Fixed missing sunflower_plains from genPotential + added getShadow 2021-01-13 20:49:47 +01:00
Cubitect
bb76fc4520 Fixed wrong location of masion validation 2021-01-12 23:03:54 +01:00
Cubitect
9a859a14a2 Relaced hasAllTemps with the more general checkForTemps. 2021-01-12 22:24:55 +01:00
Cubitect
9a323f4167 Fixing experimental mapBiomeBE. 2021-01-07 17:17:21 +01:00
Cubitect
d28bfcfd68 Fixed biome filter for lukewarm and cold oceans. 2021-01-07 16:43:38 +01:00
Cubitect
40a65d89b9 Fixed init with setWorldSeed for pre-1.13 at higher entry layers. 2021-01-07 15:03:23 +01:00
Cubitect
f8c5baf97d Fix biome filter for branching layers. 2021-01-06 23:38:56 +01:00
Cubitect
2a1c47f51f Updated biome tables to include bamboo_jungles. 2021-01-06 17:56:50 +01:00
Cubitect
efa8e29581 Note! renamed mapHills -> mapHills112; mapHills113 -> mapHills
1) More renaming to make the default name the newest version.
2) Added a function to get the generation potential of an ID at a layer.
2021-01-06 16:23:26 +01:00
Cubitect
93a0a9e356 Made native compilation its own target. 2021-01-05 10:48:29 +01:00
Cubitect
8068a54697
Added reference to cubiomes-viewer. 2021-01-04 15:52:38 +01:00
Cubitect
6426de5366 Replaced countBlocksInSpawnRange with getOptimalAfk (with major performace gain). 2021-01-03 13:57:59 +01:00
Cubitect
8c229d5ad9 Separated structure positions (now at chunk origin) from biome-check positions (with version dependence). 2020-12-27 23:15:10 +01:00
Cubitect
496c6a2f6a Check MC in structure validation + scanning for quad-huts. 2020-12-27 15:36:41 +01:00
Cubitect
13c9e34f89 Performance and accuracy improvements for getSpawn. 2020-11-22 21:15:22 +01:00
Cubitect
d179ba8759 Ignore generated files. 2020-11-18 22:01:08 +01:00
Cubitect
91683164e5 Tell github this is a C repo. 2020-11-18 20:19:49 +01:00
Cubitect
94ffb83018 Fixed directory status check for windows. 2020-11-18 19:28:44 +01:00
Cubitect
fc5a42180c Focus update towards library.
1) Update readme to include structure finders + removed outdated references to seed lists.

2) Removed example programs find_quadhuts.c and find_compactbiomes.c in favor of small examples inside readme.

3) Replaced search4QuadBases with a more general searchAll48. This does, however, redefine the format for quad bases.
2020-11-18 18:51:24 +01:00
Cubitect
9cbb8c4d9d Uninitialized warning with clang. 2020-11-05 21:07:28 +01:00
Cubitect
6005333902 Replaced faulty inner stronghold finder with iterator. 2020-11-05 20:57:14 +01:00
Cubitect
b9bfd0130f
Lowercase header for case sensitive file systems. 2020-10-20 14:20:09 +02:00
Cubitect
1de66fcfc0 Approx. inner strongholds + fix allocCache for early layers. 2020-10-02 21:58:19 +02:00
Cubitect
babd312310 Fixed biome validation for ocean monuments. 2020-09-21 14:46:14 +02:00
Cubitect
6a9c1397c5 Fixed Hills layer for pre-1.13 versions. 2020-09-21 13:12:04 +02:00
Cubitect
7f18801dac Target all should compile release. 2020-09-20 23:35:22 +02:00
Cubitect
3245111a17 Fixed Outpost validity check. 2020-09-20 23:29:48 +02:00
Cubitect
1236b91e63 Reworking structure finding.
1) Turned getStructurePos into a wrapper that deals with all structure types.
2) Major changes to accomodate for more sophisticated quad-base finders.
3) Classifying quad-bases according to certain properties which they fulfill.
4) Removed precompiled quad-base files, as they can be generated quickly now.
5) Removed tri-base finders (until there's a more accurate finder in future).
2020-08-21 00:34:07 +02:00
Cubitect
7dea686d31 Adjusted examples to reflect API changes. 2020-08-09 19:11:41 +02:00
Cubitect
6097e42ea6 Changes to API, fixes and performance improvments.
1) Layer functions now return an int and can terminate the generation.
2) This makes it possible to write much more accurate and faster biome finders.
3) The generator structure LayerStack is now stack allocatable and no longer requires a free.
4) Adjustments to make targets.
2020-08-09 18:52:58 +02:00
Cubitect
65de91ef26 Performace improvements, and removed SSE versions of mapZoom for now.
(When functional, SSE versions might go in a separate file in the future for cleaner maintainablility.)
2020-07-30 20:37:14 +02:00
Cubitect
ceec762598 Merge branch 'master' of https://github.com/Cubitect/cubiomes 2020-07-29 19:11:21 +02:00
Cubitect
7694d2df98 Fixed rectangular areas for Voronoi layer. 2020-07-29 19:08:19 +02:00
Cubitect
576746989a Mark util functions as extern C for linking. 2020-07-26 17:49:01 +02:00
Cubitect
7555852ba3 Merge branch 'master' of https://github.com/Cubitect/cubiomes 2020-07-25 18:25:58 +02:00
Cubitect
cf85da7159 Somewhat major changes to structure and layer functions.
1) Redone structure validation for 1.16 and for bug fixes.
2) Layer generation was reworked for performace.
2020-07-25 18:16:39 +02:00
Cubitect
b26f4eb1f7 Refactored layer functions for const Layers args + optimisations. 2020-07-23 22:42:38 +02:00
Cubitect
18f60f319f
Removing GPLv3 LICENSE.txt file.
No longer needed after re-licensing cubiomes under the MIT License (https://github.com/Cubitect/cubiomes/issues/34).
2020-06-26 20:18:23 +02:00