Remove BCLibAccessor from 1.16

This commit is contained in:
James Seibel
2023-08-05 17:27:30 -05:00
parent 9fefaf6eca
commit b41119232e
2 changed files with 14 additions and 9 deletions
@@ -1,7 +1,8 @@
package com.seibel.distanthorizons.fabric.wrappers.modAccessor;
import com.seibel.distanthorizons.core.wrapperInterfaces.modAccessor.IBCLibAccessor;
#if PRE_MC_1_19_2
#if MC_1_16_5
#elif PRE_MC_1_19_2
import ru.bclib.config.ClientConfig;
import ru.bclib.config.Configs;
#else
@@ -9,15 +10,18 @@ import org.betterx.bclib.config.ClientConfig;
import org.betterx.bclib.config.Configs;
#endif
public class BCLibAccessor implements IBCLibAccessor {
public class BCLibAccessor implements IBCLibAccessor
{
@Override
public String getModName() {
return "BCLib";
}
public String getModName() { return "BCLib"; }
public void setRenderCustomFog(boolean newValue) {
// Change the value of CUSTOM_FOG_RENDERING in the bclib client config
public void setRenderCustomFog(boolean newValue)
{
#if MC_1_16_5
#elif PRE_MC_1_19_2
// Change the value of CUSTOM_FOG_RENDERING in the bclib client config
// This disabled fog from rendering within bclib
Configs.CLIENT_CONFIG.set(ClientConfig.CUSTOM_FOG_RENDERING, newValue);
#endif
}
}
+3 -2
View File
@@ -16,7 +16,7 @@ fabric_api_version=0.42.0+1.16
lithium_version=mc1.16.5-0.6.6
sodium_version=mc1.16.5-0.2.0
iris_version=1.16.x-v1.2.5
bclib_version=0.1.41
bclib_version=
immersive_portals_version=
canvas_version=
@@ -29,6 +29,7 @@ fabric_api_version=0.42.0+1.16
enable_lithium=0
enable_sodium=1
enable_iris=0
# not available via github, use curse.maven if necessary
enable_bclib=0
enable_immersive_portals=0
enable_canvas=0
@@ -44,5 +45,5 @@ forge_version=36.2.39
# 1 = Can be referenced in code but doesn't run
# 2 = Can be referenced in code and runs in client
enable_starlight_forge=0
enable_terraforged=2
enable_terraforged=1
enable_terrafirmacraft=0