Commit Graph

1172 Commits

Author SHA1 Message Date
coolGi 3158620440 Quick fix up to distantGeneratorMode lang 2023-03-05 12:13:32 +10:30
coolGi c65e8c068c Notification in the config if there is going to be an update on close 2023-03-05 11:57:56 +10:30
James Seibel 07d92f95cb comment out "Merging data from..." logs 2023-03-02 21:34:49 -06:00
James Seibel 075364b26a refactor ChunkToLodBuilder and improve its level changing logic 2023-03-02 21:17:32 -06:00
James Seibel b53c6d8c76 Fix changing dimensions preventing chunk updates 2023-03-02 21:01:43 -06:00
James Seibel 209ccdae76 Add ClientServerWorld level dim type assertion 2023-03-02 20:45:14 -06:00
James Seibel 6beac75c0f comment out "loading render source" log 2023-03-02 20:44:49 -06:00
James Seibel 3fbc2bdb1c Fix render cache folder not being used by ClientRenderState 2023-03-02 20:44:36 -06:00
James Seibel ab92a5ba42 minor reformatting 2023-03-02 07:45:36 -06:00
James Seibel 382b006210 Fix high CPU usage when not moving
Refreshing the render source isn't necessary since it will automatically be updated whenever a given chunk is updated. (and because we don't currently have a versioning system to prevent re-loading the same data)
2023-03-02 07:33:40 -06:00
James Seibel 022a288c97 comment out height_map vertical option
and minor refactoring/commenting
2023-03-01 07:46:37 -06:00
James Seibel 9f601ea6b3 Fix reading/writing files after leaving the world
May have issues in Client-only mode
2023-03-01 07:31:40 -06:00
James Seibel cc474caf33 refactor and comment 2023-02-28 21:43:08 -06:00
coolGi 70369fa468 Removed api build.gradle 2023-02-28 16:57:45 +10:30
James Seibel 42d3e38daa Fix gradle mystery compiler error
Specifically fixes core gradle being unable to access packages found in API
2023-02-27 20:38:40 -06:00
coolGi 1234e47f55 Removed build.gradle for core 2023-02-27 22:32:24 +10:30
coolGi c44c501cd8 Maybe fixed bug with gradle??? 2023-02-27 21:11:37 +10:30
James Seibel 9a27cc1e65 implement ClientApi.clientChunkSaveEvent() 2023-02-26 16:33:58 -06:00
James Seibel 381d3fe216 Move shared Dh(Server)ClientLevel code into AbstractDhClientLevel
This fixes DhServerClientLevel's crashing
2023-02-25 21:31:18 -06:00
James Seibel 2376baf936 prevent potential null pointers in ServerApi 2023-02-25 21:29:56 -06:00
James Seibel be0ce75ceb refactor and prevent a potential null pointer in DhClientWorld 2023-02-25 21:27:35 -06:00
James Seibel ea41fbc664 make DhClientServerLevel extends DhClientLevel 2023-02-25 17:17:27 -06:00
James Seibel 5579b1dc95 equalize DhClientLevel and DhClientServerLevel 2023-02-25 15:43:20 -06:00
James Seibel 8d5926fb2d Add very rough client World support 2023-02-25 15:29:40 -06:00
James Seibel 03752509e7 improve ClientApi logging 2023-02-25 15:28:38 -06:00
James Seibel e7d16b2109 refactor DhClientServerWorld 2023-02-25 15:27:31 -06:00
James Seibel 54252d10f5 minor refactor 2023-02-25 14:29:22 -06:00
James Seibel 19d8306094 move DhClientServerLevel.RenderState into its own file 2023-02-25 10:58:03 -06:00
James Seibel 373b354b20 Add additional shutdown logging 2023-02-25 10:57:27 -06:00
James Seibel b9edf2ef93 Hard shutdown the world generator, don't wait 2023-02-25 10:22:45 -06:00
James Seibel b4ffd65fbc remove deprecated getServerFolderName() 2023-02-25 09:02:42 -06:00
James Seibel eaee05df3f Change the default multiplayer save mode to "name_only"
This is done to prevent issues with Realms
2023-02-25 08:56:40 -06:00
coolGi 7403657d83 Removed classifier's as they are no longer needed in gradle 18 2023-02-24 19:08:53 +10:30
coolGi 2a7e5ef9c9 Suppressed unchecked warning 2023-02-24 18:00:48 +10:30
James Seibel e0cc271cf1 Fix world generator not closing 2023-02-23 20:19:15 -06:00
James Seibel 5174c71363 Downgrade to Java 8 2023-02-23 19:27:29 -06:00
James Seibel af9215c849 Fix exceptions when closing a world 2023-02-21 21:25:06 -06:00
James Seibel acd78a6067 update a comment in ColumnRenderSource 2023-02-21 19:59:48 -06:00
James Seibel 5c0aef32c1 Partially fix LODs disappearing when moving 2023-02-21 19:56:18 -06:00
James Seibel 924465a788 comment out a couple debug loggers 2023-02-19 17:16:39 -06:00
James Seibel cf34457d20 remove duplicate renameCorruptedFile() code 2023-02-19 12:30:14 -06:00
James Seibel 0615a2917c refactoring 2023-02-18 20:25:25 -06:00
James Seibel 4a3b4a1e23 Move FileUtil into the util package 2023-02-18 20:00:21 -06:00
James Seibel 553c348a0d enable atomic move in MetaDataContainerFile 2023-02-18 18:19:52 -06:00
James Seibel be036fe67a rename MetaData -> BaseMetaData and AbstractMDF -> AbstractMDContainerF
The difference between MetaData and AbstractMetaDataFile wasn't obvious, this should make it a bit more clear
2023-02-18 18:02:44 -06:00
James Seibel 070cdc13e2 rename package dataType -> dataObjects and re-arange children 2023-02-18 17:07:36 -06:00
James Seibel 6ac762d415 remove AbstractRenderSourceLoader
There was only one type of RenderSource so it didn't make sense to keep it
2023-02-18 16:46:17 -06:00
James Seibel 40db02cce3 rename RenderFileHandler -> RenderSourceFileHandler 2023-02-18 16:41:21 -06:00
James Seibel cabc1d1de9 Remove unused array from ColumnRenderSource 2023-02-18 16:20:11 -06:00
James Seibel 5e12edb251 Delete IColumnDataType and refactor ColumnRenderSource
ColumnRenderSource was the only object that inherited it
2023-02-18 16:17:11 -06:00