Commit Graph

70 Commits

Author SHA1 Message Date
James Seibel 9b7dfa81da Remove unused methods from EVerticalQuality and DetailDistanceUtil 2023-01-02 13:40:25 -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 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
James Seibel aad3a5d2a3 rename DhApiResult.errorMessage -> message 2022-11-24 18:11:16 -06:00
James Seibel 0f06fedb95 rename DhApiEventInjector -> ApiEventInjector
This renaming was because the injector isn't designed to be used from the API, only internally; and externally available objects all start with "DhApi"
2022-11-24 18:05:07 -06:00
James Seibel 6ca2da3f7f Add one time API events (IE setup events)
This allows users to bind to setup events after they've happened and still have the event fire. This is useful for setup since mod load order isn't defined.
2022-11-21 19:26:14 -06:00
James Seibel 1b5a10591b Add IDhApiWorldProxy 2022-11-20 20:39:52 -06:00
James Seibel 0249894386 Add raycasting methods to IDhApiTerrainDataRepo 2022-11-19 18:59:55 -06:00
James Seibel 1e235f0cd6 Add DhApiVec3i and DhApiRaycastResult objects 2022-11-19 17:02:04 -06:00
James Seibel 103a03c90f partially functional raycasting 2022-11-16 22:35:56 -06:00
James Seibel d31013a680 Make the API TerrainRepo return all blocks in a given section instead of a single column 2022-11-14 21:40:40 -06:00
James Seibel cd1c12be12 Implement DhApiTerrainDataPointRepo get methods 2022-11-13 21:49:26 -06:00
James Seibel 1099f5ec24 Add IDhApi Biome and BlockState Wrapper objects 2022-11-13 21:45:35 -06:00
James Seibel d723a1fa84 Add a optional payload to DhApiResult 2022-11-13 21:42:11 -06:00
James Seibel 3dfaed4409 Add a demo/debug method to DhApiTerrainDataRepo 2022-11-12 12:57:40 -06:00
James Seibel 2429cbbb52 Add BitShiftUtil square() and pow() 2022-11-06 21:40:21 -06:00
James Seibel 8099925dc2 Refactor/comment DhSectionPos, DhLodPos, and DhLodUnit
Also add BitShiftUtil to hold bit shift operation aliases for easier reading
2022-11-06 21:25:37 -06:00
TomTheFurry 4158573129 Add render source flag debug mode & fix sparse source to render source transform bug 2022-09-19 12:28:39 +08:00
coolGi afd88470d8 Added some api notes and moved JarMain to the jar folder 2022-09-18 15:31:07 +09:30
James Seibel 47645a6346 Add worldGen, Override, and DataRepo variables to DhApiMain 2022-09-16 23:57:55 -05:00
James Seibel 52ed3c8733 Rearrange API packages 2022-09-16 23:41:57 -05:00
James Seibel 6c249335c5 Move some API objects into the DhApiMain object 2022-09-16 23:24:25 -05:00
James Seibel 9adf2a75f8 Make Core Level Wrappers implement API wrappers 2022-09-16 22:55:03 -05:00
TomTheFurry fc5cb6796b Clean up transparency and buffer render orders. 2022-09-16 17:54:08 +08:00
James Seibel 690dd319cb Set up the API config 2022-09-15 20:31:41 -05:00
James Seibel 541fbbb36b Remove "config" from API config method names
IE getFogConfig()
The additional config was already implied.
2022-09-15 20:30:49 -05:00
James Seibel 14bd059a88 implement and modify API config interfaces 2022-09-15 19:33:25 -05:00
James Seibel ec738aea22 Re-add api event tests 2022-09-13 21:56:03 -05:00
James Seibel 92a98aba96 Hook up the API events (some are missing parameter objects) 2022-09-13 21:44:00 -05:00
James Seibel f6a1901ef8 Move several Dependency Injectors into the API 2022-09-13 21:38:57 -05:00
James Seibel cceb2c38e4 Fix several API packages missing from "methods" 2022-09-13 20:00:54 -05:00
James Seibel 6e229b86b0 fix the semantic version number 2022-09-13 07:42:32 -05:00
James Seibel c80a5b102d Move config enums into API and setup groundwork for config interfacing 2022-09-12 22:16:13 -05:00
James Seibel 4f1203b32c Flip API -> Core dependency to Core -> API
Very rough, a decent amount of the API isn't hooked up to anything.
2022-09-12 21:53:55 -05:00
TomTheFurry 3f23ef960b Reorganize all the classes and move them around to make more sense and be easier to navigate. Also removed/unwrapped the 'a7' temp package. 2022-09-12 22:43:06 +08:00
TomTheFurry dfc75f2a65 Nuke no longer used files and fix bugs where I'm using the wrong class for doing data formats 2022-09-12 22:13:20 +08:00
James Seibel f2c19ef3a3 comment out failing unit test 2022-09-11 22:41:14 -05:00