Files
2025-07-23 08:37:00 +03:00

77 lines
1.8 KiB
Plaintext

/*
SevTech: Ages Quark Recipe Script
This script handles the recipes for Quark.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.item.IItemStack;
import crafttweaker.item.IIngredient;
/*
Shaped Recipes
*/
static shapedRecipes as IIngredient[][][][IItemStack] = {
<quark:trowel:0> : [
[
[<ore:stickWood>, null, null],
[null, metals.copper.ingot, metals.copper.ingot]
]
]
};
static namedShapedRecipes as IIngredient[][][][string][IItemStack] = {};
/*
Mirrored Recipes
*/
static mirroredRecipes as IIngredient[][][][IItemStack] = {};
static namedMirroredRecipes as IIngredient[][][][string][IItemStack] = {};
/*
Shapeless Recipes
*/
static shapelessRecipes as IIngredient[][][IItemStack] = {};
static namedShapelessRecipes as IIngredient[][][string][IItemStack] = {};
/*
Furnace Recipes
*/
static furnaceRecipes as IIngredient[][IItemStack] = {
<quark:glass_shards:0>: [<betterwithmods:red_sand_pile:0>],
<quark:glass_shards:0>: [<betterwithmods:sand_pile:0>]
};
/*
Recipe Removals
*/
static removeRecipes as IItemStack[] = [
<quark:trowel:0>
];
static removeRegex as string[] = [
"quark:elytra_dying"
];
function init() {
// Un-named recipes
recipeUtil.process(shapedRecipes, false);
recipeUtil.process(mirroredRecipes, true);
recipeUtil.process(shapelessRecipes);
// Named recipes
recipeUtil.processNamed(namedShapedRecipes, false);
recipeUtil.processNamed(namedMirroredRecipes, true);
recipeUtil.processNamed(namedShapelessRecipes);
// Furnace recipes
recipeUtil.processFurnace(furnaceRecipes);
recipeUtil.removeRecipes(removeRegex);
recipeUtil.removeRecipes(removeRecipes);
}