Heat Frame Cooling (PneumaticCraft: Repressurized)
Description
Converts an input itemstack into an output itemstack when inside an inventory placed within a Heat Frame which is cooled.
Identifier
Refer to this via any of the following:
mods.pneumaticcraft.heat_frame_cooling/* Used as page default */
mods.pneumaticcraft.heatframecooling
mods.pneumaticcraft.heatFrameCooling
mods.pneumaticcraft.HeatFrameCooling
Adding Recipes
Add the given recipe to the recipe list:
groovymods.pneumaticcraft.heat_frame_cooling.add(HeatFrameCoolingRecipe)
Recipe Builder
Just like other recipe types, the Heat Frame Cooling also uses a recipe builder.
Don't know what a builder is? Check the builder info page out.
mods.pneumaticcraft.heat_frame_cooling.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
null
and outputting errors to the log file if the validation failed, then registers the builder and returns the registered object. (returnsnull
orme.desht.pneumaticcraft.common.recipes.HeatFrameCoolingRecipe
).groovyregister()
Example
mods.pneumaticcraft.heat_frame_cooling.recipeBuilder()
.input(item('minecraft:clay'))
.output(item('minecraft:gold_ingot'))
.register()
mods.pneumaticcraft.heat_frame_cooling.recipeBuilder()
.input(item('minecraft:diamond'))
.output(item('minecraft:obsidian'))
.register()
Removing Recipes
Removes the given recipe from the recipe list:
groovymods.pneumaticcraft.heat_frame_cooling.remove(HeatFrameCoolingRecipe)
Removes all recipes that match the given input:
groovymods.pneumaticcraft.heat_frame_cooling.removeByInput(IIngredient)
Removes all recipes that match the given output:
groovymods.pneumaticcraft.heat_frame_cooling.removeByOutput(IIngredient)
Removes all registered recipes:
groovymods.pneumaticcraft.heat_frame_cooling.removeAll()
Example
mods.pneumaticcraft.heat_frame_cooling.removeByInput(item('minecraft:water_bucket'))
mods.pneumaticcraft.heat_frame_cooling.removeByOutput(item('minecraft:obsidian'))
mods.pneumaticcraft.heat_frame_cooling.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.pneumaticcraft.heat_frame_cooling.streamRecipes()