public class StillRecipeManager extends java.lang.Object implements IStillManager
| Modifier and Type | Field and Description |
|---|---|
static java.util.Set<net.minecraftforge.fluids.Fluid> |
recipeFluidInputs |
static java.util.Set<net.minecraftforge.fluids.Fluid> |
recipeFluidOutputs |
| Constructor and Description |
|---|
StillRecipeManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRecipe(int timePerUnit,
net.minecraftforge.fluids.FluidStack input,
net.minecraftforge.fluids.FluidStack output)
Add a recipe to the still
|
boolean |
addRecipe(IStillRecipe recipe)
Add a new recipe to the crafting provider.
|
static IStillRecipe |
findMatchingRecipe(net.minecraftforge.fluids.FluidStack item) |
static boolean |
matches(IStillRecipe recipe,
net.minecraftforge.fluids.FluidStack item) |
java.util.Set<IStillRecipe> |
recipes() |
boolean |
removeRecipe(IStillRecipe recipe)
Remove a specific recipe from the crafting provider.
|
public static final java.util.Set<net.minecraftforge.fluids.Fluid> recipeFluidInputs
public static final java.util.Set<net.minecraftforge.fluids.Fluid> recipeFluidOutputs
public void addRecipe(int timePerUnit,
net.minecraftforge.fluids.FluidStack input,
net.minecraftforge.fluids.FluidStack output)
IStillManageraddRecipe in interface IStillManagertimePerUnit - Amount of work cycles required to run through the conversion once.input - FluidStack representing the input liquid.output - FluidStack representing the output liquid@Nullable public static IStillRecipe findMatchingRecipe(@Nullable net.minecraftforge.fluids.FluidStack item)
public static boolean matches(@Nullable
IStillRecipe recipe,
@Nullable
net.minecraftforge.fluids.FluidStack item)
public boolean addRecipe(IStillRecipe recipe)
ICraftingProvideraddRecipe in interface ICraftingProvider<IStillRecipe>public boolean removeRecipe(IStillRecipe recipe)
ICraftingProviderremoveRecipe in interface ICraftingProvider<IStillRecipe>public java.util.Set<IStillRecipe> recipes()
recipes in interface ICraftingProvider<IStillRecipe>