Skip to content

Commit

Permalink
recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
serenibyss committed Jan 31, 2024
1 parent 336a7d0 commit 93f3a39
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@ public static void init() {
// IDs 1730-1744 are taken by 4A <-> 16A Transformers. They are grouped with other transformers for
// organization.

// ME Hatches, IDs 1745-1748
// ME Hatches, IDs 1745-1748, 1752-1756
if (Mods.AppliedEnergistics2.isModLoaded()) {
FLUID_EXPORT_HATCH_ME = registerMetaTileEntity(1745,
new MetaTileEntityMEOutputHatch(gregtechId("me_export_fluid_hatch")));
Expand All @@ -1186,6 +1186,9 @@ public static void init() {
new MetaTileEntityMEStockingBus(gregtechId("me_stocking_item_bus")));
STOCKING_HATCH_ME = registerMetaTileEntity(1753,
new MetaTileEntityMEStockingHatch(gregtechId("me_stocking_fluid_hatch")));
// 1754: Crafting Input Bus
// 1755: Crafting Input Buffer
// 1756: Crafting Input Slave
}

LONG_DIST_ITEM_ENDPOINT = registerMetaTileEntity(1749,
Expand All @@ -1196,6 +1199,8 @@ public static void init() {
// Alarm, ID 1751
ALARM = registerMetaTileEntity(1751, new MetaTileEntityAlarm(gregtechId("alarm")));

// IDs 1752-1756 are taken by AE2 parts

// Multi-Fluid Hatches, IDs 1190, 1191, 1205, 1206, 1780-1799
// EV hatches separate because of old names/IDs
QUADRUPLE_IMPORT_HATCH[0] = registerMetaTileEntity(1190,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import gregtech.api.metatileentity.MetaTileEntity;
import gregtech.api.recipes.ModHandler;
import gregtech.api.unification.stack.UnificationEntry;
import gregtech.api.util.GTUtility;
import gregtech.api.util.Mods;

import net.minecraft.init.Blocks;
Expand Down Expand Up @@ -1021,6 +1022,28 @@ public static void init() {
.inputs(accelerationCard.copy())
.output(ITEM_IMPORT_BUS_ME)
.duration(300).EUt(VA[HV]).buildAndRegister();

ASSEMBLY_LINE_RECIPES.recipeBuilder()
.input(ITEM_IMPORT_BUS[LuV])
.inputs(normalInterface.copy())
.input(CONVEYOR_MODULE_IV)
.inputs(GTUtility.copy(4, accelerationCard))
.fluidInputs(SolderingAlloy.getFluid(L * 2))
.fluidInputs(Lubricant.getFluid(500))
.scannerResearch(ITEM_IMPORT_BUS_ME.getStackForm())
.output(STOCKING_BUS_ME)
.duration(300).EUt(VA[LuV]).buildAndRegister();

ASSEMBLY_LINE_RECIPES.recipeBuilder()
.input(FLUID_IMPORT_HATCH[LuV])
.inputs(fluidInterface.copy())
.input(ELECTRIC_PUMP_IV)
.inputs(GTUtility.copy(4, accelerationCard))
.fluidInputs(SolderingAlloy.getFluid(L * 2))
.fluidInputs(Lubricant.getFluid(500))
.scannerResearch(FLUID_IMPORT_HATCH_ME.getStackForm())
.output(STOCKING_HATCH_ME)
.duration(300).EUt(VA[LuV]).buildAndRegister();
}
}

Expand Down

0 comments on commit 93f3a39

Please sign in to comment.