Blast Furnace (Future MC)
Description
Converts an input itemstack into an output itemstack at the cost of burnable fuel.
Identifier
Refer to this via any of the following:
mods.futuremc.blast_furnace/* Used as page default */
mods.futuremc.blastfurnace
mods.futuremc.blastFurnace
mods.futuremc.BlastFurnaceAdding Recipes
Add the given recipe to the recipe list:
groovymods.futuremc.blast_furnace.add(SimpleRecipe)
Recipe Builder
Just like other recipe types, the Blast Furnace also uses a recipe builder.
Don't know what a builder is? Check the builder info page out.
Recipe Builder
Create the Recipe Builder.
groovymods.futuremc.blast_furnace.recipeBuilder()
IngredientList<IIngredient>. Sets the item inputs of the recipe. Requires exactly 1.groovyinput(IIngredient) input(IIngredient...) input(Collection<IIngredient>)ItemStackList. Sets the item outputs of the recipe. Requires exactly 1.groovyoutput(ItemStack) output(ItemStack...) output(Collection<ItemStack>)
First validates the builder, returning
nulland outputting errors to the log file if the validation failed, then registers the builder and returns the registered object. (returnsnullorthedarkcolour.futuremc.recipe.SimpleRecipe).groovyregister()
Example
mods.futuremc.blast_furnace.recipeBuilder()
.input(item('minecraft:clay'))
.output(item('minecraft:diamond'))
.register()
mods.futuremc.blast_furnace.recipeBuilder()
.input(item('minecraft:gold_ingot'))
.output(item('minecraft:clay'))
.register()Removing Recipes
Removes the given recipe from the recipe list:
groovymods.futuremc.blast_furnace.remove(SimpleRecipe)Removes all recipes that match the given input:
groovymods.futuremc.blast_furnace.removeByInput(IIngredient)Removes all recipes that match the given output:
groovymods.futuremc.blast_furnace.removeByOutput(IIngredient)Removes all registered recipes:
groovymods.futuremc.blast_furnace.removeAll()
Example
mods.futuremc.blast_furnace.removeByInput(item('minecraft:gold_ore'))
mods.futuremc.blast_furnace.removeByOutput(item('minecraft:iron_ingot'))
mods.futuremc.blast_furnace.removeAll()Getting the value of recipes
Iterates through every entry in the registry, with the ability to call remove on any element to remove it:
groovymods.futuremc.blast_furnace.streamRecipes()
