Skip to content

Commit

Permalink
add circuit markers to CraftingComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
serenibyss committed Aug 16, 2021
1 parent 2100c86 commit 48b1284
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions src/main/java/gregtech/loaders/recipe/CraftingComponent.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ public static void initializeComponents() {
{7, new UnificationEntry(OrePrefix.circuit, Tier.Ultimate)},
{8, new UnificationEntry(OrePrefix.circuit, Tier.Superconductor)},
{9, new UnificationEntry(OrePrefix.circuit, Tier.Infinite)},
{10, new UnificationEntry(OrePrefix.circuit, Tier.Ultra)},
{11, new UnificationEntry(OrePrefix.circuit, Tier.Insane)},
{12, new UnificationEntry(OrePrefix.circuit, Tier.UMVCircuit)},
{13, new UnificationEntry(OrePrefix.circuit, Tier.UXVCircuit)},
{14, new UnificationEntry(OrePrefix.circuit, Tier.Maximum)}

}).collect(Collectors.toMap(data -> (Integer) data[0], data -> data[1])));

Expand All @@ -84,6 +89,11 @@ public static void initializeComponents() {
{6, new UnificationEntry(OrePrefix.circuit, Tier.Ultimate)},
{7, new UnificationEntry(OrePrefix.circuit, Tier.Superconductor)},
{8, new UnificationEntry(OrePrefix.circuit, Tier.Infinite)},
{9, new UnificationEntry(OrePrefix.circuit, Tier.Ultra)},
{10, new UnificationEntry(OrePrefix.circuit, Tier.Insane)},
{11, new UnificationEntry(OrePrefix.circuit, Tier.UMVCircuit)},
{12, new UnificationEntry(OrePrefix.circuit, Tier.UXVCircuit)},
{13, new UnificationEntry(OrePrefix.circuit, Tier.Maximum)}

}).collect(Collectors.toMap(data -> (Integer) data[0], data -> data[1])));

Expand Down Expand Up @@ -223,14 +233,14 @@ public static void initializeComponents() {

MOTOR = new Component(Stream.of(new Object[][]{

{1, MetaItems.ELECTRIC_MOTOR_LV.getStackForm(),},
{2, MetaItems.ELECTRIC_MOTOR_MV.getStackForm(),},
{3, MetaItems.ELECTRIC_MOTOR_HV.getStackForm(),},
{4, MetaItems.ELECTRIC_MOTOR_EV.getStackForm(),},
{5, MetaItems.ELECTRIC_MOTOR_IV.getStackForm(),},
{6, MetaItems.ELECTRIC_MOTOR_LUV.getStackForm(),},
{7, MetaItems.ELECTRIC_MOTOR_ZPM.getStackForm(),},
{8, MetaItems.ELECTRIC_MOTOR_UV.getStackForm(),},
{1, MetaItems.ELECTRIC_MOTOR_LV.getStackForm()},
{2, MetaItems.ELECTRIC_MOTOR_MV.getStackForm()},
{3, MetaItems.ELECTRIC_MOTOR_HV.getStackForm()},
{4, MetaItems.ELECTRIC_MOTOR_EV.getStackForm()},
{5, MetaItems.ELECTRIC_MOTOR_IV.getStackForm()},
{6, MetaItems.ELECTRIC_MOTOR_LUV.getStackForm()},
{7, MetaItems.ELECTRIC_MOTOR_ZPM.getStackForm()},
{8, MetaItems.ELECTRIC_MOTOR_UV.getStackForm()},

}).collect(Collectors.toMap(data -> (Integer) data[0], data -> data[1])));

Expand Down

0 comments on commit 48b1284

Please sign in to comment.