From 99cf4aec0191e67baec34f7ef005684952126839 Mon Sep 17 00:00:00 2001 From: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com> Date: Fri, 27 Jan 2023 22:25:32 +0000 Subject: atLeast --- .../multi/GT_MetaTileEntity_EM_EyeOfHarmony.java | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'src/main/java') diff --git a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_EyeOfHarmony.java b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_EyeOfHarmony.java index fdf8a172bd..a196c666bc 100644 --- a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_EyeOfHarmony.java +++ b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_EyeOfHarmony.java @@ -1,13 +1,13 @@ package com.github.technus.tectech.thing.metaTileEntity.multi; import static com.github.technus.tectech.TecTech.eyeOfHarmonyRecipeStorage; -import static com.github.technus.tectech.thing.casing.GT_Block_CasingsTT.textureOffset; import static com.github.technus.tectech.thing.casing.GT_Block_CasingsTT.texturePage; import static com.github.technus.tectech.thing.casing.TT_Container_Casings.eyeOfHarmonyRenderBlock; import static com.github.technus.tectech.thing.casing.TT_Container_Casings.sBlockCasingsBA0; import static com.gtnewhorizon.structurelib.structure.StructureUtility.*; +import static gregtech.api.enums.GT_HatchElement.*; import static gregtech.api.enums.GT_Values.AuthorColen; -import static gregtech.api.util.GT_StructureUtility.ofHatchAdderOptional; +import static gregtech.api.util.GT_StructureUtility.buildHatchAdder; import static gregtech.api.util.GT_Utility.formatNumbers; import static java.lang.Math.*; import static net.minecraft.util.EnumChatFormatting.*; @@ -1282,6 +1282,13 @@ public class GT_MetaTileEntity_EM_EyeOfHarmony extends GT_MetaTileEntity_Multibl t -> t.stabilisationFieldMetadata)) .addElement('C', ofBlock(sBlockCasingsBA0, 11)) .addElement('D', ofBlock(sBlockCasingsBA0, 10)) + .addElement( + 'H', + buildHatchAdder(GT_MetaTileEntity_EM_EyeOfHarmony.class) + .atLeast(InputHatch, OutputHatch, OutputBus, Maintenance, Energy) + .casingIndex(13) + .dot(1) + .buildAndChain(sBlockCasingsBA0, 13)) .addElement( 'E', ofBlocksTiered( @@ -1300,14 +1307,6 @@ public class GT_MetaTileEntity_EM_EyeOfHarmony extends GT_MetaTileEntity_Multibl -1, (t, meta) -> t.timeAccelerationFieldMetadata = meta, t -> t.timeAccelerationFieldMetadata)) - .addElement( - 'H', - ofHatchAdderOptional( - GT_MetaTileEntity_EM_EyeOfHarmony::addClassicToMachineList, - textureOffset, - 1, - sBlockCasingsBA0, - 12)) .build(); private double hydrogenOverflowProbabilityAdjustment; -- cgit