mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-11-20 20:22:22 +00:00
Recipe and recipe integration with GTNH
This commit is contained in:
1 parent
bc5a87caf8
commit
119e8eff03
2 files changed
+15
No files matched your search
@@ -398,6 +398,10 @@ public class ModRecipes {
|
||||
GameRegistry.addShapelessRecipe(new ItemStack(ModItems.personalKey), ModItems.upgradeLock, Items.name_tag);
|
||||
}
|
||||
|
||||
if (config.cache.enableQuantifyUpgrades) {
|
||||
GameRegistry.addShapelessRecipe(new ItemStack(ModItems.quantifyKey), ModItems.upgradeLock, Items.writable_book);
|
||||
}
|
||||
|
||||
if (config.cache.enableTape) {
|
||||
GameRegistry.addRecipe(
|
||||
new ShapedOreRecipe(
|
||||
|
||||
@@ -200,6 +200,7 @@ public class ModRecipes {
|
||||
lockUpgradeRecipes(); // Drawer key
|
||||
shroudKeyUpgradeRecipes(); // Concealment Key
|
||||
personalKeyUpgradeRecipes(); // Personal Key
|
||||
quantifyKeyUpgradeRecipes(); // Quantify Key
|
||||
|
||||
// Packing Tape
|
||||
packingTapeRecipes(); // Packing Tape
|
||||
@@ -472,6 +473,7 @@ public class ModRecipes {
|
||||
|| config.cache.enablePersonalUpgrades
|
||||
|| config.cache.enableRedstoneUpgrades
|
||||
|| config.cache.enableShroudUpgrades
|
||||
|| config.cache.enableQuantifyUpgrades
|
||||
|| config.cache.enableSortingUpgrades
|
||||
|| config.cache.enableStorageUpgrades
|
||||
|| config.cache.enableVoidUpgrades))
|
||||
@@ -757,6 +759,15 @@ public class ModRecipes {
|
||||
.addTo(assemblerRecipes);
|
||||
}
|
||||
|
||||
private static void quantifyKeyUpgradeRecipes() {
|
||||
if (!config.cache.enableQuantifyUpgrades) return;
|
||||
|
||||
// Quantify Key
|
||||
GTValues.RA.stdBuilder().itemInputs(upgradeLock, new ItemStack(Items.writable_book))
|
||||
.itemOutputs(new ItemStack(ModItems.quantifyKey)).duration(5 * SECONDS).eut(TierEU.RECIPE_LV)
|
||||
.addTo(assemblerRecipes);
|
||||
}
|
||||
|
||||
private static void packingTapeRecipes() {
|
||||
if (!config.cache.enableTape) return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user