67 Commits

Author SHA1 Message Date
dcec9fd7e7 Made sure occurrences are properly tracked. 2020-04-25 18:16:18 -05:00
4b6cfacc47 Fixed clear cache method.
Alternator currently uses threads as identifier (TEMPORARY).
2020-04-25 17:59:30 -05:00
1e0d63e562 Added a magnitiude addition helper function. 2020-04-25 17:54:40 -05:00
629660c8fc Revamped caching again, this time, without sorting.
Implemented cache changes.
2020-04-25 17:54:25 -05:00
91644f9ba0 New cache system.
Caching itself is tested.

Implemented into classes (untested).
2020-04-25 12:06:41 -05:00
1c5baf8762 Removed unnessecary hashmap retrieval from cache. 2020-04-25 02:23:48 -05:00
a7db7d289a Caching now has a fresh importance factor. 2020-04-25 01:32:01 -05:00
28b9a8005c Gave newly cached items usage greater than the lowest. 2020-04-25 01:15:38 -05:00
a412986044 New iteration of biome generator.
Untested.
2020-04-25 00:18:53 -05:00
e93f61c055 Added convenience constructor. 2020-04-25 00:18:29 -05:00
34ccc1e7de Semi-functioning biome generator.
It's faster now, but sometimes hangs, and is still pretty slow.
2020-04-24 22:11:52 -05:00
d0facd268a Fixed world generator not saving generated values. 2020-04-24 22:10:59 -05:00
c5e3c08546 Refactoring. 2020-04-24 17:50:18 -05:00
8517a20f9f Reworked biome per island generator. 2020-04-24 15:15:44 -05:00
60ab555c57 Added caching solution to temperature map generator. 2020-04-24 15:15:44 -05:00
6c8389d60e Lowered amount of octaves. 2020-04-24 15:15:44 -05:00
2e67cb90ca Increased max cache size and fixed caching on method. 2020-04-24 15:15:44 -05:00
2d9163f5c2 Added two utility functions. 2020-04-24 15:15:44 -05:00
ffc01f0ddf Minor doc and method name changes.
Respective tests updated.
2020-04-24 15:15:24 -05:00
8acc653b5b Attempted to make cache system thread compatible. 2020-04-24 15:12:32 -05:00
88c645e2a5 Some value changes.
Largely untested.
2020-04-24 00:02:11 -05:00
1b5a03d72a Added value caching to world mapper.
Largely untested.
2020-04-24 00:01:03 -05:00
be19db1f9b Separated node class from DFS class. 2020-04-23 23:07:49 -05:00
de3b3a614a Changed DFS order of operation. 2020-04-23 21:16:43 -05:00
e50a983b25 Added simple caching system. 2020-04-23 20:15:45 -05:00
5ffea1aa08 DFS max limit check change. 2020-04-23 11:51:54 -05:00
74f5d25dbc Changed furthest island adaption search to 2048 blocks. 2020-04-23 00:02:14 -05:00
e936dff934 Fixed logical fallacies for world mapper.
Method name changed (refactor) as well.
2020-04-23 00:01:35 -05:00
7d07332ef5 World mapper and biome generator reworked;
World mapper now produces normalized values.

The world height shader uses the values to decide on heights.

The current biome generator was reworked (untested).

Also renamed (refactoring) the mapper.
2020-04-22 21:15:37 -05:00
4ed9d4d272 Tested DFS direction assisted search. 2020-04-22 19:41:25 -05:00
44c6880e07 Added a maximum node count to DFS. 2020-04-22 18:40:17 -05:00
c8715e3dbb DFS target finding will now prioritize user given end node.
Meaning if the general area of the target is known, DFS can use it.
2020-04-22 17:50:19 -05:00
919c5201e4 Updated plugin.yml to reflect dependency changes. 2020-04-22 03:28:00 -05:00
6d552820ee DFS instantiation in biome generator is now correct.
Performed refactoring

Began work on world height shader (untested).
2020-04-21 20:59:03 -05:00
e2c3e46849 Refactor. 2020-04-21 19:32:54 -05:00
e306d828e9 Added the shape shader, also refactored. 2020-04-21 19:31:09 -05:00
66673e2f52 Made sure alternator was semi-multithread safe. 2020-04-21 17:01:53 -05:00
533a758799 Finished untested biome generator.
Also:
Changed plugin structure to adapt better to server API
Refactored by reorganizing packages.
2020-04-21 16:40:29 -05:00
35e52ae61b Refactoring. 2020-04-21 11:40:23 -05:00
67a93fff5b Reworked biome generation and used DFS for continuity.
Also made changes to structure to better support Bukkit's structure.
2020-04-21 02:59:19 -05:00
4fc824f94f Removed the bedrock metadata system. 2020-04-21 02:55:18 -05:00
d44b059457 Changed DFS algorithm to use hashset. 2020-04-21 00:42:00 -05:00
f5e3435d8b Added a target coordinate finder.
Implemented DFS name changes.
2020-04-20 23:26:44 -05:00
cf6a371428 Added some getters to the metadata pack. 2020-04-20 20:26:04 -05:00
623ee1a544 Removed use of mountain edge. 2020-04-20 19:12:29 -05:00
c6001bdfea Refactored and updated to JUnit 5. Fixed biome selector. 2020-04-20 18:57:37 -05:00
81fb18ab3d Tested DFS search algorithm. 2020-04-20 17:34:24 -05:00
a3024f6e91 Implemented changes to world generator and plugin class. 2020-04-20 16:28:30 -05:00
5b0942202a Finished untested biome per island generator. 2020-04-20 16:27:53 -05:00
44f183cca0 Improved island map generator.
Added documentation as well.

Untested.
2020-04-20 16:27:15 -05:00