Blast Furnace Fuel (Immersive Engineering)
Description
Allows an item to be used in the Blast Furnace as a fuel for the given number of ticks.
Identifier
Refer to this via any of the following:
mods.ie.blast_furnace_fuel
mods.ie.blastfurnacefuel
mods.ie.blastFurnaceFuel
mods.ie.BlastFurnaceFuel
mods.immersiveengineering.blast_furnace_fuel/* Used as page default */
mods.immersiveengineering.blastfurnacefuel
mods.immersiveengineering.blastFurnaceFuel
mods.immersiveengineering.BlastFurnaceFuel
Adding Recipes
Adds recipes in the format
input
,time
:groovymods.immersiveengineering.blast_furnace_fuel.add(IIngredient, int)
Recipe Builder
Just like other recipe types, the Blast Furnace Fuel also uses a recipe builder.
Don't know what a builder is? Check the builder info page out.
mods.immersiveengineering.blast_furnace_fuel.recipeBuilder()
IngredientList<IIngredient>
. Sets the item inputs of the recipe. Requires exactly 1.groovyinput(IIngredient) input(IIngredient...) input(Collection<IIngredient>)
int
. Sets the time in ticks the recipe takes to process. Requires greater than or equal to 0. (Default0
).groovytime(int)
First validates the builder, returning
null
and outputting errors to the log file if the validation failed, then registers the builder and returns the registered object. (returnsnull
orblusunrize.immersiveengineering.api.crafting.BlastFurnaceRecipe$BlastFurnaceFuel
).groovyregister()
Example
mods.immersiveengineering.blast_furnace_fuel.recipeBuilder()
.input(item('minecraft:clay'))
.time(100)
.register()
Removing Recipes
Removes all recipes that match the given input:
groovymods.immersiveengineering.blast_furnace_fuel.removeByInput(ItemStack)
Removes all registered recipes:
groovymods.immersiveengineering.blast_furnace_fuel.removeAll()
Example
mods.immersiveengineering.blast_furnace_fuel.removeByInput(item('immersiveengineering:material:6'))
mods.immersiveengineering.blast_furnace_fuel.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.immersiveengineering.blast_furnace_fuel.streamRecipes()