Fluid Sieving Machine (Industrial Foregoing)
Description
Converts an input itemstack and input fluidstack into an output itemstack.
Identifier
Refer to this via any of the following:
groovy
mods.industrialforegoing.ore_sieve/* Used as page default */
mods.industrialforegoing.oresieve
mods.industrialforegoing.oreSieve
mods.industrialforegoing.OreSieve
mods.industrialforegoing.fluid_sieving
mods.industrialforegoing.fluidsieving
mods.industrialforegoing.fluidSieving
mods.industrialforegoing.FluidSieving
Adding Recipes
Add the given recipe to the recipe list:
groovymods.industrialforegoing.ore_sieve.add(OreFluidEntrySieve)
Adds a Fluid Sieving Machine recipe in the format
input
,output
,sieveItem
:groovymods.industrialforegoing.ore_sieve.add(FluidStack, ItemStack, ItemStack)
Example
groovy
mods.industrialforegoing.ore_sieve.add(fluid('if.ore_fluid_fermented').withNbt(['Ore': 'oreGold']) * 100, item('minecraft:nether_star') * 2, item('minecraft:clay'))
mods.industrialforegoing.ore_sieve.add(fluid('lava') * 5, item('minecraft:gold_ingot'), item('minecraft:clay'))
Removing Recipes
Removes the given recipe from the recipe list:
groovymods.industrialforegoing.ore_sieve.remove(OreFluidEntrySieve)
Removes all recipes that match the given input:
groovymods.industrialforegoing.ore_sieve.removeByInput(IIngredient)
Removes all recipes that match the given output:
groovymods.industrialforegoing.ore_sieve.removeByOutput(IIngredient)
Removes all registered recipes:
groovymods.industrialforegoing.ore_sieve.removeAll()
Example
groovy
mods.industrialforegoing.ore_sieve.removeByInput(item('minecraft:sand'))
mods.industrialforegoing.ore_sieve.removeByInput(fluid('if.pink_slime'))
mods.industrialforegoing.ore_sieve.removeByOutput(item('industrialforegoing:pink_slime_ingot)
mods.industrialforegoing.ore_sieve.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.industrialforegoing.ore_sieve.streamRecipes()