Skip to content

Commit

Permalink
Remove magnetos from circuit diagram (#36)
Browse files Browse the repository at this point in the history
Co-authored-by: Connor Colenso <colen@CONNORSPC>
  • Loading branch information
Connor-Colenso and Connor Colenso authored Aug 27, 2024
1 parent 0e7df55 commit c5779ff
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit c5779ff

Please sign in to comment.