-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" }); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters