Untitled

mail@pastecode.io avatar
unknown
plain_text
4 years ago
1.2 kB
2
Indexable
Never
import crafttweaker.item.IItemStack;
import crafttweaker.item.IIngredient;
function blockRecipe(name as string, input as IIngredient, output as IItemStack) {
    recipes.addShaped(name, output,[[input, input, input], [input, input, input], [input, input, input]]);
}
blockRecipe("oak_log_to_oak_planks", <minecraft:log:0>, <minecraft:planks:0>);
function blockRecipe(name as string, input as IIngredient, output as IItemStack) {
    recipes.addShaped(name, output,[[input, input, input], [input, input, input], [input, input, input]]);
}
blockRecipe("oak_planks_to_cobblestone", <minecraft:planks:0>, <minecraft:cobblestone>);
function blockRecipe(name as string, input as IIngredient, output as IItemStack) {
    recipes.addShaped(name, output,[[input, input, input], [input, input, input], [input, input, input]]);
}
blockRecipe("oak_log_to_oak_planks", <minecraft:log:0>, <minecraft:planks:0>);
function blockRecipe(name as string, input as IIngredient, output as IItemStack) {
    recipes.addShaped(name, output,[[input, input, input], [input, input, input], [input, input, input]]);
}
blockRecipe("cobblestone_to_stone", <minecraft:cobblestone>, <minecraft:stone>);