Commit Graph

28 Commits

Author SHA1 Message Date
49f26f7901 Fixed conversion from world to chunk coords.
Added test that catches this case.
2020-04-27 15:14:33 -05:00
26ebf7af33 Fixed test case. 2020-04-27 14:25:10 -05:00
1e8dc8019a Current iteration of work.
Attempted at fixing the coordinate converter again.

Added more applicable tests for them.

Changing to a more stateless design for biome generator.

Refactored correcting package name to fit conventions.
2020-04-27 14:23:57 -05:00
ec27a9bc10 Fixed perfect chunk coordinates in utilities.
Added respective tests to ensure this doesn't break.
2020-04-27 13:44:49 -05:00
39381f07f9 Fixed incorrect method call.
Added tests to make sure that this doesn't happen.
2020-04-27 13:21:04 -05:00
4f411c42fb Added conversion from world coordinates to utilities.
Respective tests also added.
2020-04-26 20:56:10 -05:00
f20515fd45 Reworked cache, this time with less hashmap accesses. 2020-04-25 22:32:25 -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
ffc01f0ddf Minor doc and method name changes.
Respective tests updated.
2020-04-24 15:15:24 -05:00
be19db1f9b Separated node class from DFS class. 2020-04-23 23:07:49 -05:00
e50a983b25 Added simple caching system. 2020-04-23 20:15:45 -05:00
4ed9d4d272 Tested DFS direction assisted search. 2020-04-22 19:41:25 -05:00
ed48e164b6 Cleaned up DFS testing.
Changed all maps to files.
2020-04-22 18:49:06 -05:00
c3998150f9 Added more tests.
Added a very large map for tests.
Added testing for DFS limiter.
2020-04-22 18:41:33 -05:00
39b5d0e778 Added map file reading to the DFS test. 2020-04-22 17:51:11 -05:00
c3d5ba1683 Added large test map to DFS find end tests. 2020-04-21 23:41:50 -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
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
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
f5e3435d8b Added a target coordinate finder.
Implemented DFS name changes.
2020-04-20 23:26:44 -05:00
c860ba1a15 Tested biome selector.
Also deleted launch.json.
2020-04-20 19:13:01 -05:00
c6001bdfea Refactored and updated to JUnit 5. Fixed biome selector. 2020-04-20 18:57:37 -05:00
78cd32106f Added another invalid map test case to DFS tests. 2020-04-20 17:37:14 -05:00
81fb18ab3d Tested DFS search algorithm. 2020-04-20 17:34:24 -05:00
23f761c36f Added utilities and a hashmap inverter. 2020-04-19 18:17:17 -05:00
86d63bfee5 Created template bukkit plugin.
Generated using maven.
2020-04-18 00:08:05 -05:00