Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ////Imports
- import crafttweaker.api.item.IIngredient;
- import crafttweaker.api.item.IItemStack;
- ////Woodcutter cross-compatability Recipes
- ///Define the woodcutter recipe function.
- function addWoodcutterRecipe(name as string, input as IIngredient, output as IItemStack, count as int) as void {
- <recipetype:charm:woodcutting>.addJSONRecipe(name, {
- "ingredient": input,
- "result": output.registryName,
- "count": count
- });
- }
- //Posts
- addWoodcutterRecipe("oak_post", <item:minecraft:oak_planks>, <item:quark:oak_post>, 1);
- addWoodcutterRecipe("dark_oak_post", <item:minecraft:dark_oak_planks>, <item:quark:dark_oak_post>, 1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement