aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/GT_Mod.java
diff options
context:
space:
mode:
authorLéa Gris <lea.gris@noiraude.net>2021-02-24 22:17:14 +0100
committerGitHub <noreply@github.com>2021-02-24 22:17:14 +0100
commit3fa7666b23d3761f2157c0190aa86d00eb676557 (patch)
treeb30ed4224a3ac370af3d77330cb27a4505e18c25 /src/main/java/gregtech/GT_Mod.java
parent39b50c5f90ee97c3eb0219d3ba9aee4e9fe3e38f (diff)
parentb05f9e268a4b318f1af10cddc2dab7ee507dcef0 (diff)
downloadGT5-Unofficial-3fa7666b23d3761f2157c0190aa86d00eb676557.tar.gz
GT5-Unofficial-3fa7666b23d3761f2157c0190aa86d00eb676557.tar.bz2
GT5-Unofficial-3fa7666b23d3761f2157c0190aa86d00eb676557.zip
Merge pull request #437 from GTNewHorizons/RenderAO
feat(render): tile ambient occlusion
Diffstat (limited to 'src/main/java/gregtech/GT_Mod.java')
-rw-r--r--src/main/java/gregtech/GT_Mod.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/gregtech/GT_Mod.java b/src/main/java/gregtech/GT_Mod.java
index 858f8c87f8..4115e61251 100644
--- a/src/main/java/gregtech/GT_Mod.java
+++ b/src/main/java/gregtech/GT_Mod.java
@@ -323,6 +323,8 @@ public class GT_Mod implements IGT_Mod {
tDye.mRGBa[2] = ((short) Math.min(255, Math.max(0, GregTech_API.sClientDataFile.get(SBdye1, "B", tDye.mRGBa[2]))));
}
);
+ gregtechproxy.mRenderTileAmbientOcclusion = GregTech_API.sClientDataFile.get("render", "TileAmbientOcclusion", true);
+
gregtechproxy.mMaxEqualEntitiesAtOneSpot = tMainConfig.get(aTextGeneral, "MaxEqualEntitiesAtOneSpot", 3).getInt(3);
gregtechproxy.mSkeletonsShootGTArrows = tMainConfig.get(aTextGeneral, "SkeletonsShootGTArrows", 16).getInt(16);
gregtechproxy.mFlintChance = tMainConfig.get(aTextGeneral, "FlintAndSteelChance", 30).getInt(30);