From 95b1ecff0db829782207a0497e6b362819a67a3f Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sun, 27 Aug 2023 14:14:00 -0500 Subject: [PATCH 01/24] Add Fabric incompatibility list to versionProperties also mark Sodium <0.5 as incompatible for 1.20 --- build.gradle | 4 +++- fabric/src/main/resources/fabric.mod.json | 4 +++- versionProperties/1.16.5.properties | 2 ++ versionProperties/1.17.1.properties | 2 ++ versionProperties/1.18.2.properties | 2 ++ versionProperties/1.19.2.properties | 2 ++ versionProperties/1.19.4.properties | 2 ++ versionProperties/1.20.1.properties | 4 +++- 8 files changed, 19 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 7b19a6a3d..1869af0a5 100644 --- a/build.gradle +++ b/build.gradle @@ -395,7 +395,9 @@ subprojects { p -> git_main_commit : git_main_commit, git_core_commit : git_core_commit, - git_main_branch : git_main_branch + git_main_branch : git_main_branch, + + fabric_incompatibility_list : fabric_incompatibility_list, ] // The left side is what gets replaced in the mod info and the right side is where to get it from in the gradle.properties diff --git a/fabric/src/main/resources/fabric.mod.json b/fabric/src/main/resources/fabric.mod.json index 9a1e3fab2..f311a65bd 100644 --- a/fabric/src/main/resources/fabric.mod.json +++ b/fabric/src/main/resources/fabric.mod.json @@ -54,5 +54,7 @@ "suggests": { "blendium": "*" - } + }, + + "breaks": $fabric_incompatibility_list } diff --git a/versionProperties/1.16.5.properties b/versionProperties/1.16.5.properties index 662db3e66..c3683be84 100644 --- a/versionProperties/1.16.5.properties +++ b/versionProperties/1.16.5.properties @@ -20,6 +20,8 @@ fabric_api_version=0.42.0+1.16 immersive_portals_version= canvas_version= + fabric_incompatibility_list={ } + # Fabric mod run # 0 = Don't enable and don't run # 1 = Can be referenced in code but doesn't run diff --git a/versionProperties/1.17.1.properties b/versionProperties/1.17.1.properties index 42f12deae..80aab1901 100644 --- a/versionProperties/1.17.1.properties +++ b/versionProperties/1.17.1.properties @@ -20,6 +20,8 @@ fabric_api_version=0.46.1+1.17 immersive_portals_version= canvas_version= + fabric_incompatibility_list={ } + # Fabric mod run # 0 = Don't enable and don't run # 1 = Can be referenced in code but doesn't run diff --git a/versionProperties/1.18.2.properties b/versionProperties/1.18.2.properties index 4392118ae..62c33f7aa 100644 --- a/versionProperties/1.18.2.properties +++ b/versionProperties/1.18.2.properties @@ -21,6 +21,8 @@ fabric_api_version=0.76.0+1.18.2 immersive_portals_version=v1.4.11-1.18 canvas_version=mc118:1.0.2616 + fabric_incompatibility_list={ } + # Fabric mod run # 0 = Don't enable and don't run # 1 = Can be referenced in code but doesn't run diff --git a/versionProperties/1.19.2.properties b/versionProperties/1.19.2.properties index 8807dcf7a..cdde6a134 100644 --- a/versionProperties/1.19.2.properties +++ b/versionProperties/1.19.2.properties @@ -20,6 +20,8 @@ fabric_api_version=0.76.0+1.19.2 immersive_portals_version= canvas_version=mc119-1.0.2480 + fabric_incompatibility_list={ } + # Fabric mod run # 0 = Don't enable and don't run # 1 = Can be referenced in code but doesn't run diff --git a/versionProperties/1.19.4.properties b/versionProperties/1.19.4.properties index 7ecad56ea..2783daeab 100644 --- a/versionProperties/1.19.4.properties +++ b/versionProperties/1.19.4.properties @@ -19,6 +19,8 @@ fabric_api_version=0.83.0+1.19.4 bclib_version=2.3.3 immersive_portals_version= canvas_version= + + fabric_incompatibility_list={ } # Fabric mod run # 0 = Don't enable and don't run diff --git a/versionProperties/1.20.1.properties b/versionProperties/1.20.1.properties index caf958bab..828da4203 100644 --- a/versionProperties/1.20.1.properties +++ b/versionProperties/1.20.1.properties @@ -19,7 +19,9 @@ fabric_api_version=0.85.0+1.20.1 bclib_version=3.0.12 immersive_portals_version= canvas_version= - + + fabric_incompatibility_list={ "sodium": "<0.5.0" } + # Fabric mod run # 0 = Don't enable and don't run # 1 = Can be referenced in code but doesn't run From ba45a7c2f55d100af821f6814a11c66df76fed07 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Mon, 28 Aug 2023 06:41:19 -0500 Subject: [PATCH 02/24] Fix fabric corrupted LODs on MC 1.19 --- .../distanthorizons/fabric/mixins/server/MixinChunkMap.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/MixinChunkMap.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/MixinChunkMap.java index 6ac075501..056b43c64 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/MixinChunkMap.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/MixinChunkMap.java @@ -32,8 +32,8 @@ public class MixinChunkMap private void onChunkSave(ChunkAccess chunk, CallbackInfoReturnable ci) { // corrupt/incomplete chunk validation - #if MC_1_18_2 - // MC 1.18.2 has the tendency to try saving incomplete or corrupted chunks (which show up as empty or black chunks) + #if MC_1_18_2 || MC_1_19_2 || MC_1_19_4 + // MC 1.18 and 1.19 have a tendency to try saving incomplete or corrupted chunks (which show up as empty or black chunks) // this should prevent that from happening if (chunk.isUnsaved() || chunk.isUpgrading() || !chunk.isLightCorrect()) { From a236264d14b6d5ca81bc560d78447f2a44c323f2 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Wed, 30 Aug 2023 07:08:00 -0500 Subject: [PATCH 03/24] Add temp debug option to disable lighting engine and light baking --- coreSubProjects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreSubProjects b/coreSubProjects index 93cfea4c8..5c03d7446 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit 93cfea4c84d82a152dffa331989159d0abf44f08 +Subproject commit 5c03d7446bede945c651d6c7410754a72c88da9a From 0a1bf750baf84042e60d80a2fb9a83fafeca543f Mon Sep 17 00:00:00 2001 From: James Seibel Date: Wed, 30 Aug 2023 07:44:11 -0500 Subject: [PATCH 04/24] Fix disappearing LOD sections --- coreSubProjects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreSubProjects b/coreSubProjects index 5c03d7446..58378ffcb 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit 5c03d7446bede945c651d6c7410754a72c88da9a +Subproject commit 58378ffcbaa1a3bc5df51f877122c90f534e2b90 From 251c9d11344a738b91b767a0bc8dff5e80fd9247 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Thu, 31 Aug 2023 07:12:56 -0500 Subject: [PATCH 05/24] Fix corrupt chunk saving for fabric 1.20 --- .../distanthorizons/fabric/mixins/server/MixinChunkMap.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/MixinChunkMap.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/MixinChunkMap.java index 056b43c64..d74c74bdb 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/MixinChunkMap.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/MixinChunkMap.java @@ -32,8 +32,8 @@ public class MixinChunkMap private void onChunkSave(ChunkAccess chunk, CallbackInfoReturnable ci) { // corrupt/incomplete chunk validation - #if MC_1_18_2 || MC_1_19_2 || MC_1_19_4 - // MC 1.18 and 1.19 have a tendency to try saving incomplete or corrupted chunks (which show up as empty or black chunks) + #if MC_1_18_2 || MC_1_19_2 || MC_1_19_4 || MC_1_20_1 + // MC has a tendency to try saving incomplete or corrupted chunks (which show up as empty or black chunks) // this should prevent that from happening if (chunk.isUnsaved() || chunk.isUpgrading() || !chunk.isLightCorrect()) { From fc5879beab1de12827d52f0f93bba21f72033ed4 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Thu, 31 Aug 2023 07:56:00 -0500 Subject: [PATCH 06/24] Reduce DhLightingEngine GC impact --- coreSubProjects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreSubProjects b/coreSubProjects index 58378ffcb..314899166 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit 58378ffcbaa1a3bc5df51f877122c90f534e2b90 +Subproject commit 3148991667e4600411e5cfc6a229b52ea99c5017 From 3d7b21c444a9bdb7a16d1bee2d72e16d136afcd1 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Thu, 31 Aug 2023 19:02:28 -0500 Subject: [PATCH 07/24] Fix lighting engine setting lighting incorrectly --- coreSubProjects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreSubProjects b/coreSubProjects index 314899166..7ac562c5e 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit 3148991667e4600411e5cfc6a229b52ea99c5017 +Subproject commit 7ac562c5e9bde6770e7c8c5d55aab1c8668cd854 From 13b26d59027a4184b92da91f7767633ae255b4b7 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Thu, 31 Aug 2023 19:08:38 -0500 Subject: [PATCH 08/24] Fix GLProxy null pointer --- coreSubProjects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreSubProjects b/coreSubProjects index 7ac562c5e..751eb75c5 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit 7ac562c5e9bde6770e7c8c5d55aab1c8668cd854 +Subproject commit 751eb75c504a9930bf5031ec23719c94437621e0 From 6dc567e0793f8c18d3f2d29c0b1049c13f452957 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Thu, 31 Aug 2023 19:42:35 -0500 Subject: [PATCH 09/24] Make kelp opaque in MC 1.19 and below to match MC 1.20 --- .../common/wrappers/block/BlockStateWrapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/BlockStateWrapper.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/BlockStateWrapper.java index 4923b9441..35c02b206 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/BlockStateWrapper.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/BlockStateWrapper.java @@ -208,7 +208,7 @@ public class BlockStateWrapper implements IBlockStateWrapper } #if PRE_MC_1_20_1 - return this.blockState.getMaterial().isLiquid(); + return this.blockState.getMaterial().isLiquid() || !this.blockState.getFluidState().isEmpty(); #else return !this.blockState.getFluidState().isEmpty(); #endif From 5b84b26b6764b916d7cc0da045be634dc0b1d329 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Thu, 31 Aug 2023 21:16:09 -0500 Subject: [PATCH 10/24] Move Fog and SSAO matrix inversions to the CPU --- coreSubProjects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreSubProjects b/coreSubProjects index 751eb75c5..b894cc883 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit 751eb75c504a9930bf5031ec23719c94437621e0 +Subproject commit b894cc883632e168623167b22758cf9e61f25896 From 313b66033403216da74ac791779fd9304cdf12d0 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Thu, 31 Aug 2023 21:43:21 -0500 Subject: [PATCH 11/24] Remove debug disable lighting engine configs --- coreSubProjects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreSubProjects b/coreSubProjects index b894cc883..9ba1b18fa 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit b894cc883632e168623167b22758cf9e61f25896 +Subproject commit 9ba1b18fac04bf21ff858976ef258b7ff18d50a9 From 7b7fb8db44c2717841891717e1c96b3b000e0b81 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Thu, 31 Aug 2023 22:01:48 -0500 Subject: [PATCH 12/24] Add file write locking to AbstractMetaDataContainerFile --- coreSubProjects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreSubProjects b/coreSubProjects index 9ba1b18fa..aee640794 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit 9ba1b18fac04bf21ff858976ef258b7ff18d50a9 +Subproject commit aee64079410505f34f14120c06ff5a8232790398 From eca04899de0b6baf01aa3efaa507dd10349203f2 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Fri, 1 Sep 2023 07:44:23 -0500 Subject: [PATCH 13/24] Update existing licensing headers --- .../distanthorizons/common/LodCommonMain.java | 4 ++-- .../common/forge/LodForgeMethodCaller.java | 4 ++-- .../common/wrappers/DependencySetup.java | 4 ++-- .../wrappers/DependencySetupDoneCheck.java | 4 ++-- .../common/wrappers/McObjectConverter.java | 4 ++-- .../common/wrappers/VersionConstants.java | 4 ++-- .../common/wrappers/WrapperFactory.java | 4 ++-- .../common/wrappers/block/BiomeWrapper.java | 4 ++-- .../block/TextureAtlasSpriteWrapper.java | 4 ++-- .../block/TintGetterOverrideFast.java | 4 ++-- .../block/TintGetterOverrideSmooth.java | 4 ++-- .../block/TintWithoutLevelOverrider.java | 4 ++-- .../TintWithoutLevelSmoothOverrider.java | 4 ++-- .../block/cache/ServerBlockDetailMap.java | 4 ++-- .../common/wrappers/chunk/ChunkWrapper.java | 4 ++-- .../wrappers/gui/TexturedButtonWidget.java | 4 ++-- .../minecraft/MinecraftClientWrapper.java | 4 ++-- .../minecraft/MinecraftRenderWrapper.java | 4 ++-- .../wrappers/minecraft/ProfilerWrapper.java | 4 ++-- .../common/wrappers/misc/LightMapWrapper.java | 4 ++-- .../wrappers/world/DimensionTypeWrapper.java | 4 ++-- .../wrappers/world/ServerLevelWrapper.java | 4 ++-- .../BatchGenerationEnvironment.java | 4 ++-- .../worldGeneration/GenerationEvent.java | 4 ++-- .../worldGeneration/GlobalParameters.java | 4 ++-- .../wrappers/worldGeneration/Rolling.java | 4 ++-- .../worldGeneration/ThreadedParameters.java | 4 ++-- .../mimicObject/ChunkLoader.java | 4 ++-- .../mimicObject/DhLitWorldGenRegion.java | 4 ++-- .../mimicObject/DummyLightEngine.java | 4 ++-- .../mimicObject/LightGetterAdaptor.java | 4 ++-- .../WorldGenStructFeatManager.java | 4 ++-- .../worldGeneration/step/StepBiomes.java | 4 ++-- .../worldGeneration/step/StepFeatures.java | 4 ++-- .../worldGeneration/step/StepNoise.java | 4 ++-- .../step/StepStructureReference.java | 4 ++-- .../step/StepStructureStart.java | 4 ++-- .../worldGeneration/step/StepSurface.java | 4 ++-- coreSubProjects | 2 +- .../fabric/FabricClientProxy.java | 4 ++-- .../distanthorizons/fabric/FabricMain.java | 4 ++-- .../mixins/client/MixinClientLevel.java | 4 ++-- .../mixins/client/MixinFogRenderer.java | 4 ++-- .../mixins/client/MixinLevelRenderer.java | 4 ++-- .../mixins/client/MixinOptionsScreen.java | 4 ++-- .../mixins/events/MixinBlockUpdate.java | 4 ++-- .../mixins/events/MixinServerLevel.java | 4 ++-- .../mixins/server/MixinChunkGenerator.java | 4 ++-- .../server/MixinUtilBackgroundThread.java | 4 ++-- .../server/unsafe/MixinThreadingDetector.java | 4 ++-- .../wrappers/FabricDependencySetup.java | 4 ++-- .../wrappers/config/ModMenuIntegration.java | 4 ++-- .../wrappers/modAccessor/ModChecker.java | 4 ++-- .../modAccessor/OptifineAccessor.java | 4 ++-- .../wrappers/modAccessor/SodiumAccessor.java | 4 ++-- .../modAccessor/StarlightAccessor.java | 4 ++-- .../forge/ForgeClientProxy.java | 4 ++-- .../distanthorizons/forge/ForgeMain.java | 4 ++-- .../forge/mixins/client/MixinFogRenderer.java | 4 ++-- .../mixins/client/MixinLevelRenderer.java | 4 ++-- .../mixins/client/MixinOptionsScreen.java | 4 ++-- .../mixins/server/MixinChunkGenerator.java | 4 ++-- .../server/MixinUtilBackgroundThread.java | 4 ++-- .../server/unsafe/MixinThreadingDetector.java | 4 ++-- .../forge/wrappers/ForgeDependencySetup.java | 4 ++-- .../wrappers/modAccessor/ModChecker.java | 4 ++-- .../modAccessor/OptifineAccessor.java | 4 ++-- license_header.txt | Bin 1654 -> 1604 bytes 68 files changed, 133 insertions(+), 133 deletions(-) diff --git a/common/src/main/java/com/seibel/distanthorizons/common/LodCommonMain.java b/common/src/main/java/com/seibel/distanthorizons/common/LodCommonMain.java index 11e4ac676..502dc3301 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/LodCommonMain.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/LodCommonMain.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/forge/LodForgeMethodCaller.java b/common/src/main/java/com/seibel/distanthorizons/common/forge/LodForgeMethodCaller.java index 4bda7c1aa..0d9b8da4a 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/forge/LodForgeMethodCaller.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/forge/LodForgeMethodCaller.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/DependencySetup.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/DependencySetup.java index 0b8f7791a..364f1a066 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/DependencySetup.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/DependencySetup.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/DependencySetupDoneCheck.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/DependencySetupDoneCheck.java index 271abd82d..cf1835753 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/DependencySetupDoneCheck.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/DependencySetupDoneCheck.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/McObjectConverter.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/McObjectConverter.java index c4409ffb4..c11e57c77 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/McObjectConverter.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/McObjectConverter.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/VersionConstants.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/VersionConstants.java index 3c25fa0e4..643a23f25 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/VersionConstants.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/VersionConstants.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/WrapperFactory.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/WrapperFactory.java index 01bcf52f7..6bc8d7907 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/WrapperFactory.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/WrapperFactory.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/BiomeWrapper.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/BiomeWrapper.java index aee4951ca..906882cd1 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/BiomeWrapper.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/BiomeWrapper.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/TextureAtlasSpriteWrapper.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/TextureAtlasSpriteWrapper.java index 1be216135..b5334f956 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/TextureAtlasSpriteWrapper.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/TextureAtlasSpriteWrapper.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/TintGetterOverrideFast.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/TintGetterOverrideFast.java index 434d5a3c5..7a8a92e6e 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/TintGetterOverrideFast.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/TintGetterOverrideFast.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/TintGetterOverrideSmooth.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/TintGetterOverrideSmooth.java index a078107b0..94015d4de 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/TintGetterOverrideSmooth.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/TintGetterOverrideSmooth.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/TintWithoutLevelOverrider.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/TintWithoutLevelOverrider.java index 6a098e593..4f35469ea 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/TintWithoutLevelOverrider.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/TintWithoutLevelOverrider.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/TintWithoutLevelSmoothOverrider.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/TintWithoutLevelSmoothOverrider.java index 6bbce5bab..c4f4d4438 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/TintWithoutLevelSmoothOverrider.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/TintWithoutLevelSmoothOverrider.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/cache/ServerBlockDetailMap.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/cache/ServerBlockDetailMap.java index d7d3a2646..453761f53 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/cache/ServerBlockDetailMap.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/cache/ServerBlockDetailMap.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/chunk/ChunkWrapper.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/chunk/ChunkWrapper.java index f9cb65750..903299825 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/chunk/ChunkWrapper.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/chunk/ChunkWrapper.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/TexturedButtonWidget.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/TexturedButtonWidget.java index 17b04b6dd..950a68e50 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/TexturedButtonWidget.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/TexturedButtonWidget.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/MinecraftClientWrapper.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/MinecraftClientWrapper.java index 9e3345e9b..66f901834 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/MinecraftClientWrapper.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/MinecraftClientWrapper.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/MinecraftRenderWrapper.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/MinecraftRenderWrapper.java index 1a10e6ef2..c931ec308 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/MinecraftRenderWrapper.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/MinecraftRenderWrapper.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/ProfilerWrapper.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/ProfilerWrapper.java index ec8118437..66f236fd3 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/ProfilerWrapper.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/ProfilerWrapper.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/misc/LightMapWrapper.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/misc/LightMapWrapper.java index b49026bf2..568b87188 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/misc/LightMapWrapper.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/misc/LightMapWrapper.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/world/DimensionTypeWrapper.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/world/DimensionTypeWrapper.java index 6ddcfe38c..9f7dd1ccc 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/world/DimensionTypeWrapper.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/world/DimensionTypeWrapper.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/world/ServerLevelWrapper.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/world/ServerLevelWrapper.java index 18dbc08f0..5d354a21c 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/world/ServerLevelWrapper.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/world/ServerLevelWrapper.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/BatchGenerationEnvironment.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/BatchGenerationEnvironment.java index e54490bbb..9909e74d2 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/BatchGenerationEnvironment.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/BatchGenerationEnvironment.java @@ -1,9 +1,9 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * * Copyright (C) 2021 Tom Lee (TomTheFurry) - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/GenerationEvent.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/GenerationEvent.java index 3fa8d05b8..7d2521f62 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/GenerationEvent.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/GenerationEvent.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/GlobalParameters.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/GlobalParameters.java index 6c87d14b3..aafc01bb3 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/GlobalParameters.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/GlobalParameters.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/Rolling.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/Rolling.java index b142e6350..0c50289f6 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/Rolling.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/Rolling.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/ThreadedParameters.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/ThreadedParameters.java index 7f98e03d2..d5e391be5 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/ThreadedParameters.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/ThreadedParameters.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/ChunkLoader.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/ChunkLoader.java index ee6727344..dda02fa40 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/ChunkLoader.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/ChunkLoader.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU GPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/DhLitWorldGenRegion.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/DhLitWorldGenRegion.java index 7270c2523..838bca76f 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/DhLitWorldGenRegion.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/DhLitWorldGenRegion.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/DummyLightEngine.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/DummyLightEngine.java index cd8fa5e0c..106af9f4a 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/DummyLightEngine.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/DummyLightEngine.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/LightGetterAdaptor.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/LightGetterAdaptor.java index af0770f5a..b18b8f41b 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/LightGetterAdaptor.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/LightGetterAdaptor.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/WorldGenStructFeatManager.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/WorldGenStructFeatManager.java index 2b75c805c..b2e8ff623 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/WorldGenStructFeatManager.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/WorldGenStructFeatManager.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepBiomes.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepBiomes.java index 09147d424..0ea6286a2 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepBiomes.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepBiomes.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepFeatures.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepFeatures.java index a0981e08d..8f2b94fb8 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepFeatures.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepFeatures.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepNoise.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepNoise.java index 25e3b2c7f..f2670d97a 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepNoise.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepNoise.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepStructureReference.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepStructureReference.java index dd2fb24b7..35a5a7b71 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepStructureReference.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepStructureReference.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepStructureStart.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepStructureStart.java index 3a4ebf636..0cf652f66 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepStructureStart.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepStructureStart.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepSurface.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepSurface.java index c05c03a4b..39c4a6e8d 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepSurface.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepSurface.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/coreSubProjects b/coreSubProjects index aee640794..7a0a21782 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit aee64079410505f34f14120c06ff5a8232790398 +Subproject commit 7a0a217822d71b89c8c8e8eb777f87747986ac08 diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/FabricClientProxy.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/FabricClientProxy.java index 46f555e35..f667249b6 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/FabricClientProxy.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/FabricClientProxy.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/FabricMain.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/FabricMain.java index f19ce6991..b29afbc16 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/FabricMain.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/FabricMain.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinClientLevel.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinClientLevel.java index df83765e8..7f7836bd1 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinClientLevel.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinClientLevel.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinFogRenderer.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinFogRenderer.java index fc44537cf..ece88854f 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinFogRenderer.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinFogRenderer.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinLevelRenderer.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinLevelRenderer.java index 7198d469c..682555f4b 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinLevelRenderer.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinLevelRenderer.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinOptionsScreen.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinOptionsScreen.java index 275ad9642..7fbb823a1 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinOptionsScreen.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinOptionsScreen.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/events/MixinBlockUpdate.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/events/MixinBlockUpdate.java index 0c063a6ce..070cc7807 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/events/MixinBlockUpdate.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/events/MixinBlockUpdate.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/events/MixinServerLevel.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/events/MixinServerLevel.java index 5247c4df5..a475b61a6 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/events/MixinServerLevel.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/events/MixinServerLevel.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/MixinChunkGenerator.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/MixinChunkGenerator.java index fee2cb5f2..e0d28ec86 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/MixinChunkGenerator.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/MixinChunkGenerator.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/MixinUtilBackgroundThread.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/MixinUtilBackgroundThread.java index 1302a7568..6e58f36af 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/MixinUtilBackgroundThread.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/MixinUtilBackgroundThread.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/unsafe/MixinThreadingDetector.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/unsafe/MixinThreadingDetector.java index b5417464f..b6027388f 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/unsafe/MixinThreadingDetector.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/unsafe/MixinThreadingDetector.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/FabricDependencySetup.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/FabricDependencySetup.java index 378aa57dd..13eb0b7eb 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/FabricDependencySetup.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/FabricDependencySetup.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/config/ModMenuIntegration.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/config/ModMenuIntegration.java index b68352015..2d809c45d 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/config/ModMenuIntegration.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/config/ModMenuIntegration.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/modAccessor/ModChecker.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/modAccessor/ModChecker.java index 5b205c5fb..1e4d15622 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/modAccessor/ModChecker.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/modAccessor/ModChecker.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/modAccessor/OptifineAccessor.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/modAccessor/OptifineAccessor.java index 38aa2f669..1134dab26 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/modAccessor/OptifineAccessor.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/modAccessor/OptifineAccessor.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/modAccessor/SodiumAccessor.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/modAccessor/SodiumAccessor.java index aa14661b1..72289277a 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/modAccessor/SodiumAccessor.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/modAccessor/SodiumAccessor.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/modAccessor/StarlightAccessor.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/modAccessor/StarlightAccessor.java index c10ff9685..9bf619833 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/modAccessor/StarlightAccessor.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/modAccessor/StarlightAccessor.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/forge/src/main/java/com/seibel/distanthorizons/forge/ForgeClientProxy.java b/forge/src/main/java/com/seibel/distanthorizons/forge/ForgeClientProxy.java index 2307a7cc6..7e3b56b96 100644 --- a/forge/src/main/java/com/seibel/distanthorizons/forge/ForgeClientProxy.java +++ b/forge/src/main/java/com/seibel/distanthorizons/forge/ForgeClientProxy.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/forge/src/main/java/com/seibel/distanthorizons/forge/ForgeMain.java b/forge/src/main/java/com/seibel/distanthorizons/forge/ForgeMain.java index baa785c26..5f76cf7cb 100644 --- a/forge/src/main/java/com/seibel/distanthorizons/forge/ForgeMain.java +++ b/forge/src/main/java/com/seibel/distanthorizons/forge/ForgeMain.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinFogRenderer.java b/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinFogRenderer.java index 115cdef8d..7a46edfed 100644 --- a/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinFogRenderer.java +++ b/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinFogRenderer.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinLevelRenderer.java b/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinLevelRenderer.java index fa7f92fed..fb2f176e0 100644 --- a/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinLevelRenderer.java +++ b/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinLevelRenderer.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinOptionsScreen.java b/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinOptionsScreen.java index 01624f94f..af33b5db0 100644 --- a/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinOptionsScreen.java +++ b/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinOptionsScreen.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/server/MixinChunkGenerator.java b/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/server/MixinChunkGenerator.java index 62c96bd93..5b15692ce 100644 --- a/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/server/MixinChunkGenerator.java +++ b/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/server/MixinChunkGenerator.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/server/MixinUtilBackgroundThread.java b/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/server/MixinUtilBackgroundThread.java index 168e156ad..59904ca04 100644 --- a/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/server/MixinUtilBackgroundThread.java +++ b/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/server/MixinUtilBackgroundThread.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/server/unsafe/MixinThreadingDetector.java b/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/server/unsafe/MixinThreadingDetector.java index 196a56b38..d692a4c49 100644 --- a/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/server/unsafe/MixinThreadingDetector.java +++ b/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/server/unsafe/MixinThreadingDetector.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/forge/src/main/java/com/seibel/distanthorizons/forge/wrappers/ForgeDependencySetup.java b/forge/src/main/java/com/seibel/distanthorizons/forge/wrappers/ForgeDependencySetup.java index ffa1066d4..5008ee6c0 100644 --- a/forge/src/main/java/com/seibel/distanthorizons/forge/wrappers/ForgeDependencySetup.java +++ b/forge/src/main/java/com/seibel/distanthorizons/forge/wrappers/ForgeDependencySetup.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/forge/src/main/java/com/seibel/distanthorizons/forge/wrappers/modAccessor/ModChecker.java b/forge/src/main/java/com/seibel/distanthorizons/forge/wrappers/modAccessor/ModChecker.java index c987db43d..4475c6900 100644 --- a/forge/src/main/java/com/seibel/distanthorizons/forge/wrappers/modAccessor/ModChecker.java +++ b/forge/src/main/java/com/seibel/distanthorizons/forge/wrappers/modAccessor/ModChecker.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/forge/src/main/java/com/seibel/distanthorizons/forge/wrappers/modAccessor/OptifineAccessor.java b/forge/src/main/java/com/seibel/distanthorizons/forge/wrappers/modAccessor/OptifineAccessor.java index 89aed2fa1..13b6688be 100644 --- a/forge/src/main/java/com/seibel/distanthorizons/forge/wrappers/modAccessor/OptifineAccessor.java +++ b/forge/src/main/java/com/seibel/distanthorizons/forge/wrappers/modAccessor/OptifineAccessor.java @@ -1,8 +1,8 @@ /* - * This file is part of the Distant Horizons mod (formerly the LOD Mod), + * This file is part of the Distant Horizons mod * licensed under the GNU LGPL v3 License. * - * Copyright (C) 2020-2022 James Seibel + * Copyright (C) 2020-2023 James Seibel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/license_header.txt b/license_header.txt index ef1aaa7ee54d0314bebb5def00382bc8b417937f..a66b66e6d29cb5740d8476df3a90b9efa466392f 100644 GIT binary patch delta 16 YcmeyybA)F?!NdiN7>zf(G8(c106mxn2><{9 delta 66 zcmX@Y^NnXhfxZHR216P{K0^^hE<-Ai%wecxP+%xw$N=&b7K{ Q#Qep~Mhps@g&7T50rg=GqyPW_ From fc43f866a13e7bcf165c0e88040f41b254cee1e0 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Fri, 1 Sep 2023 20:43:31 -0500 Subject: [PATCH 14/24] Add missing licensing headers --- .../common/rendering/SeamlessOverdraw.java | 19 +++++++++++++++++++ .../wrappers/block/BlockStateWrapper.java | 19 +++++++++++++++++++ .../block/cache/ClientBlockDetailMap.java | 19 +++++++++++++++++++ .../block/cache/ClientBlockStateCache.java | 19 +++++++++++++++++++ .../block/cache/ServerBlockStateCache.java | 19 +++++++++++++++++++ coreSubProjects | 2 +- 6 files changed, 96 insertions(+), 1 deletion(-) diff --git a/common/src/main/java/com/seibel/distanthorizons/common/rendering/SeamlessOverdraw.java b/common/src/main/java/com/seibel/distanthorizons/common/rendering/SeamlessOverdraw.java index c2aaf49d4..264dc636a 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/rendering/SeamlessOverdraw.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/rendering/SeamlessOverdraw.java @@ -1,3 +1,22 @@ +/* + * This file is part of the Distant Horizons mod + * licensed under the GNU LGPL v3 License. + * + * Copyright (C) 2020-2023 James Seibel + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + package com.seibel.distanthorizons.common.rendering; #if PRE_MC_1_19_4 diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/BlockStateWrapper.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/BlockStateWrapper.java index 35c02b206..c8e885267 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/BlockStateWrapper.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/BlockStateWrapper.java @@ -1,3 +1,22 @@ +/* + * This file is part of the Distant Horizons mod + * licensed under the GNU LGPL v3 License. + * + * Copyright (C) 2020-2023 James Seibel + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + package com.seibel.distanthorizons.common.wrappers.block; import com.seibel.distanthorizons.core.logging.DhLoggerBuilder; diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/cache/ClientBlockDetailMap.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/cache/ClientBlockDetailMap.java index 209073efb..e078d6685 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/cache/ClientBlockDetailMap.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/cache/ClientBlockDetailMap.java @@ -1,3 +1,22 @@ +/* + * This file is part of the Distant Horizons mod + * licensed under the GNU LGPL v3 License. + * + * Copyright (C) 2020-2023 James Seibel + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + package com.seibel.distanthorizons.common.wrappers.block.cache; import com.seibel.distanthorizons.common.wrappers.block.BiomeWrapper; diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/cache/ClientBlockStateCache.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/cache/ClientBlockStateCache.java index 235b196a8..c5b5b349a 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/cache/ClientBlockStateCache.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/cache/ClientBlockStateCache.java @@ -1,3 +1,22 @@ +/* + * This file is part of the Distant Horizons mod + * licensed under the GNU LGPL v3 License. + * + * Copyright (C) 2020-2023 James Seibel + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + package com.seibel.distanthorizons.common.wrappers.block.cache; import com.seibel.distanthorizons.common.wrappers.block.BiomeWrapper; diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/cache/ServerBlockStateCache.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/cache/ServerBlockStateCache.java index 55b7beb36..3cd54a49c 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/cache/ServerBlockStateCache.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/cache/ServerBlockStateCache.java @@ -1,3 +1,22 @@ +/* + * This file is part of the Distant Horizons mod + * licensed under the GNU LGPL v3 License. + * + * Copyright (C) 2020-2023 James Seibel + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + package com.seibel.distanthorizons.common.wrappers.block.cache; import com.seibel.distanthorizons.common.wrappers.McObjectConverter; diff --git a/coreSubProjects b/coreSubProjects index 7a0a21782..1af6e8308 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit 7a0a217822d71b89c8c8e8eb777f87747986ac08 +Subproject commit 1af6e830860f3b308185c933dc5a260a0375faa4 From 20be303dd01b8b3e1d1e2a23a9755043cc61e7b0 Mon Sep 17 00:00:00 2001 From: coolGi Date: Sat, 2 Sep 2023 20:10:56 +0930 Subject: [PATCH 15/24] Fixed crash ran on version not on Modrinth --- .../common/wrappers/gui/ClassicConfigGUI.java | 8 +++- .../wrappers/gui/updater/ChangelogScreen.java | 38 +++++++++++++++++-- .../fabric/mixins/client/MixinMinecraft.java | 12 +++++- .../forge/mixins/client/MixinMinecraft.java | 19 ++++++---- 4 files changed, 63 insertions(+), 14 deletions(-) diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/ClassicConfigGUI.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/ClassicConfigGUI.java index ca0f10490..0d4846e20 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/ClassicConfigGUI.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/ClassicConfigGUI.java @@ -257,7 +257,13 @@ public class ClassicConfigGUI // Some textuary stuff 0, new ResourceLocation(ModInfo.ID, "textures/gui/changelog.png"), 20, 20, // Create the button and tell it where to go - (buttonWidget) -> Objects.requireNonNull(minecraft).setScreen(new ChangelogScreen(this)), + (buttonWidget) -> { + ChangelogScreen changelogScreen = new ChangelogScreen(this); + if (changelogScreen.usable) + Objects.requireNonNull(minecraft).setScreen(changelogScreen); + else + LOGGER.warn("Changelog was not able to open"); + }, // Add a title to the button Translatable(ModInfo.ID + ".updater.title") )); diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/updater/ChangelogScreen.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/updater/ChangelogScreen.java index df2cc3dc2..6d9c37cdb 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/updater/ChangelogScreen.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/updater/ChangelogScreen.java @@ -44,16 +44,32 @@ public class ChangelogScreen extends DhScreen private List changelog; private TextArea changelogArea; + public boolean usable = false; + public ChangelogScreen(Screen parent) { this(parent, null); if (!ModrinthGetter.initted) // Make sure the modrinth stuff is initted ModrinthGetter.init(); - if (!ModrinthGetter.initted) // If its not initted the just close the screen - onClose(); + if (!ModrinthGetter.initted) // If its not initted, then this isnt usable + return; - setupChangelog(ModrinthGetter.getLatestIDForVersion(SingletonInjector.INSTANCE.get(IVersionConstants.class).getMinecraftVersion())); + if (!ModrinthGetter.mcVersions.contains(SingletonInjector.INSTANCE.get(IVersionConstants.class).getMinecraftVersion())) + return; + + String versionID = ModrinthGetter.getLatestIDForVersion(SingletonInjector.INSTANCE.get(IVersionConstants.class).getMinecraftVersion()); + if (versionID == null) + return; + try + { + setupChangelog(versionID); + usable = true; + } + catch (Exception e) + { + e.printStackTrace(); + } } public ChangelogScreen(Screen parent, String versionID) @@ -62,8 +78,18 @@ public class ChangelogScreen extends DhScreen this.parent = parent; this.versionID = versionID; - if (versionID != null) + + if (versionID == null) + return; + try + { setupChangelog(versionID); + usable = true; + } + catch (Exception e) + { + e.printStackTrace(); + } } private void setupChangelog(String versionID) @@ -97,6 +123,8 @@ public class ChangelogScreen extends DhScreen protected void init() { super.init(); + if (!usable) + return; this.addBtn( // Close @@ -123,6 +151,8 @@ public class ChangelogScreen extends DhScreen #endif { this.renderBackground(matrices); // Render background + if (!usable) + return; // Set the scroll position to the mouse height relative to the screen // This is a bit of a hack as we cannot scroll on this area diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinMinecraft.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinMinecraft.java index a39a6066c..6ba218c81 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinMinecraft.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinMinecraft.java @@ -23,15 +23,23 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; @Mixin(Minecraft.class) public class MixinMinecraft { + #if PRE_MC_1_20 @Redirect( method = "(Lnet/minecraft/client/main/GameConfig;)V", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/Minecraft;setScreen(Lnet/minecraft/client/gui/screens/Screen;)V") ) public void onOpenScreen(Minecraft instance, Screen guiScreen) { - if (!Config.Client.Advanced.AutoUpdater.enableAutoUpdater.get()) + #else + @Redirect( + method = "Lnet/minecraft/client/Minecraft;setInitialScreen(Lcom/mojang/realmsclient/client/RealmsClient;Lnet/minecraft/server/packs/resources/ReloadInstance;Lnet/minecraft/client/main/GameConfig$QuickPlayData;)V", + at = @At(value = "INVOKE", target = "Lnet/minecraft/client/Minecraft;setScreen(Lnet/minecraft/client/gui/screens/Screen;)V") + ) + public void onOpenScreen(Minecraft instance, Screen guiScreen) + { + #endif + if (!Config.Client.Advanced.AutoUpdater.enableAutoUpdater.get()) // Don't do anything if the user doesn't want it { - // Don't do anything if the user doesn't want it instance.setScreen(guiScreen); // Sets the screen back to the vanilla screen as if nothing ever happened return; } diff --git a/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinMinecraft.java b/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinMinecraft.java index debe53f16..6b508b87b 100644 --- a/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinMinecraft.java +++ b/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinMinecraft.java @@ -23,15 +23,23 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; @Mixin(Minecraft.class) public class MixinMinecraft { + #if PRE_MC_1_20 @Redirect( method = "(Lnet/minecraft/client/main/GameConfig;)V", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/Minecraft;setScreen(Lnet/minecraft/client/gui/screens/Screen;)V") ) public void onOpenScreen(Minecraft instance, Screen guiScreen) { - if (!Config.Client.Advanced.AutoUpdater.enableAutoUpdater.get()) + #else + @Redirect( + method = "Lnet/minecraft/client/Minecraft;setInitialScreen(Lcom/mojang/realmsclient/client/RealmsClient;Lnet/minecraft/server/packs/resources/ReloadInstance;Lnet/minecraft/client/main/GameConfig$QuickPlayData;)V", + at = @At(value = "INVOKE", target = "Lnet/minecraft/client/Minecraft;setScreen(Lnet/minecraft/client/gui/screens/Screen;)V") + ) + public void onOpenScreen(Minecraft instance, Screen guiScreen) + { + #endif + if (!Config.Client.Advanced.AutoUpdater.enableAutoUpdater.get()) // Don't do anything if the user doesn't want it { - // Don't do anything if the user doesn't want it instance.setScreen(guiScreen); // Sets the screen back to the vanilla screen as if nothing ever happened return; } @@ -49,10 +57,7 @@ public class MixinMinecraft } } - @Inject(at = @At("HEAD"), method = "close()V", remap = false) - public void close(CallbackInfo ci) - { - SelfUpdater.onClose(); - } + @Inject(at = @At("HEAD"), method = "close()V") + public void close(CallbackInfo ci) { SelfUpdater.onClose(); } } From 969edef3b2cbe3fe8e4e6ef3a5a6f5337c83c687 Mon Sep 17 00:00:00 2001 From: coolGi Date: Sat, 2 Sep 2023 20:11:03 +0930 Subject: [PATCH 16/24] Updated core submodule --- coreSubProjects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreSubProjects b/coreSubProjects index 1af6e8308..a3a41c44a 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit 1af6e830860f3b308185c933dc5a260a0375faa4 +Subproject commit a3a41c44a92d846bc04eeb7589f9dc7dab9df7e0 From 1ab8483df585de15b5136d94897c4b4c6be17166 Mon Sep 17 00:00:00 2001 From: coolGi Date: Sat, 2 Sep 2023 20:48:04 +0930 Subject: [PATCH 17/24] Added tripwire to ignored blocks --- .../common/wrappers/block/BlockStateWrapper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/BlockStateWrapper.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/BlockStateWrapper.java index c8e885267..8f69f8b2b 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/BlockStateWrapper.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/BlockStateWrapper.java @@ -65,7 +65,8 @@ public class BlockStateWrapper implements IBlockStateWrapper public static final String AIR_STRING = "AIR"; public static final BlockStateWrapper AIR = new BlockStateWrapper(null, null); - public static final String[] RENDERER_IGNORED_BLOCKS_RESOURCE_LOCATIONS = { AIR_STRING, "minecraft:barrier", "minecraft:structure_void", "minecraft:light" }; + // TODO: Make this changeable through the config + public static final String[] RENDERER_IGNORED_BLOCKS_RESOURCE_LOCATIONS = { AIR_STRING, "minecraft:barrier", "minecraft:structure_void", "minecraft:light", "minecraft:tripwire" }; public static HashSet rendererIgnoredBlocks = null; From 1de8cfb001c2c61e1fa4bc43ee628a373a5369aa Mon Sep 17 00:00:00 2001 From: coolGi Date: Sat, 2 Sep 2023 20:55:02 +0930 Subject: [PATCH 18/24] Forgot forge was weird with mixins --- .../forge/mixins/client/MixinMinecraft.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinMinecraft.java b/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinMinecraft.java index 6b508b87b..91c270201 100644 --- a/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinMinecraft.java +++ b/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinMinecraft.java @@ -57,7 +57,10 @@ public class MixinMinecraft } } - @Inject(at = @At("HEAD"), method = "close()V") - public void close(CallbackInfo ci) { SelfUpdater.onClose(); } + @Inject(at = @At("HEAD"), method = "close()V", remap = false) + public void close(CallbackInfo ci) + { + SelfUpdater.onClose(); + } } From 507b045eb95f658827246ebe1e3364772bfbec8e Mon Sep 17 00:00:00 2001 From: coolGi Date: Sat, 2 Sep 2023 20:59:31 +0930 Subject: [PATCH 19/24] Fixed deep dark not blackening lods --- .../common/wrappers/gui/updater/UpdateModScreen.java | 2 +- .../common/wrappers/minecraft/MinecraftRenderWrapper.java | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/updater/UpdateModScreen.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/updater/UpdateModScreen.java index a212ca583..1b9aa8c1a 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/updater/UpdateModScreen.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/updater/UpdateModScreen.java @@ -27,7 +27,7 @@ import java.util.*; * * @author coolGi */ -// TODO: After finishing the config, rewrite this in openGL as well +// TODO: After finishing the config, rewrite this in Java Swing as well // and also maybe add this suggestion https://discord.com/channels/881614130614767666/1035863487110467625/1035949054485594192 public class UpdateModScreen extends DhScreen { diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/MinecraftRenderWrapper.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/MinecraftRenderWrapper.java index c931ec308..6d433402f 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/MinecraftRenderWrapper.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/MinecraftRenderWrapper.java @@ -111,9 +111,13 @@ public class MinecraftRenderWrapper implements IMinecraftRenderWrapper } @Override - public boolean playerHasBlindnessEffect() + public boolean playerHasBlindingEffect() { - return MC.player.getActiveEffectsMap().get(MobEffects.BLINDNESS) != null; + return MC.player.getActiveEffectsMap().get(MobEffects.BLINDNESS) != null + #if POST_AND_MC_1_19_2 + || MC.player.getActiveEffectsMap().get(MobEffects.DARKNESS) != null // Deep dark effect + #endif + ; } @Override From 276b839668cc3c80839f8c717e8d57e28fa84a18 Mon Sep 17 00:00:00 2001 From: coolGi Date: Sat, 2 Sep 2023 21:03:24 +0930 Subject: [PATCH 20/24] Fixed fog not applying correctly with blindness or darkness --- .../distanthorizons/fabric/mixins/client/MixinFogRenderer.java | 3 +++ .../distanthorizons/forge/mixins/client/MixinFogRenderer.java | 3 +++ 2 files changed, 6 insertions(+) diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinFogRenderer.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinFogRenderer.java index ece88854f..b498e5785 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinFogRenderer.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinFogRenderer.java @@ -20,6 +20,8 @@ package com.seibel.distanthorizons.fabric.mixins.client; import com.seibel.distanthorizons.core.config.Config; +import com.seibel.distanthorizons.core.dependencyInjection.SingletonInjector; +import com.seibel.distanthorizons.core.wrapperInterfaces.minecraft.IMinecraftRenderWrapper; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; @@ -66,6 +68,7 @@ public class MixinFogRenderer Entity entity = camera.getEntity(); boolean isSpecialFog = (entity instanceof LivingEntity) && ((LivingEntity) entity).hasEffect(MobEffects.BLINDNESS); if (!isSpecialFog && cameraNotInFluid && fogMode == FogMode.FOG_TERRAIN + && !SingletonInjector.INSTANCE.get(IMinecraftRenderWrapper.class).playerHasBlindingEffect() && Config.Client.Advanced.Graphics.Fog.disableVanillaFog.get()) { #if PRE_MC_1_17_1 diff --git a/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinFogRenderer.java b/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinFogRenderer.java index 7a46edfed..5e1d20f92 100644 --- a/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinFogRenderer.java +++ b/forge/src/main/java/com/seibel/distanthorizons/forge/mixins/client/MixinFogRenderer.java @@ -20,6 +20,8 @@ package com.seibel.distanthorizons.forge.mixins.client; import com.seibel.distanthorizons.core.config.Config; +import com.seibel.distanthorizons.core.dependencyInjection.SingletonInjector; +import com.seibel.distanthorizons.core.wrapperInterfaces.minecraft.IMinecraftRenderWrapper; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; @@ -66,6 +68,7 @@ public class MixinFogRenderer Entity entity = camera.getEntity(); boolean isSpecialFog = (entity instanceof LivingEntity) && ((LivingEntity) entity).hasEffect(MobEffects.BLINDNESS); if (!isSpecialFog && cameraNotInFluid && fogMode == FogMode.FOG_TERRAIN + && !SingletonInjector.INSTANCE.get(IMinecraftRenderWrapper.class).playerHasBlindingEffect() && Config.Client.Advanced.Graphics.Fog.disableVanillaFog.get()) { #if PRE_MC_1_17_1 From 8765f9effa2d3a0f4d6280660e2d954c72a1b786 Mon Sep 17 00:00:00 2001 From: coolGi Date: Sat, 2 Sep 2023 21:05:32 +0930 Subject: [PATCH 21/24] Updated core subproject --- coreSubProjects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreSubProjects b/coreSubProjects index a3a41c44a..d71ab1138 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit a3a41c44a92d846bc04eeb7589f9dc7dab9df7e0 +Subproject commit d71ab1138b2dbbc2992199bcad5c29e800301951 From f42a76c8fd9d2ef370752ee11462c1ac383cd461 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sat, 2 Sep 2023 21:07:08 -0500 Subject: [PATCH 22/24] Render file handling refactors --- coreSubProjects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreSubProjects b/coreSubProjects index d71ab1138..89c6dc033 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit d71ab1138b2dbbc2992199bcad5c29e800301951 +Subproject commit 89c6dc0333f21d906badb25998ab64e14139a424 From 8d822d7f3c61bf2b9227b28821bec14132492467 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Wed, 6 Sep 2023 21:25:57 -0500 Subject: [PATCH 23/24] Add Null's SSAO improvements --- coreSubProjects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreSubProjects b/coreSubProjects index 89c6dc033..36fc6aaea 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit 89c6dc0333f21d906badb25998ab64e14139a424 +Subproject commit 36fc6aaea33480ad8d909c8d32828cd8bc8ba077 From 7c9fd5be9ce589606b2f94fe0112de19ec2ba979 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Thu, 7 Sep 2023 07:05:05 -0500 Subject: [PATCH 24/24] Fix Fabric UI mixin fail for MC 1.19 and below --- .../distanthorizons/fabric/mixins/client/MixinMinecraft.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinMinecraft.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinMinecraft.java index 6ba218c81..570c147f7 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinMinecraft.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinMinecraft.java @@ -23,7 +23,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; @Mixin(Minecraft.class) public class MixinMinecraft { - #if PRE_MC_1_20 + #if PRE_MC_1_20_1 @Redirect( method = "(Lnet/minecraft/client/main/GameConfig;)V", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/Minecraft;setScreen(Lnet/minecraft/client/gui/screens/Screen;)V")