-
Notifications
You must be signed in to change notification settings - Fork 31
Campfire CraftTweaker Functions
thedarkcolour edited this page Mar 28, 2022
·
5 revisions
Add a recipe that can be cooked on the campfire.
// mods.futuremc.Campfire.addRecipe(IIngredient input, IItemStack output, int duration);
mods.futuremc.Campfire.addRecipe(<minecraft:cobblestone>, <minecraft:stone>, 1200); // Adds cobblestone -> stone recipe that takes 60 seconds to complete.
Removes a recipe for the given input.
// mods.futuremc.Campfire.removeRecipe(IItemStack stack);
mods.futuremc.Campfire.removeRecipe(<minecraft:beef>); // Removes beef from being cooked on the campfire
Call this before you add your recipes to remove all the default recipes.
mods.futuremc.Campfire.clearRecipes();