|
22 | 22 | import com.github.gtexpert.core.api.unification.material.GTEMaterials; |
23 | 23 | import com.github.gtexpert.core.api.util.Mods; |
24 | 24 | import com.github.gtexpert.core.common.GTEConfigHolder; |
25 | | -import com.github.gtexpert.core.integration.ae.AEConfigHolder; |
26 | 25 |
|
27 | 26 | import it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap; |
28 | 27 |
|
@@ -90,96 +89,6 @@ public static void init() { |
90 | 89 | " ", "I", |
91 | 90 | 'I', Mods.AppliedEnergistics2.getItem("fluid_interface")); |
92 | 91 |
|
93 | | - if (AEConfigHolder.enableAE2UELExtended) { |
94 | | - // ME Delivery Interface |
95 | | - ModHandler.removeRecipeByName( |
96 | | - Mods.AppliedEnergistics2.getResource("network/blocks/interfaces_interfaceimp_alt")); |
97 | | - ModHandler.removeRecipeByName( |
98 | | - Mods.AppliedEnergistics2.getResource("network/blocks/interfaces_interfaceimp_part")); |
99 | | - ModHandler.addShapedNBTClearingRecipe("interfaceimp_to_interfaceimp", |
100 | | - Mods.AppliedEnergistics2.getItem("interfaceimp"), |
101 | | - "I", " ", |
102 | | - 'I', Mods.AppliedEnergistics2.getItem("interfaceimp")); |
103 | | - ModHandler.addShapedNBTClearingRecipe("interfaceimp_to_part_interfaceimp", |
104 | | - Mods.AppliedEnergistics2.getItem("interfaceimp"), |
105 | | - " ", "I", |
106 | | - 'I', Mods.AppliedEnergistics2.getItem("part", 1, 620)); |
107 | | - ModHandler.addShapedNBTClearingRecipe("part_interfaceimp_to_part_interfaceimp", |
108 | | - Mods.AppliedEnergistics2.getItem("part", 1, 620), |
109 | | - "I", " ", |
110 | | - 'I', Mods.AppliedEnergistics2.getItem("part", 1, 620)); |
111 | | - ModHandler.addShapedNBTClearingRecipe("part_interfaceimp_to_interfaceimp", |
112 | | - Mods.AppliedEnergistics2.getItem("part", 1, 620), |
113 | | - " ", "I", |
114 | | - 'I', Mods.AppliedEnergistics2.getItem("interfaceimp")); |
115 | | - |
116 | | - // Advanced ME Delivery Interface |
117 | | - ModHandler.removeRecipeByName( |
118 | | - Mods.AppliedEnergistics2.getResource("network/blocks/interfaces_interfaceadv_alt")); |
119 | | - ModHandler.removeRecipeByName( |
120 | | - Mods.AppliedEnergistics2.getResource("network/blocks/interfaces_interfaceadv_part")); |
121 | | - ModHandler.addShapedNBTClearingRecipe("interfaceadv_to_interfaceadv", |
122 | | - Mods.AppliedEnergistics2.getItem("interfaceadv"), |
123 | | - "I", " ", |
124 | | - 'I', Mods.AppliedEnergistics2.getItem("interfaceadv")); |
125 | | - ModHandler.addShapedNBTClearingRecipe("interfaceadv_to_part_interfaceadv", |
126 | | - Mods.AppliedEnergistics2.getItem("interfaceadv"), |
127 | | - " ", "I", |
128 | | - 'I', Mods.AppliedEnergistics2.getItem("part", 1, 621)); |
129 | | - ModHandler.addShapedNBTClearingRecipe("part_interfaceadv_to_part_interfaceadv", |
130 | | - Mods.AppliedEnergistics2.getItem("part", 1, 621), |
131 | | - "I", " ", |
132 | | - 'I', Mods.AppliedEnergistics2.getItem("part", 1, 621)); |
133 | | - ModHandler.addShapedNBTClearingRecipe("part_interfaceadv_to_interfaceadv", |
134 | | - Mods.AppliedEnergistics2.getItem("part", 1, 621), |
135 | | - " ", "I", |
136 | | - 'I', Mods.AppliedEnergistics2.getItem("interfaceadv")); |
137 | | - |
138 | | - // Perfect ME Delivery Interface |
139 | | - ModHandler.removeRecipeByName( |
140 | | - Mods.AppliedEnergistics2.getResource("network/blocks/interfaces_interfaceper_alt")); |
141 | | - ModHandler.removeRecipeByName( |
142 | | - Mods.AppliedEnergistics2.getResource("network/blocks/interfaces_interfaceper_part")); |
143 | | - ModHandler.addShapedNBTClearingRecipe("interfaceper_to_interfaceper", |
144 | | - Mods.AppliedEnergistics2.getItem("interfaceper"), |
145 | | - "I", " ", |
146 | | - 'I', Mods.AppliedEnergistics2.getItem("interfaceper")); |
147 | | - ModHandler.addShapedNBTClearingRecipe("interfaceper_to_part_interfaceper", |
148 | | - Mods.AppliedEnergistics2.getItem("interfaceper"), |
149 | | - " ", "I", |
150 | | - 'I', Mods.AppliedEnergistics2.getItem("part", 1, 622)); |
151 | | - ModHandler.addShapedNBTClearingRecipe("part_interfaceper_to_part_interfaceper", |
152 | | - Mods.AppliedEnergistics2.getItem("part", 1, 622), |
153 | | - "I", " ", |
154 | | - 'I', Mods.AppliedEnergistics2.getItem("part", 1, 622)); |
155 | | - ModHandler.addShapedNBTClearingRecipe("part_interfaceper_to_interfaceper", |
156 | | - Mods.AppliedEnergistics2.getItem("part", 1, 622), |
157 | | - " ", "I", |
158 | | - 'I', Mods.AppliedEnergistics2.getItem("interfaceper")); |
159 | | - |
160 | | - // ME Patterns Interface |
161 | | - ModHandler.removeRecipeByName( |
162 | | - Mods.AppliedEnergistics2.getResource("network/blocks/interfaces_interfacepatt_alt")); |
163 | | - ModHandler.removeRecipeByName( |
164 | | - Mods.AppliedEnergistics2.getResource("network/blocks/interfaces_interfacepatt_part")); |
165 | | - ModHandler.addShapedNBTClearingRecipe("interfacepatt_to_interfacepatt", |
166 | | - Mods.AppliedEnergistics2.getItem("interface_patterns"), |
167 | | - "I", " ", |
168 | | - 'I', Mods.AppliedEnergistics2.getItem("interface_patterns")); |
169 | | - ModHandler.addShapedNBTClearingRecipe("interfacepatt_to_part_interfacepatt", |
170 | | - Mods.AppliedEnergistics2.getItem("interface_patterns"), |
171 | | - " ", "I", |
172 | | - 'I', Mods.AppliedEnergistics2.getItem("part", 1, 623)); |
173 | | - ModHandler.addShapedNBTClearingRecipe("part_interfacepatt_to_part_interfacepatt", |
174 | | - Mods.AppliedEnergistics2.getItem("part", 1, 623), |
175 | | - "I", " ", |
176 | | - 'I', Mods.AppliedEnergistics2.getItem("part", 1, 623)); |
177 | | - ModHandler.addShapedNBTClearingRecipe("part_interfacepatt_to_interfacepatt", |
178 | | - Mods.AppliedEnergistics2.getItem("part", 1, 623), |
179 | | - " ", "I", |
180 | | - 'I', Mods.AppliedEnergistics2.getItem("interface_patterns")); |
181 | | - } |
182 | | - |
183 | 92 | // ME Dual Interface |
184 | 93 | if (Mods.AE2FluidCrafting.isModLoaded()) { |
185 | 94 | ModHandler.removeRecipeByName(Mods.AE2FluidCrafting.getResource("dual_interface")); |
@@ -492,56 +401,6 @@ public static void init() { |
492 | 401 | Mods.AppliedEnergistics2.getItem("material", 1, 22), |
493 | 402 | Mods.AppliedEnergistics2.getItem("material", 1, 24)); |
494 | 403 |
|
495 | | - if (AEConfigHolder.enableAE2UELExtended) { |
496 | | - // 4x Crafting Co-Processing Unit |
497 | | - ModHandler.removeRecipeByName( |
498 | | - Mods.AppliedEnergistics2.getResource("network/crafting/cpu_crafting_accelerator_4x")); |
499 | | - RecipeMaps.PACKER_RECIPES.recipeBuilder() |
500 | | - .inputs(Mods.AppliedEnergistics2.getItem("crafting_accelerator")) |
501 | | - .inputs(Mods.AppliedEnergistics2.getItem("material", 1, 35)) |
502 | | - .outputs(Mods.AppliedEnergistics2.getItem("crafting_accelerator_4x")) |
503 | | - .duration(10).EUt(VA[ULV]) |
504 | | - .buildAndRegister(); |
505 | | - RecipeMaps.PACKER_RECIPES.recipeBuilder() |
506 | | - .inputs(Mods.AppliedEnergistics2.getItem("crafting_accelerator_4x")) |
507 | | - .outputs(Mods.AppliedEnergistics2.getItem("crafting_accelerator")) |
508 | | - .outputs(Mods.AppliedEnergistics2.getItem("material", 1, 35)) |
509 | | - .duration(10).EUt(VA[ULV]) |
510 | | - .buildAndRegister(); |
511 | | - |
512 | | - // 16x Crafting Co-Processing Unit |
513 | | - ModHandler.removeRecipeByName( |
514 | | - Mods.AppliedEnergistics2.getResource("network/crafting/cpu_crafting_accelerator_16x")); |
515 | | - RecipeMaps.PACKER_RECIPES.recipeBuilder() |
516 | | - .inputs(Mods.AppliedEnergistics2.getItem("crafting_accelerator")) |
517 | | - .inputs(Mods.AppliedEnergistics2.getItem("material", 1, 36)) |
518 | | - .outputs(Mods.AppliedEnergistics2.getItem("crafting_accelerator_16x")) |
519 | | - .duration(10).EUt(VA[ULV]) |
520 | | - .buildAndRegister(); |
521 | | - RecipeMaps.PACKER_RECIPES.recipeBuilder() |
522 | | - .inputs(Mods.AppliedEnergistics2.getItem("crafting_accelerator_16x")) |
523 | | - .outputs(Mods.AppliedEnergistics2.getItem("crafting_accelerator")) |
524 | | - .outputs(Mods.AppliedEnergistics2.getItem("material", 1, 36)) |
525 | | - .duration(10).EUt(VA[ULV]) |
526 | | - .buildAndRegister(); |
527 | | - |
528 | | - // 64x Crafting Co-Processing Unit |
529 | | - ModHandler.removeRecipeByName( |
530 | | - Mods.AppliedEnergistics2.getResource("network/crafting/cpu_crafting_accelerator_64x")); |
531 | | - RecipeMaps.PACKER_RECIPES.recipeBuilder() |
532 | | - .inputs(Mods.AppliedEnergistics2.getItem("crafting_accelerator")) |
533 | | - .inputs(Mods.AppliedEnergistics2.getItem("material", 1, 37)) |
534 | | - .outputs(Mods.AppliedEnergistics2.getItem("crafting_accelerator_64x")) |
535 | | - .duration(10).EUt(VA[ULV]) |
536 | | - .buildAndRegister(); |
537 | | - RecipeMaps.PACKER_RECIPES.recipeBuilder() |
538 | | - .inputs(Mods.AppliedEnergistics2.getItem("crafting_accelerator_64x")) |
539 | | - .outputs(Mods.AppliedEnergistics2.getItem("crafting_accelerator")) |
540 | | - .outputs(Mods.AppliedEnergistics2.getItem("material", 1, 37)) |
541 | | - .duration(10).EUt(VA[ULV]) |
542 | | - .buildAndRegister(); |
543 | | - } |
544 | | - |
545 | 404 | // 1k Crafting Storage |
546 | 405 | ModHandler.removeRecipeByName( |
547 | 406 | Mods.AppliedEnergistics2.getResource("network/crafting/cpu_crafting_storage_1k")); |
@@ -605,119 +464,5 @@ public static void init() { |
605 | 464 | .outputs(Mods.AppliedEnergistics2.getItem("material", 1, 38)) |
606 | 465 | .duration(10).EUt(VA[ULV]) |
607 | 466 | .buildAndRegister(); |
608 | | - |
609 | | - if (AEConfigHolder.enableAE2UELExtended) { |
610 | | - // 1mb Crafting Storage |
611 | | - ModHandler.removeRecipeByName( |
612 | | - Mods.AppliedEnergistics2.getResource("network/crafting/cpu_crafting_storage_1mb")); |
613 | | - RecipeMaps.PACKER_RECIPES.recipeBuilder() |
614 | | - .inputs(Mods.AppliedEnergistics2.getItem("crafting_unit")) |
615 | | - .inputs(Mods.AppliedEnergistics2.getItem("material", 1, 61)) |
616 | | - .outputs(Mods.AppliedEnergistics2.getItem("crafting_storage_1mb")) |
617 | | - .duration(10).EUt(VA[ULV]) |
618 | | - .buildAndRegister(); |
619 | | - RecipeMaps.PACKER_RECIPES.recipeBuilder() |
620 | | - .inputs(Mods.AppliedEnergistics2.getItem("crafting_storage_1mb")) |
621 | | - .outputs(Mods.AppliedEnergistics2.getItem("crafting_unit")) |
622 | | - .outputs(Mods.AppliedEnergistics2.getItem("material", 1, 61)) |
623 | | - .duration(10).EUt(VA[ULV]) |
624 | | - .buildAndRegister(); |
625 | | - |
626 | | - // 4mb Crafting Storage |
627 | | - ModHandler.removeRecipeByName( |
628 | | - Mods.AppliedEnergistics2.getResource("network/crafting/cpu_crafting_storage_4mb")); |
629 | | - RecipeMaps.PACKER_RECIPES.recipeBuilder() |
630 | | - .inputs(Mods.AppliedEnergistics2.getItem("crafting_unit")) |
631 | | - .inputs(Mods.AppliedEnergistics2.getItem("material", 1, 62)) |
632 | | - .outputs(Mods.AppliedEnergistics2.getItem("crafting_storage_4mb")) |
633 | | - .duration(10).EUt(VA[ULV]) |
634 | | - .buildAndRegister(); |
635 | | - RecipeMaps.PACKER_RECIPES.recipeBuilder() |
636 | | - .inputs(Mods.AppliedEnergistics2.getItem("crafting_storage_4mb")) |
637 | | - .outputs(Mods.AppliedEnergistics2.getItem("crafting_unit")) |
638 | | - .outputs(Mods.AppliedEnergistics2.getItem("material", 1, 62)) |
639 | | - .duration(10).EUt(VA[ULV]) |
640 | | - .buildAndRegister(); |
641 | | - |
642 | | - // 16mb Crafting Storage |
643 | | - ModHandler.removeRecipeByName( |
644 | | - Mods.AppliedEnergistics2.getResource("network/crafting/cpu_crafting_storage_16mb")); |
645 | | - RecipeMaps.PACKER_RECIPES.recipeBuilder() |
646 | | - .inputs(Mods.AppliedEnergistics2.getItem("crafting_unit")) |
647 | | - .inputs(Mods.AppliedEnergistics2.getItem("material", 1, 63)) |
648 | | - .outputs(Mods.AppliedEnergistics2.getItem("crafting_storage_16mb")) |
649 | | - .duration(10).EUt(VA[ULV]) |
650 | | - .buildAndRegister(); |
651 | | - RecipeMaps.PACKER_RECIPES.recipeBuilder() |
652 | | - .inputs(Mods.AppliedEnergistics2.getItem("crafting_storage_16mb")) |
653 | | - .outputs(Mods.AppliedEnergistics2.getItem("crafting_unit")) |
654 | | - .outputs(Mods.AppliedEnergistics2.getItem("material", 1, 63)) |
655 | | - .duration(10).EUt(VA[ULV]) |
656 | | - .buildAndRegister(); |
657 | | - |
658 | | - // 64mb Crafting Storage |
659 | | - ModHandler.removeRecipeByName( |
660 | | - Mods.AppliedEnergistics2.getResource("network/crafting/cpu_crafting_storage_64mb")); |
661 | | - RecipeMaps.PACKER_RECIPES.recipeBuilder() |
662 | | - .inputs(Mods.AppliedEnergistics2.getItem("crafting_unit")) |
663 | | - .inputs(Mods.AppliedEnergistics2.getItem("material", 1, 64)) |
664 | | - .outputs(Mods.AppliedEnergistics2.getItem("crafting_storage_64mb")) |
665 | | - .duration(10).EUt(VA[ULV]) |
666 | | - .buildAndRegister(); |
667 | | - RecipeMaps.PACKER_RECIPES.recipeBuilder() |
668 | | - .inputs(Mods.AppliedEnergistics2.getItem("crafting_storage_64mb")) |
669 | | - .outputs(Mods.AppliedEnergistics2.getItem("crafting_unit")) |
670 | | - .outputs(Mods.AppliedEnergistics2.getItem("material", 1, 64)) |
671 | | - .duration(10).EUt(VA[ULV]) |
672 | | - .buildAndRegister(); |
673 | | - |
674 | | - // 256mb Crafting Storage |
675 | | - ModHandler.removeRecipeByName( |
676 | | - Mods.AppliedEnergistics2.getResource("network/crafting/cpu_crafting_storage_256mb")); |
677 | | - RecipeMaps.PACKER_RECIPES.recipeBuilder() |
678 | | - .inputs(Mods.AppliedEnergistics2.getItem("crafting_unit")) |
679 | | - .inputs(Mods.AppliedEnergistics2.getItem("material", 1, 65)) |
680 | | - .outputs(Mods.AppliedEnergistics2.getItem("crafting_storage_256mb")) |
681 | | - .duration(10).EUt(VA[ULV]) |
682 | | - .buildAndRegister(); |
683 | | - RecipeMaps.PACKER_RECIPES.recipeBuilder() |
684 | | - .inputs(Mods.AppliedEnergistics2.getItem("crafting_storage_256mb")) |
685 | | - .outputs(Mods.AppliedEnergistics2.getItem("crafting_unit")) |
686 | | - .outputs(Mods.AppliedEnergistics2.getItem("material", 1, 65)) |
687 | | - .duration(10).EUt(VA[ULV]) |
688 | | - .buildAndRegister(); |
689 | | - |
690 | | - // 1gb Crafting Storage |
691 | | - ModHandler.removeRecipeByName( |
692 | | - Mods.AppliedEnergistics2.getResource("network/crafting/cpu_crafting_storage_1gb")); |
693 | | - RecipeMaps.PACKER_RECIPES.recipeBuilder() |
694 | | - .inputs(Mods.AppliedEnergistics2.getItem("crafting_unit")) |
695 | | - .inputs(Mods.AppliedEnergistics2.getItem("material", 1, 66)) |
696 | | - .outputs(Mods.AppliedEnergistics2.getItem("crafting_storage_1gb")) |
697 | | - .duration(10).EUt(VA[ULV]) |
698 | | - .buildAndRegister(); |
699 | | - RecipeMaps.PACKER_RECIPES.recipeBuilder() |
700 | | - .inputs(Mods.AppliedEnergistics2.getItem("crafting_storage_1gb")) |
701 | | - .outputs(Mods.AppliedEnergistics2.getItem("crafting_unit")) |
702 | | - .outputs(Mods.AppliedEnergistics2.getItem("material", 1, 66)) |
703 | | - .duration(10).EUt(VA[ULV]) |
704 | | - .buildAndRegister(); |
705 | | - |
706 | | - // 2gb Crafting Storage |
707 | | - ModHandler.removeRecipeByName( |
708 | | - Mods.AppliedEnergistics2.getResource("network/crafting/cpu_crafting_storage_15gb")); |
709 | | - RecipeMaps.PACKER_RECIPES.recipeBuilder() |
710 | | - .inputs(Mods.AppliedEnergistics2.getItem("crafting_unit")) |
711 | | - .inputs(Mods.AppliedEnergistics2.getItem("material", 1, 67)) |
712 | | - .outputs(Mods.AppliedEnergistics2.getItem("crafting_storage_15gb")) |
713 | | - .duration(10).EUt(VA[ULV]) |
714 | | - .buildAndRegister(); |
715 | | - RecipeMaps.PACKER_RECIPES.recipeBuilder() |
716 | | - .inputs(Mods.AppliedEnergistics2.getItem("crafting_storage_15gb")) |
717 | | - .outputs(Mods.AppliedEnergistics2.getItem("crafting_unit")) |
718 | | - .outputs(Mods.AppliedEnergistics2.getItem("material", 1, 67)) |
719 | | - .duration(10).EUt(VA[ULV]) |
720 | | - .buildAndRegister(); |
721 | | - } |
722 | 467 | } |
723 | 468 | } |
0 commit comments