minecraft server init
This commit is contained in:
82
scripts/crafttweaker/recipes/mods/chisel.zs
Normal file
82
scripts/crafttweaker/recipes/mods/chisel.zs
Normal file
@ -0,0 +1,82 @@
|
||||
/*
|
||||
SevTech: Ages Chisel Recipe Script
|
||||
|
||||
This script handles the recipes for Chisel.
|
||||
|
||||
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;
|
||||
|
||||
import mods.zenstages.Utils;
|
||||
|
||||
import scripts.crafttweaker.stages.stageOne;
|
||||
import scripts.crafttweaker.stages.stageTwo;
|
||||
|
||||
/*
|
||||
Shaped Recipes
|
||||
*/
|
||||
static shapedRecipes as IIngredient[][][][IItemStack] = {
|
||||
<chisel:temple:0> * 8: [
|
||||
[
|
||||
[<minecraft:stone:0>, <minecraft:stone:0>, <minecraft:stone:0>],
|
||||
[<minecraft:stone:0>, <ore:dyeCyan>, <minecraft:stone:0>],
|
||||
[<minecraft:stone:0>, <minecraft:stone:0>, <minecraft:stone:0>]
|
||||
]
|
||||
]
|
||||
};
|
||||
|
||||
static namedShapedRecipes as IIngredient[][][][string][IItemStack] = {
|
||||
<chisel:chisel_iron:0>: {
|
||||
Utils.genRecipeName(stageOne, <chisel:chisel_iron:0>): [
|
||||
[
|
||||
[null, metals.tin.plate],
|
||||
[<ore:stickWood>, null]
|
||||
]
|
||||
],
|
||||
Utils.genRecipeName(stageTwo, <chisel:chisel_iron:0>): [
|
||||
[
|
||||
[null, metals.iron.plate],
|
||||
[<ore:stickWood>, null]
|
||||
]
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
/*
|
||||
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] = {};
|
||||
|
||||
/*
|
||||
Recipe Removals
|
||||
*/
|
||||
static removeRecipes as IItemStack[] = [
|
||||
<chisel:chisel_iron:0>,
|
||||
<chisel:temple:0>
|
||||
];
|
||||
|
||||
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);
|
||||
|
||||
recipeUtil.removeRecipes(removeRecipes);
|
||||
}
|
Reference in New Issue
Block a user