Commit Graph

54 Commits

Author SHA1 Message Date
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
coolGi b1ff93bb91 Changed out the json library with something that we already have 2022-10-04 17:24:25 +10:30
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
James Seibel 14b855ada6 Fix incorrect API tests (and move them to the API sub-project) 2022-09-11 22:25:22 -05:00
James Seibel ba701eb014 Fix the level API events 2022-09-10 17:10:48 -05:00
James Seibel 35b00165a2 Partially implement/uncomment worldGeneratorOverride 2022-09-08 20:51:49 -05:00
James Seibel 659c62d4b4 Move worldGen Api Enums into the API sub-project 2022-09-08 20:15:54 -05:00
James Seibel 09ceab5c70 Comment out API/API test code so we can get everything compiling 2022-09-07 07:37:07 -05:00
James Seibel 53ded97714 Move Core API items into the api.external.coreImplement package 2022-09-06 22:22:27 -05:00
James Seibel 5a2366eb13 Move CoreDhApiRenderParam into a better package 2022-09-06 22:10:09 -05:00
James Seibel 5e775e4c88 move The ConfigWrapper to the API sub-project 2022-09-06 21:39:51 -05:00
James Seibel 75b23ee904 Move and update API Events to the API sub-project 2022-09-06 21:25:11 -05:00
James Seibel dbae5a3b05 Move DhApiEventRegister to API sub-project 2022-09-05 21:41:32 -05:00
James Seibel b5a05bfe21 Add CoreDhApiRenderParam and move DhApiRenderParam to the API Sub-project 2022-09-05 21:38:52 -05:00
James Seibel 71f55ef0e3 Add (core)Mat4f -> DhApiMat4f constructor 2022-09-05 21:38:05 -05:00
James Seibel 7ee113ddff Replace the override priority enum with an int 2022-09-05 21:11:29 -05:00
James Seibel f61d113493 Move config API Enums to the API sub-project 2022-09-05 19:28:57 -05:00
James Seibel eaadd6fc71 Move API Interfaces into the API sub-project 2022-09-05 19:18:33 -05:00
James Seibel 89a46ae5e1 Move misc API items into the API sub-project 2022-09-05 19:14:43 -05:00