diff options
author | くぁーりぃ <39122497+Quarri6343@users.noreply.github.com> | 2022-08-25 05:37:53 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 22:37:53 +0200 |
commit | f84ffa16206f45c76a2a81229390a49794e5c5b3 (patch) | |
tree | 436d2f69c14813c72d5e4b12046c46ceb1ccd26f /src/main/java/com | |
parent | e67218cb6f0fbdb7691797366f181b0d4a13ee12 (diff) | |
download | GT5-Unofficial-f84ffa16206f45c76a2a81229390a49794e5c5b3.tar.gz GT5-Unofficial-f84ffa16206f45c76a2a81229390a49794e5c5b3.tar.bz2 GT5-Unofficial-f84ffa16206f45c76a2a81229390a49794e5c5b3.zip |
Fix Botania Glass-Tier (#189)
Former-commit-id: 87ce2c1d964a3bde3e31c05884aaa683a62070fa
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/github/bartimaeusnek/bartworks/API/LoaderReference.java | 2 | ||||
-rw-r--r-- | src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/GTNHBlocks.java | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/API/LoaderReference.java b/src/main/java/com/github/bartimaeusnek/bartworks/API/LoaderReference.java index 8c631fead4..09ba5e6dfd 100644 --- a/src/main/java/com/github/bartimaeusnek/bartworks/API/LoaderReference.java +++ b/src/main/java/com/github/bartimaeusnek/bartworks/API/LoaderReference.java @@ -58,6 +58,7 @@ public class LoaderReference { public static boolean betterloadingscreen; public static boolean TGregworks; public static boolean ProjRedIllumination; + public static boolean Botania; public static void init() { @@ -89,5 +90,6 @@ public class LoaderReference { betterloadingscreen = Loader.isModLoaded("betterloadingscreen"); TGregworks = Loader.isModLoaded("TGregworks"); ProjRedIllumination = Loader.isModLoaded("ProjRed|Illumination"); + Botania = Loader.isModLoaded("Botania"); } } diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/GTNHBlocks.java b/src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/GTNHBlocks.java index 1023b23ee1..5bdf77e2ce 100644 --- a/src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/GTNHBlocks.java +++ b/src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/GTNHBlocks.java @@ -30,6 +30,7 @@ import com.github.bartimaeusnek.bartworks.API.LoaderReference; * Executed on 2019-01-03 02:08:43 * modified by bartimaeusnek to only add blocks that mods are loaded * modified by bartimaeusnek on 2020-03-22 00:20 to run statically + * modified by Quarri6343 on 2022-08-24 20:02 to add Botania Support */ public class GTNHBlocks { @@ -39,6 +40,12 @@ public class GTNHBlocks { if (LoaderReference.BloodArsenal) BioVatLogicAdder.BioVatGlass.addCustomGlass("BloodArsenal", "blood_stained_glass", 0, 3); + if (LoaderReference.Botania) { + BioVatLogicAdder.BioVatGlass.addCustomGlass("Botania", "manaGlass", 0, 4); + BioVatLogicAdder.BioVatGlass.addCustomGlass("Botania", "manaGlassPane", 0, 4); + BioVatLogicAdder.BioVatGlass.addCustomGlass("Botania", "elfGlass", 0, 5); + BioVatLogicAdder.BioVatGlass.addCustomGlass("Botania", "elfGlassPane", 0, 5); + } if (LoaderReference.Botany) BioVatLogicAdder.BioVatGlass.addCustomGlass("Botany", "stained", 0, 3); if (LoaderReference.EnderIO) @@ -93,4 +100,4 @@ public class GTNHBlocks { BioVatLogicAdder.BioVatGlass.addCustomGlass("witchery", "shadedglass", i, 3); } } -}
\ No newline at end of file +} |