Commit Graph

998 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 a935c648e2 un-deprecate McClientWrapper.getWrappedClientWorld()
This was originally done due to splitting up the code into server and client, however this object is just for the client so it shouldn't be an issue.
2022-11-20 20:27:04 -06:00
James Seibel 2ce8692d84 Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2022-11-19 19:06:46 -06:00
James Seibel 0249894386 Add raycasting methods to IDhApiTerrainDataRepo 2022-11-19 18:59:55 -06:00
James Seibel c2d8e16bc0 remove API debug code from ClientApi 2022-11-19 17:03:31 -06:00
James Seibel e6c833a643 Add raycasting to DhApiTerrainDataRepo 2022-11-19 17:02:26 -06:00
James Seibel 1e235f0cd6 Add DhApiVec3i and DhApiRaycastResult objects 2022-11-19 17:02:04 -06:00
James Seibel d3e293db2c Improve the raycasting tests and fix a few directional issues 2022-11-19 17:01:29 -06:00
James Seibel 6eb97f654c Add RayCastUtil and unit tests 2022-11-19 10:20:14 -06:00
coolGi b64fdf214e Added the ChangelogScreen. New changelog screen done 2022-11-18 19:12:25 +10:30
coolGi 77519bde9d Updated updater screen (thanks a lot to Pankakes#0686) 2022-11-17 21:44:43 +10:30
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 d283922741 Minor refactoring 2022-11-14 21:39:38 -06:00
James Seibel 60af4429eb Add a couple missing parameters 2022-11-13 22:13:29 -06:00
James Seibel c67079c928 Rename FullDataPoint getDepth() -> getHeight() and getY() -> getBottomY() 2022-11-13 22:11:21 -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 0bd5730128 Add IDhLevel.getFileHandler() 2022-11-13 16:36:50 -06:00
James Seibel f11752da96 Refactor Dh Client/Server/ClientServer Level objects 2022-11-13 16:33:30 -06:00
James Seibel 51601e710a Add DhLodPos getSectionRelative and getSectionPos methods 2022-11-12 20:12:18 -06:00
James Seibel 3dfaed4409 Add a demo/debug method to DhApiTerrainDataRepo 2022-11-12 12:57:40 -06:00
James Seibel 571ecc5e9c minorly reformat IFullDataView 2022-11-12 12:35:37 -06:00
James Seibel c9947d0250 Remove LagSpikeCatcher from ClientApi 2022-11-12 12:35:03 -06:00
James Seibel 53813020d4 Add tryGet() and getMapping() to IDataSource objects 2022-11-12 12:00:22 -06:00
James Seibel 904288e6ec Refactor DataSources 2022-11-12 11:05:59 -06:00
James Seibel 244a1c273c refactor colorUtil 2022-11-10 07:48:48 -06:00
James Seibel 60112e9bce update a constructor comment 2022-11-10 07:48:31 -06:00
James Seibel 378c064629 Add DhBlockPos and DhChunkPos constructors to DhSectionPos 2022-11-10 07:47:59 -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
James Seibel ae7dd5ba7e minor formatting/comment updates 2022-11-06 16:59:00 -06:00
coolGi 4c2a2fffc1 Merge remote-tracking branch 'origin/main' 2022-11-04 17:35:52 +10:30
coolGi 87e40c0723 Added a lang auto formatter and a missing lang detector and fixed up the lang formatting and added missing options 2022-11-04 17:35:24 +10:30
Morippi 1965785ff6 small fix to cave culling 2022-11-03 18:59:08 +01:00
morippi 1caf6b03b4 I made some error with the commits 2022-11-03 17:51:21 +01:00
James Seibel f1ed837610 Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2022-10-31 22:16:16 -05:00
James Seibel cddf27be45 Rename DhWorld -> AbstractDhWorld and WorldEnv -> EWorldEnv 2022-10-31 20:28:58 -05:00
coolGi b9abfaa573 Resized the logo to be an aspect ratio of 2:1 and updated auto-updater's text 2022-10-30 18:35:45 +10:30
coolGi ed0b03a680 Updated readme to add/remove the libraries we use 2022-10-29 09:16:35 +00:00
coolGi 56f02af579 Finished the self updater 2022-10-28 10:07:46 +10:30
coolGi c091566a86 Added the self updater to forge and fixed standalone jar 2022-10-21 17:31:52 +10:30
coolGi 2e9d118ab9 Added the self updater to forge 2022-10-20 22:47:14 +10:30
James Seibel f85d25900b Merge remote-tracking branch 'refs/remotes/origin/main' 2022-10-05 22:39:11 -05:00
James Seibel 2ec7cc8c6d Refactor ColumnRenderSource 2022-10-05 22:21:10 -05:00
coolGi b1ff93bb91 Changed out the json library with something that we already have 2022-10-04 17:24:25 +10:30
James Seibel ce991cd912 Basic refactoring 2022-10-02 22:22:54 -05:00