From c5779ffae76bd8518f43802f24d6528d106e6053 Mon Sep 17 00:00:00 2001 From: Connor-Colenso <52056774+Connor-Colenso@users.noreply.github.com> Date: Tue, 27 Aug 2024 22:34:37 +0100 Subject: [PATCH] Remove magnetos from circuit diagram (#36) Co-authored-by: Connor Colenso --- .../gregtech5/circuits/CircuitLineHandler.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/main/java/com/github/dcysteine/neicustomdiagram/generators/gregtech5/circuits/CircuitLineHandler.java b/src/main/java/com/github/dcysteine/neicustomdiagram/generators/gregtech5/circuits/CircuitLineHandler.java index 36ec877..780a4fe 100644 --- a/src/main/java/com/github/dcysteine/neicustomdiagram/generators/gregtech5/circuits/CircuitLineHandler.java +++ b/src/main/java/com/github/dcysteine/neicustomdiagram/generators/gregtech5/circuits/CircuitLineHandler.java @@ -6,12 +6,10 @@ import java.util.Optional; import java.util.Set; import java.util.stream.Collectors; -import java.util.stream.IntStream; import javax.annotation.Nullable; import com.dreammaster.gthandler.CustomItemList; -import com.github.bartimaeusnek.bartworks.system.material.CircuitGeneration.BW_Meta_Items; import com.github.dcysteine.neicustomdiagram.api.diagram.component.DisplayComponent; import com.github.dcysteine.neicustomdiagram.api.diagram.component.ItemComponent; import com.github.dcysteine.neicustomdiagram.main.Registry; @@ -272,15 +270,7 @@ void initialize() { GregTechOreDictUtil.getComponent(ItemList.Circuit_TranscendentComputer), GregTechOreDictUtil.getComponent(ItemList.Circuit_TranscendentMainframe)) .build()); - if (Registry.ModDependency.BARTWORKS.isLoaded()) { - CircuitLine.Builder circuitLineBuilder = CircuitLine.builder() - .addBoard(ItemComponent.create(BW_Meta_Items.getNEWCIRCUITS().getStack(3))).setStartTier(0); - IntStream.rangeClosed(4, 14).mapToObj(i -> ItemComponent.create(BW_Meta_Items.getNEWCIRCUITS().getStack(i))) - .forEach(circuitLineBuilder::addCircuit); - - circuitLinesBuilder.add(circuitLineBuilder.build()); - } // If we need to add any more circuit lines, we'll probably just want to add an entire // second page of circuit lines. circuitLines = circuitLinesBuilder.build();