Skip to content

Commit

Permalink
add some recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
chochem committed Dec 24, 2024
1 parent 1cce5fc commit c63ed80
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
57 changes: 57 additions & 0 deletions src/main/java/com/dreammaster/scripts/ScriptEFR.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
package com.dreammaster.scripts;

import static gregtech.api.enums.Mods.EtFuturumRequiem;
import static gregtech.api.enums.Mods.IndustrialCraft2;
import static gregtech.api.enums.Mods.Minecraft;

import java.util.Arrays;
import java.util.List;

import gregtech.api.enums.ItemList;
import gregtech.api.util.GTModHandler;

public class ScriptEFR implements IScriptLoader {

@Override
public String getScriptName() {
return "Et Futurum Requiem";
}

@Override
public List<String> getDependencies() {
return Arrays.asList(EtFuturumRequiem.ID, IndustrialCraft2.ID);
}

@Override
public void loadRecipes() {
long bits = GTModHandler.RecipeBits.NOT_REMOVABLE | GTModHandler.RecipeBits.REVERSIBLE
| GTModHandler.RecipeBits.BUFFERED;
GTModHandler.addCraftingRecipe(
GTModHandler.getModItem(EtFuturumRequiem.ID, "observer", 1L),
bits,
new Object[] { "AEA", "BCD", "AAA", 'A', "cobblestone", 'B',
GTModHandler.getModItem(Minecraft.ID, "comparator", 1, 0), 'C', ItemList.Sensor_LV, 'D',
ItemList.Emitter_LV, 'E', "gearGtSmallAnyIron" });

GTModHandler.addCraftingRecipe(
GTModHandler.getModItem(EtFuturumRequiem.ID, "cherry_trapdoor", 1L),
bits,
new Object[] { "ABA", "BCB", "ABA", 'A',
GTModHandler.getModItem(EtFuturumRequiem.ID, "wood_slab", 1L, 3), 'B', "stickWood", 'C',
"itemFlint" });

GTModHandler.addCraftingRecipe(
GTModHandler.getModItem(EtFuturumRequiem.ID, "cherry_trapdoor", 2L),
bits,
new Object[] { "ABA", "BCB", "ABA", 'A',
GTModHandler.getModItem(EtFuturumRequiem.ID, "wood_slab", 1L, 3), 'B', "stickWood", 'C',
"screwIron" });

GTModHandler.addCraftingRecipe(
GTModHandler.getModItem(EtFuturumRequiem.ID, "cherry_trapdoor", 3L),
bits,
new Object[] { "ABA", "BCB", "ABA", 'A',
GTModHandler.getModItem(EtFuturumRequiem.ID, "wood_slab", 1L, 3), 'B', "stickWood", 'C',
"screwSteel" });
}
}
1 change: 1 addition & 0 deletions src/main/java/com/dreammaster/scripts/ScriptLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public static void run() {
new ScriptComputronics(),
new ScriptCoreMod(),
new ScriptDraconicEvolution(),
new ScriptEFR(),
new ScriptEMT(),
new ScriptEnderIO(),
new ScriptEnderZoo(),
Expand Down

0 comments on commit c63ed80

Please sign in to comment.