Skip to content

Commit

Permalink
Nerf glass loop (#1113)
Browse files Browse the repository at this point in the history
  • Loading branch information
GDCloudstrike authored Dec 22, 2024
1 parent a304943 commit e8d9aac
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import gregtech.api.enums.ItemList;
import gregtech.api.enums.Materials;
import gregtech.api.enums.TierEU;
import gregtech.api.recipe.RecipeCategories;
import gregtech.api.util.GTModHandler;

public class FluidExtractorRecipes implements Runnable {
Expand Down Expand Up @@ -68,6 +69,14 @@ public void run() {
.fluidOutputs(new FluidStack(FluidRegistry.getFluid("glue"), 144)).duration(5 * SECONDS).eut(16)
.addTo(fluidExtractionRecipes);

GTValues.RA.stdBuilder().itemInputs(GTModHandler.getModItem(TinkerConstruct.ID, "GlassBlock", 1L, 0))
.fluidOutputs(Materials.Glass.getMolten(144L)).duration(24 * TICKS).eut(54)
.recipeCategory(RecipeCategories.fluidExtractorRecycling).addTo(fluidExtractionRecipes);

GTValues.RA.stdBuilder().itemInputs(GTModHandler.getModItem(TinkerConstruct.ID, "GlassPane", 1L, 0))
.fluidOutputs(Materials.Glass.getMolten(54L)).duration(9 * TICKS).eut(54)
.recipeCategory(RecipeCategories.fluidExtractorRecycling).addTo(fluidExtractionRecipes);

}
}
}
13 changes: 0 additions & 13 deletions src/main/java/com/dreammaster/scripts/ScriptMinecraft.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import static gregtech.api.enums.Mods.Witchery;
import static gregtech.api.recipe.RecipeMaps.alloySmelterRecipes;
import static gregtech.api.recipe.RecipeMaps.assemblerRecipes;
import static gregtech.api.recipe.RecipeMaps.blastFurnaceRecipes;
import static gregtech.api.recipe.RecipeMaps.cutterRecipes;
import static gregtech.api.recipe.RecipeMaps.extractorRecipes;
import static gregtech.api.recipe.RecipeMaps.fluidExtractionRecipes;
Expand Down Expand Up @@ -2167,18 +2166,6 @@ public void loadRecipes() {
GTUtility.getIntegratedCircuit(1))
.itemOutputs(getModItem(Minecraft.ID, "saddle", 1, 0, missing)).duration(5 * SECONDS).eut(24)
.addTo(assemblerRecipes);
GTValues.RA.stdBuilder()
.itemInputs(
getModItem(TinkerConstruct.ID, "GlassBlock", 1, 0, missing),
GTUtility.getIntegratedCircuit(1))
.itemOutputs(getModItem(Minecraft.ID, "glass", 1, 0, missing)).duration(5 * SECONDS)
.eut(TierEU.RECIPE_MV).specialValue(1000).addTo(blastFurnaceRecipes);
GTValues.RA.stdBuilder()
.itemInputs(
getModItem(TinkerConstruct.ID, "GlassPane", 1, 0, missing),
GTUtility.getIntegratedCircuit(1))
.itemOutputs(getModItem(Minecraft.ID, "glass_pane", 1, 0, missing)).duration(5 * SECONDS)
.eut(TierEU.RECIPE_MV).specialValue(1000).addTo(blastFurnaceRecipes);
GTValues.RA.stdBuilder().itemInputs(getModItem(Minecraft.ID, "wooden_pressure_plate", 1, 0, missing))
.itemOutputs(getModItem(Minecraft.ID, "wooden_button", 2, 0, missing))
.fluidInputs(Materials.Water.getFluid(4)).duration(2 * SECONDS + 10 * TICKS).eut(4)
Expand Down

0 comments on commit e8d9aac

Please sign in to comment.