Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import crafttweaker.item.IIngredient;
- import crafttweaker.recipes.ICraftingRecipe;
- var itemCheck = <minecraft:quartz_block>;
- var cullRecipes = recipes.getRecipesFor(itemCheck);
- var recipeNumbertoCheck = 1;
- print("There are " + cullRecipes.length + " recipes for " + itemCheck.definition.owner + ":" + itemCheck.name);
- print("There are " + cullRecipes[recipeNumbertoCheck].ingredients1D.length + " items for " + cullRecipes[recipeNumbertoCheck].resourceDomain + ":" + cullRecipes[recipeNumbertoCheck].name);
- for i in 0 to cullRecipes[recipeNumbertoCheck].ingredients1D.length {
- print("in the loop");
- print(cullRecipes[recipeNumbertoCheck].ingredients1D[i].items[0].displayName);
- }
Add Comment
Please, Sign In to add comment