aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/common
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2019-02-01 19:52:37 +0000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2019-02-01 19:52:37 +0000
commit754e8ab095531069181152cf9ca24c85defc1eac (patch)
tree62056709f66b42a71a3b634f070aec6d4a81bc42 /src/Java/gtPlusPlus/core/common
parentd015262242110df899f6ffe7a9f84780382e8584 (diff)
downloadGT5-Unofficial-754e8ab095531069181152cf9ca24c85defc1eac.tar.gz
GT5-Unofficial-754e8ab095531069181152cf9ca24c85defc1eac.tar.bz2
GT5-Unofficial-754e8ab095531069181152cf9ca24c85defc1eac.zip
+ Added a mild tweak for OB graves, so that they are now immune to TC Hungry Nodes.
+ Added ability to create Simple Washers using Copper Pipes as well. (Suggested by Bear989Sr) % Adjusted the voltage returned from getVoltageForTier(tier), to now return the correct voltage, not the voltage of the next tier. % Adjusted ABS recipe handling, items for output are now supported. % Adjusted message sent to players when querying Super Buses. % Changed the Large Assembler & Casing recipes to now require an assembler. Also much harder. % Adjusted HG-1223, improved it's ABS recipe and tiering. % Greatly buffed the output of Zhuhai. Please let me know if it needs a nerf. $ Fixed some issues in GregtechMeta_MultiBlockBase, related to recognition of Control Cores & their bus. $ Fixed some hatch detection issues during Multiblock structure checks.
Diffstat (limited to 'src/Java/gtPlusPlus/core/common')
-rw-r--r--src/Java/gtPlusPlus/core/common/compat/COMPAT_OpenBlocks.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/core/common/compat/COMPAT_OpenBlocks.java b/src/Java/gtPlusPlus/core/common/compat/COMPAT_OpenBlocks.java
new file mode 100644
index 0000000000..c7b90b780c
--- /dev/null
+++ b/src/Java/gtPlusPlus/core/common/compat/COMPAT_OpenBlocks.java
@@ -0,0 +1,29 @@
+package gtPlusPlus.core.common.compat;
+
+import net.minecraft.block.Block;
+import net.minecraft.item.Item;
+import gtPlusPlus.api.objects.Logger;
+import gtPlusPlus.core.util.minecraft.ItemUtils;
+
+public class COMPAT_OpenBlocks {
+
+ public static void OreDict(){
+ run();
+ }
+
+ private static final void run(){
+
+ Item aGraveItem = ItemUtils.getItem("OpenBlocks:grave");
+ if (aGraveItem == null) {
+ return;
+ }
+ Block aGraveBlock = Block.getBlockFromItem(aGraveItem);
+ if (aGraveBlock == null) {
+ return;
+ }
+
+ Logger.INFO("[Hungry Node Blacklist] Setting the Hardness of the OpenBlocks Grave to 6.");
+ aGraveBlock.setHardness(6f);
+ }
+
+}