Skip to content

Commit

Permalink
removed the gt++ circuits (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dream-Master authored Feb 20, 2025
1 parent c28b8ba commit 17387ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
4 changes: 2 additions & 2 deletions dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ dependencies {
compileOnly("curse.maven:cofh-lib-220333:2388748") { transitive = false }
compileOnly("com.github.GTNewHorizons:EnderIO:2.9.4:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:ForgeMultipart:1.6.2:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.51.146:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.51.148:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:Hodgepodge:2.6.26:dev") { transitive = false }
compileOnly("net.industrial-craft:industrialcraft-2:2.2.828-experimental:dev") { transitive = false }
compileOnly("curse.maven:mekanism-268560:2475797") { transitive = false }
Expand All @@ -59,7 +59,7 @@ dependencies {
compileOnly("com.github.GTNewHorizons:FloodLights:1.5.3:dev") { transitive = false }

runtimeOnlyNonPublishable("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-547-GTNH:dev")
runtimeOnlyNonPublishable("com.github.GTNewHorizons:GT5-Unofficial:5.09.51.146:dev")
runtimeOnlyNonPublishable("com.github.GTNewHorizons:GT5-Unofficial:5.09.51.148:dev")
runtimeOnlyNonPublishable("com.github.GTNewHorizons:ArchitectureCraft:1.10.2")
runtimeOnlyNonPublishable("net.industrial-craft:industrialcraft-2:2.2.828-experimental:dev")
runtimeOnlyNonPublishable("com.github.GTNewHorizons:NotEnoughItems:2.7.29-GTNH:dev")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@
import com.recursive_pineapple.matter_manipulator.common.building.BlockAnalyzer.IBlockApplyContext;
import com.recursive_pineapple.matter_manipulator.common.items.manipulator.Transform;
import com.recursive_pineapple.matter_manipulator.common.utils.MMUtils;
import com.recursive_pineapple.matter_manipulator.common.utils.Mods;

import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
import tectech.thing.metaTileEntity.hatch.MTEHatchDynamoTunnel;
import tectech.thing.metaTileEntity.hatch.MTEHatchEnergyTunnel;
import tectech.thing.metaTileEntity.multi.base.TTMultiblockBase;
Expand Down Expand Up @@ -176,12 +174,7 @@ public GTAnalysisResult(IGregTechTileEntity igte) {
mGTGhostCircuit = 0;
} else if (circuit.getItem() == ItemList.Circuit_Integrated.getItem()) {
mGTGhostCircuit = (byte) Items.feather.getDamage(circuit);
} else if (Mods.GTPlusPlus.isModLoaded()) {
if (circuit.getItem() == GregtechItemList.Circuit_BioRecipeSelector.getItem()) {
mGTGhostCircuit = (byte) (Items.feather.getDamage(circuit) + 24);
} else if (circuit.getItem() == GregtechItemList.Circuit_T3RecipeSelector.getItem()) {
mGTGhostCircuit = (byte) (Items.feather.getDamage(circuit) + 48);
}

}
}

Expand Down Expand Up @@ -360,11 +353,7 @@ public boolean apply(IBlockApplyContext ctx) {
if (mte instanceof IConfigurationCircuitSupport ghostCircuit && ghostCircuit.allowSelectCircuit()) {
ItemStack circuit = null;

if (mGTGhostCircuit > 48) {
circuit = GregtechItemList.Circuit_T3RecipeSelector.getWithDamage(0, mGTGhostCircuit - 48);
} else if (mGTGhostCircuit > 24) {
circuit = GregtechItemList.Circuit_BioRecipeSelector.getWithDamage(0, mGTGhostCircuit - 24);
} else if (mGTGhostCircuit > 0) {
if (mGTGhostCircuit > 0) {
circuit = ItemList.Circuit_Integrated.getWithDamage(0, mGTGhostCircuit);
}

Expand Down

0 comments on commit 17387ae

Please sign in to comment.