diff options
author | Léa Gris <lea.gris@noiraude.net> | 2021-02-24 22:17:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-24 22:17:14 +0100 |
commit | 3fa7666b23d3761f2157c0190aa86d00eb676557 (patch) | |
tree | b30ed4224a3ac370af3d77330cb27a4505e18c25 /src/main/java/gregtech/GT_Mod.java | |
parent | 39b50c5f90ee97c3eb0219d3ba9aee4e9fe3e38f (diff) | |
parent | b05f9e268a4b318f1af10cddc2dab7ee507dcef0 (diff) | |
download | GT5-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.java | 2 |
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); |