public interface ISqueezerManager extends ICraftingProvider<ISqueezerRecipe>
The manager is initialized at the beginning of Forestry's BaseMod.load() cycle. Begin adding recipes in BaseMod.ModsLoaded() and this shouldn't be null even if your mod loads before Forestry.
Accessible via RecipeManagers
| Modifier and Type | Method and Description |
|---|---|
void |
addContainerRecipe(int timePerItem,
net.minecraft.item.ItemStack emptyContainer,
net.minecraft.item.ItemStack remnants,
float chance)
Add a recipe for a fluid container to the squeezer.
|
void |
addRecipe(int timePerItem,
net.minecraft.item.ItemStack resources,
net.minecraftforge.fluids.FluidStack liquid)
Add a recipe to the squeezer.
|
void |
addRecipe(int timePerItem,
net.minecraft.item.ItemStack resources,
net.minecraftforge.fluids.FluidStack liquid,
net.minecraft.item.ItemStack remnants,
int chance)
Add a recipe to the squeezer.
|
void |
addRecipe(int timePerItem,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> resources,
net.minecraftforge.fluids.FluidStack liquid)
Add a recipe to the squeezer.
|
void |
addRecipe(int timePerItem,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> resources,
net.minecraftforge.fluids.FluidStack liquid,
net.minecraft.item.ItemStack remnants,
int chance)
Add a recipe to the squeezer.
|
addRecipe, recipes, removeRecipevoid addRecipe(int timePerItem,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> resources,
net.minecraftforge.fluids.FluidStack liquid,
net.minecraft.item.ItemStack remnants,
int chance)
timePerItem - Number of work cycles required to squeeze one set of resources.resources - Array of item stacks representing the required resources for one process. Stack size will be taken into account.liquid - FluidStack representing the output of this recipe.remnants - Item stack representing the possible remnants from this recipe. May be empty.chance - Chance remnants will be produced by a single recipe cycle, from 0 to 100.void addRecipe(int timePerItem,
net.minecraft.item.ItemStack resources,
net.minecraftforge.fluids.FluidStack liquid,
net.minecraft.item.ItemStack remnants,
int chance)
timePerItem - Number of work cycles required to squeeze one set of resources.resources - item stack representing the required resources for one process. Stack size will be taken into account.liquid - FluidStack representing the output of this recipe.remnants - Item stack representing the possible remnants from this recipe. May be empty.chance - Chance remnants will be produced by a single recipe cycle, from 0 to 100.void addRecipe(int timePerItem,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> resources,
net.minecraftforge.fluids.FluidStack liquid)
timePerItem - Number of work cycles required to squeeze one set of resources.resources - Array of item stacks representing the required resources for one process. Stack size will be taken into account.liquid - FluidStack representing the output of this recipe.void addRecipe(int timePerItem,
net.minecraft.item.ItemStack resources,
net.minecraftforge.fluids.FluidStack liquid)
timePerItem - Number of work cycles required to squeeze one set of resources.resources - item stack representing the required resources for one process. Stack size will be taken into account.liquid - FluidStack representing the output of this recipe.void addContainerRecipe(int timePerItem,
net.minecraft.item.ItemStack emptyContainer,
net.minecraft.item.ItemStack remnants,
float chance)
timePerItem - Number of work cycles required to squeeze one set of resources.emptyContainer - The empty version of the fluid container that will be squeezed.remnants - Item stack representing the possible remnants from this recipe. May be empty.chance - Chance remnants will be produced by a single recipe cycle, from 0 to 1.