Liquifier (Alchemistry)
Description
Converts an input itemstack into an output fluidstack, consuming a set amount of power.
Identifier
Refer to this via any of the following:
mods.alchemistry.liquifier/* Used as page default */
mods.alchemistry.LiquifierAdding Recipes
Add the given recipe to the recipe list:
groovymods.alchemistry.liquifier.add(LiquifierRecipe)Adds recipes in the format
input,output:groovymods.alchemistry.liquifier.add(IIngredient, FluidStack)
Recipe Builder
Just like other recipe types, the Liquifier 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.alchemistry.liquifier.recipeBuilder()
IngredientList<IIngredient>. Sets the item inputs of the recipe. Requires exactly 1.groovyinput(IIngredient) input(IIngredient...) input(Collection<IIngredient>)FluidStackList. Sets the fluid outputs of the recipe. Requires exactly 1.groovyfluidOutput(FluidStack) fluidOutput(FluidStack...) fluidOutput(Collection<FluidStack>)
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. (returnsnulloral132.alchemistry.recipes.LiquifierRecipe).groovyregister()
Example
mods.alchemistry.liquifier.recipeBuilder()
.input(element('carbon') * 32)
.fluidOutput(fluid('water') * 1000)
.register()
mods.alchemistry.liquifier.recipeBuilder()
.input(item('minecraft:magma'))
.fluidOutput(fluid('lava') * 750)
.register()Removing Recipes
Removes the given recipe from the recipe list:
groovymods.alchemistry.liquifier.remove(LiquifierRecipe)Removes all recipes that match the given input:
groovymods.alchemistry.liquifier.removeByInput(IIngredient)Removes all recipes that match the given output:
groovymods.alchemistry.liquifier.removeByOutput(FluidStack)Removes all registered recipes:
groovymods.alchemistry.liquifier.removeAll()
Example
mods.alchemistry.liquifier.removeByInput(element('water'))
mods.alchemistry.liquifier.removeByOutput(fluid('water'))
mods.alchemistry.liquifier.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.alchemistry.liquifier.streamRecipes()
