public static interface IRefineryRecipeManager.IRefineryRegistry<R extends IRefineryRecipeManager.IRefineryRecipe>
Modifier and Type | Method and Description |
---|---|
R |
addRecipe(R recipe)
Adds the given recipe to the registry.
|
java.util.Collection<R> |
getAllRecipes() |
R |
getRecipeForInput(net.minecraftforge.fluids.FluidStack fluid) |
java.util.stream.Stream<R> |
getRecipes(java.util.function.Predicate<R> toReturn) |
java.util.Collection<R> |
removeRecipes(java.util.function.Predicate<R> toRemove) |
java.util.stream.Stream<R> getRecipes(java.util.function.Predicate<R> toReturn)
java.util.Collection<R> getAllRecipes()
@Nullable R getRecipeForInput(@Nullable net.minecraftforge.fluids.FluidStack fluid)
R addRecipe(R recipe)
IRefineryRecipeManager.IRefineryRecipe.in()
recipe
- The recipe to add.