aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlease <4586901+Glease@users.noreply.github.com>2022-08-25 20:27:26 +0800
committerGitHub <noreply@github.com>2022-08-25 14:27:26 +0200
commit64796ccb33ca0333927e1279f21f791d92b90108 (patch)
tree15831b586ac2ad45f6f391a5d52fe1cedd4d09b0
parentf84ffa16206f45c76a2a81229390a49794e5c5b3 (diff)
downloadGT5-Unofficial-64796ccb33ca0333927e1279f21f791d92b90108.tar.gz
GT5-Unofficial-64796ccb33ca0333927e1279f21f791d92b90108.tar.bz2
GT5-Unofficial-64796ccb33ca0333927e1279f21f791d92b90108.zip
allow separately selecting coil and glass tier using channels (#190)
Former-commit-id: 1071d5a84db3514f32952a992b7339f6c37a6478
-rw-r--r--dependencies.gradle2
-rw-r--r--repositories.gradle1
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/mega/GT_TileEntity_MegaBlastFurnace.java5
3 files changed, 5 insertions, 3 deletions
diff --git a/dependencies.gradle b/dependencies.gradle
index 37468769cb..c953c09aa9 100644
--- a/dependencies.gradle
+++ b/dependencies.gradle
@@ -2,7 +2,7 @@
dependencies {
compile("com.github.GTNewHorizons:GT5-Unofficial:5.09.41.08:dev")
- compile("com.github.GTNewHorizons:StructureLib:1.1.3:dev")
+ compile("com.github.GTNewHorizons:StructureLib:1.1.6:dev")
compile("com.github.GTNewHorizons:TecTech:5.0.22:dev")
compile("com.github.GTNewHorizons:NotEnoughItems:2.2.22:dev")
compile("com.github.GTNewHorizons:TinkersConstruct:1.9.0.13-GTNH:dev")
diff --git a/repositories.gradle b/repositories.gradle
index a6fb7f9b4e..596dbd0df1 100644
--- a/repositories.gradle
+++ b/repositories.gradle
@@ -1,6 +1,7 @@
// Add any additional repositories for your dependencies here
repositories {
+ mavenLocal()
maven {
name = "GTNH Maven"
url = "http://jenkins.usrv.eu:8081/nexus/content/groups/public/"
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/mega/GT_TileEntity_MegaBlastFurnace.java b/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/mega/GT_TileEntity_MegaBlastFurnace.java
index 590223bdc4..ab03d1305c 100644
--- a/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/mega/GT_TileEntity_MegaBlastFurnace.java
+++ b/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/mega/GT_TileEntity_MegaBlastFurnace.java
@@ -61,6 +61,7 @@ import static com.github.bartimaeusnek.bartworks.util.BW_Tooltip_Reference.MULTI
import static com.github.bartimaeusnek.bartworks.util.RecipeFinderForParallel.getMultiOutput;
import static com.github.bartimaeusnek.bartworks.util.RecipeFinderForParallel.handleParallelRecipe;
import static com.gtnewhorizon.structurelib.structure.StructureUtility.transpose;
+import static com.gtnewhorizon.structurelib.structure.StructureUtility.withChannel;
import static gregtech.api.enums.GT_HatchElement.*;
import static gregtech.api.enums.GT_Values.V;
import static gregtech.api.enums.Textures.BlockIcons.*;
@@ -82,8 +83,8 @@ public class GT_TileEntity_MegaBlastFurnace extends GT_TileEntity_MegaMultiBlock
.buildAndChain(GregTech_API.sBlockCasings1, CASING_INDEX)
)
.addElement('m', Muffler.newAny(CASING_INDEX, 2))
- .addElement('C', ofCoil(GT_TileEntity_MegaBlastFurnace::setCoilLevel, GT_TileEntity_MegaBlastFurnace::getCoilLevel))
- .addElement('g', BorosilicateGlass.ofBoroGlass((byte) 0, (byte) 1, Byte.MAX_VALUE, (te, t) -> te.glasTier = t, te -> te.glasTier))
+ .addElement('C', withChannel("coil", ofCoil(GT_TileEntity_MegaBlastFurnace::setCoilLevel, GT_TileEntity_MegaBlastFurnace::getCoilLevel)))
+ .addElement('g', withChannel("glass", BorosilicateGlass.ofBoroGlass((byte) 0, (byte) 1, Byte.MAX_VALUE, (te, t) -> te.glasTier = t, te -> te.glasTier)))
.addElement('b', buildHatchAdder(GT_TileEntity_MegaBlastFurnace.class)
.atLeast(InputHatch, OutputHatch, InputBus, OutputBus, Maintenance, TTEnabledEnergyHatchElement.INSTANCE)
.casingIndex(CASING_INDEX)