Commit Graph

1049 Commits

Author SHA1 Message Date
James Seibel e698df0b19 Rename DhLodPos getters to make them more specific 2023-01-22 17:23:44 -06:00
James Seibel fde9f6f129 rename AbstractWorldGenTaskTracker.isValid -> isMemoryAddressValid 2023-01-22 17:12:23 -06:00
James Seibel a249631d76 Rename world generator task objects 2023-01-22 17:09:10 -06:00
James Seibel 3359d6c619 refactor Pos2D 2023-01-21 13:24:13 -06:00
James Seibel ab1967b17f Fix WorldGen crash when closing world with incomplete tasks 2023-01-19 07:49:49 -06:00
James Seibel 3de68248de Fix the world generator running slowly
Thanks for finding the issue Leetom!
2023-01-18 07:52:16 -06:00
James Seibel e631785c9c refactor FullDataSource.neededForPos -> firstDataPosCanAffectSecond
Many thanks to Leetom for explaining the method
2023-01-18 07:40:07 -06:00
James Seibel 7f79f4d39d refactor GenDataFileHandler.onCreateDataFile() 2023-01-18 07:23:36 -06:00
James Seibel 29cf0ead7d refactor and rename selfSearch() -> getDataFilesForPosition() 2023-01-18 07:22:58 -06:00
James Seibel 597cd4629f rename DhSectionPos.sectionDetail -> sectionDetailLevel 2023-01-16 07:54:11 -06:00
James Seibel 59d5b475c5 Remove unused AtomicReference<WorldGenerationQueue> from GeneratedDataFileHandler 2023-01-15 17:19:19 -06:00
James Seibel 7bc6b673ea reformat DataFileHandler 2023-01-15 17:18:48 -06:00
James Seibel 2b930f3fd7 refactor Core world gen queuing 2023-01-15 16:57:42 -06:00
James Seibel 0b6b14177e Minor render object reformatting 2023-01-14 11:11:06 -06:00
James Seibel a27e9bac0c Move ColumnRenderSource file parsing into ColumnRenderLoader 2023-01-13 07:50:21 -06:00
James Seibel 7ea614f257 reformat render source files 2023-01-13 07:09:16 -06:00
James Seibel 723a5f8281 rename RenderBuffer -> AbstractRenderBuffer 2023-01-10 21:47:11 -06:00
James Seibel 98fde3de74 Update the Readme 2023-01-08 20:12:56 -06:00
James Seibel 9b7dfa81da Remove unused methods from EVerticalQuality and DetailDistanceUtil 2023-01-02 13:40:25 -06:00
James Seibel 1a761aad4c Delete the deprecated LevelPosUtil (use DhLodPos or DhSectionPos instead) 2023-01-02 11:18:10 -06:00
James Seibel 9e3f729c8f Replace LevelPosUtil.convert() with DhLodPos.convertToDetailLevel() 2023-01-02 11:13:31 -06:00
James Seibel 7311664acd comment MetaData 2022-12-25 21:45:46 -06:00
James Seibel b02a2d0008 rename MetaDataFile -> AbstractMetaDataFile 2022-12-25 21:42:27 -06:00
James Seibel e26ac63dff Refactor MetaData and MetaDataFile 2022-12-25 21:42:00 -06:00
James Seibel b96622f1cd refactor the AbstractSaveStructure classes 2022-12-17 16:22:21 -06:00
James Seibel 763476e648 Move level (subDim) matching into its own package 2022-12-17 09:48:06 -06:00
James Seibel c0c4cf8b56 Partially update LevelToFileMatcher (File reading incomplete) 2022-12-17 09:44:14 -06:00
James Seibel 575bd5b1e6 Minor refactors for LevelToFileMatcher and PlayerData 2022-12-11 21:32:33 -06:00
James Seibel 38a8c73311 Minor MetaFile reformatting 2022-12-11 17:28:07 -06:00
James Seibel c3c170d07a Add the generatorMode to IDhApiWorldGenerator.generate() 2022-12-10 22:08:16 -06:00
James Seibel 0ab0aeeec6 rename EDistanceGenerationMode -> EDhApiDistantGeneratorMode
This includes moving it into the API and renaming NONE -> PRE_EXISTING_ONLY
2022-12-10 22:07:54 -06:00
James Seibel bf698ad7b9 Make IDhApiEventInjector extend IDependencyInjector<IDhApiEvent>
Some methods were missing when using the API
2022-12-10 21:05:51 -06:00
James Seibel d792031c57 Use bound API World Generators 2022-12-10 11:17:50 -06:00
James Seibel eff161fb24 Remove IWorldGenerator (everything is handled in IDhApiWorldGen) 2022-12-10 09:34:19 -06:00
James Seibel 1489cb0bdb Rename IChunkGenerator -> IWorldGenerator 2022-12-08 21:36:03 -06:00
James Seibel 434abcf1ae Set up the world generator interface for use with the API 2022-12-08 21:32:19 -06:00
James Seibel 581515efc4 Add EDhApiDetailLevel as a reference on DH detail levels 2022-12-05 22:08:01 -06:00
James Seibel 79441b0bdd Remove LodUtil.CEILED_DIMENSION_MAX_RENDER_DISTANCE
Reasoning: The value isn't in use anywhere, we shouldn't be setting a max value anyway since people can get on dimension roofs anyway, and it would be better to allow per-dimension values instead
2022-12-05 22:07:28 -06:00
James Seibel 24260a057a Prep the IChunkGenerator/BatchGenerator for using the API 2022-12-03 19:45:44 -06:00
coolGi 6fd47f360c Fix to issue 446. (special characters in folder name causes crash) 2022-12-01 21:32:37 +10:30
James Seibel be28ed8319 Separate inner classes and refactor world generator code 2022-11-25 17:11:54 -06:00
James Seibel 007e993148 reformat chunk generator code 2022-11-25 15:58:53 -06:00
James Seibel eb0bb8a67d Add a few missing comments to DhLoggerBuilder 2022-11-25 15:57:41 -06:00
James Seibel 00c7f7adaf Minor WorldGeneratorInjector refactoring 2022-11-25 10:08:47 -06:00
James Seibel 0a806c1218 Minor refactoring and Event Test fixes 2022-11-25 09:51:59 -06:00
James Seibel d6a83c8b61 Fix event related null pointer issues 2022-11-24 23:09:00 -06:00
James Seibel 0647d212d6 Fix Event tests not failing correctly 2022-11-24 22:32:37 -06:00
James Seibel 840b02c2db reformat DependencyInjector and ApiEventInjector 2022-11-24 22:32:12 -06:00
James Seibel 2b1837e812 Move Optifine code out of ReflectionHandler and into AbstractOptifineAccessor 2022-11-24 19:09:52 -06:00
James Seibel 4a7af41397 Put delayed objects in DhApiMain into a Delayed class
also improve a few comments
2022-11-24 18:24:13 -06:00