aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/github/technus/tectech/recipe/TecTechRecipeMaps.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/github/technus/tectech/recipe/TecTechRecipeMaps.java')
-rw-r--r--src/main/java/com/github/technus/tectech/recipe/TecTechRecipeMaps.java77
1 files changed, 77 insertions, 0 deletions
diff --git a/src/main/java/com/github/technus/tectech/recipe/TecTechRecipeMaps.java b/src/main/java/com/github/technus/tectech/recipe/TecTechRecipeMaps.java
new file mode 100644
index 0000000000..1626ac3252
--- /dev/null
+++ b/src/main/java/com/github/technus/tectech/recipe/TecTechRecipeMaps.java
@@ -0,0 +1,77 @@
+package com.github.technus.tectech.recipe;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import com.github.technus.tectech.thing.CustomItemList;
+import com.github.technus.tectech.thing.gui.TecTechUITextures;
+import com.gtnewhorizons.modularui.common.widget.ProgressBar;
+
+import gregtech.api.gui.modularui.GT_UITextures;
+import gregtech.api.recipe.RecipeMap;
+import gregtech.api.recipe.RecipeMapBackend;
+import gregtech.api.recipe.RecipeMapBuilder;
+import gregtech.api.util.GT_Recipe;
+
+public class TecTechRecipeMaps {
+
+ public static void init() {}
+
+ public static final List<GT_Recipe.GT_Recipe_AssemblyLine> researchableALRecipeList = new ArrayList<>();
+
+ public static final RecipeMap<RecipeMapBackend> eyeOfHarmonyRecipes = RecipeMapBuilder.of("gt.recipe.eyeofharmony")
+ .maxIO(
+ EyeOfHarmonyFrontend.maxItemInputs,
+ EyeOfHarmonyFrontend.maxItemOutputs,
+ EyeOfHarmonyFrontend.maxFluidInputs,
+ EyeOfHarmonyFrontend.maxFluidOutputs)
+ .minInputs(1, 0)
+ .progressBar(GT_UITextures.PROGRESSBAR_HAMMER, ProgressBar.Direction.DOWN)
+ .progressBarPos(78, 24 + 2)
+ .logoPos(10, 10)
+ .neiHandlerInfo(
+ builder -> builder.setDisplayStack(CustomItemList.Machine_Multi_EyeOfHarmony.get(1))
+ .setMaxRecipesPerPage(1))
+ .frontend(EyeOfHarmonyFrontend::new)
+ .build();
+ public static final RecipeMap<RecipeMapBackend> researchStationFakeRecipes = RecipeMapBuilder
+ .of("gt.recipe.researchStation")
+ .maxIO(1, 1, 0, 0)
+ .useSpecialSlot()
+ .slotOverlays((index, isFluid, isOutput, isSpecial) -> {
+ if (isSpecial) {
+ return GT_UITextures.OVERLAY_SLOT_DATA_ORB;
+ }
+ if (isOutput) {
+ return TecTechUITextures.OVERLAY_SLOT_MESH;
+ }
+ return GT_UITextures.OVERLAY_SLOT_MICROSCOPE;
+ })
+ .addSpecialTexture(19, 12, 84, 60, TecTechUITextures.PICTURE_HEAT_SINK)
+ .addSpecialTexture(41, 22, 40, 40, TecTechUITextures.PICTURE_RACK_LARGE)
+ .logo(TecTechUITextures.PICTURE_TECTECH_LOGO)
+ .logoSize(18, 18)
+ .logoPos(151, 63)
+ .neiTransferRect(81, 33, 25, 18)
+ .neiTransferRect(124, 33, 18, 29)
+ .frontend(ResearchStationFrontend::new)
+ .neiHandlerInfo(builder -> builder.setDisplayStack(CustomItemList.Machine_Multi_Research.get(1)))
+ .build();
+
+ public static final RecipeMap<RecipeMapBackend> godforgePlasmaRecipes = RecipeMapBuilder.of("gt.recipe.fog_plasma")
+ .maxIO(1, 1, 1, 1)
+ .progressBar(TecTechUITextures.PROGRESSBAR_GODFORGE_PLASMA, ProgressBar.Direction.RIGHT)
+ .progressBarPos(78, 33)
+ .neiTransferRect(78, 33, 20, 20)
+ .frontend(GodforgePlasmaFrontend::new)
+ .build();
+ public static final RecipeMap<RecipeMapBackend> godforgeExoticMatterRecipes = RecipeMapBuilder
+ .of("gt.recipe.fog_exotic")
+ .maxIO(1, 1, 2, 1)
+ .progressBar(TecTechUITextures.PROGRESSBAR_GODFORGE_PLASMA, ProgressBar.Direction.RIGHT)
+ .progressBarPos(78, 33)
+ .neiTransferRect(78, 33, 20, 20)
+ .frontend(GodforgeExoticFrontend::new)
+ .build();
+
+}