aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt <mtthw8198@gmail.com>2021-10-31 21:11:49 -0700
committerMatt <mtthw8198@gmail.com>2021-10-31 21:11:49 -0700
commitb0cbcc5d488589cead315729b13a6385418c5e8e (patch)
treea2348ea7586888c978fc013308c00cd9c07829de /src
parentec4c31321ebb35b6f919fdc4ae1090a8ecbb1c06 (diff)
downloadGT5-Unofficial-b0cbcc5d488589cead315729b13a6385418c5e8e.tar.gz
GT5-Unofficial-b0cbcc5d488589cead315729b13a6385418c5e8e.tar.bz2
GT5-Unofficial-b0cbcc5d488589cead315729b13a6385418c5e8e.zip
BW EV+ glasses can be part of the structure
Former-commit-id: 246a550228602d296e52599110ef80f66ff6142b
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/GT_TileEntity_CircuitAssemblyLine.java13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/GT_TileEntity_CircuitAssemblyLine.java b/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/GT_TileEntity_CircuitAssemblyLine.java
index d891a12529..4f0c6bae2c 100644
--- a/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/GT_TileEntity_CircuitAssemblyLine.java
+++ b/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/GT_TileEntity_CircuitAssemblyLine.java
@@ -22,6 +22,7 @@
package com.github.bartimaeusnek.bartworks.common.tileentities.multis;
+import com.github.bartimaeusnek.bartworks.common.loaders.ItemRegistry;
import com.github.bartimaeusnek.bartworks.system.material.CircuitGeneration.BW_Meta_Items;
import com.github.bartimaeusnek.bartworks.system.material.CircuitGeneration.CircuitImprintLoader;
import com.github.bartimaeusnek.bartworks.util.BWRecipes;
@@ -40,6 +41,7 @@ import gregtech.api.util.GT_LanguageManager;
import gregtech.api.util.GT_Multiblock_Tooltip_Builder;
import gregtech.api.util.GT_Recipe;
import gregtech.api.util.GT_Utility;
+import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
@@ -68,7 +70,16 @@ public class GT_TileEntity_CircuitAssemblyLine extends GT_MetaTileEntity_Enhance
.addElement('G', ofChain(
ofHatchAdder(GT_TileEntity_CircuitAssemblyLine::addEnergyInputToMachineList, 16, 1), //grate machine casings
ofBlock(GregTech_API.sBlockCasings3, 10)))
- .addElement('g', ofBlockAnyMeta(GameRegistry.findBlock("IC2", "blockAlloyGlass")))
+ .addElement('g', ofChain(
+ ofBlockAnyMeta(GameRegistry.findBlock("IC2", "blockAlloyGlass")),
+ //Forgive me for I have sinned. But it works...
+ ofBlock(ItemRegistry.bw_realglas, 1),
+ ofBlock(ItemRegistry.bw_realglas, 2),
+ ofBlock(ItemRegistry.bw_realglas, 3),
+ ofBlock(ItemRegistry.bw_realglas, 4),
+ ofBlock(ItemRegistry.bw_realglas, 5),
+ ofBlock(ItemRegistry.bw_realglas, 12)
+ ))
.addElement('l', ofBlock(GregTech_API.sBlockCasings2, 5)) //assembling line casings
.addElement('b', ofChain(
ofHatchAdder(GT_TileEntity_CircuitAssemblyLine::addMaintenanceToMachineList, 16, 2),