From 754e8ab095531069181152cf9ca24c85defc1eac Mon Sep 17 00:00:00 2001 From: Alkalus <3060479+draknyte1@users.noreply.github.com> Date: Fri, 1 Feb 2019 19:52:37 +0000 Subject: + 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. --- .../core/common/compat/COMPAT_OpenBlocks.java | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/Java/gtPlusPlus/core/common/compat/COMPAT_OpenBlocks.java (limited to 'src/Java/gtPlusPlus/core/common') 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); + } + +} -- cgit