Package forestry.api.recipes
Interface ISqueezerRecipe
- All Superinterfaces:
IForestryRecipe,net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
- All Known Subinterfaces:
ISqueezerContainerRecipe
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraftforge.fluids.FluidStackList<net.minecraft.world.item.crafting.Ingredient>intnet.minecraft.world.item.ItemStackfloatMethods inherited from interface forestry.api.recipes.IForestryRecipe
assemble, canCraftInDimensions, getGroup, getId, getIngredients, getRemainingItems, getSerializer, getToastSymbol, getType, isSpecial, matchesMethods inherited from interface net.minecraft.world.item.crafting.Recipe
getResultItem, isIncomplete, showNotification
-
Method Details
-
getInputs
List<net.minecraft.world.item.crafting.Ingredient> getInputs()- Returns:
- item stacks representing the required resources for one process. Stack size will be taken into account.
-
getProcessingTime
int getProcessingTime()- Returns:
- Number of work cycles required to squeeze one set of resources.
-
getRemnants
net.minecraft.world.item.ItemStack getRemnants()- Returns:
- Item stack representing the possible remnants from this recipe. (i.e. tin left over from tin cans)
-
getRemnantsChance
float getRemnantsChance()- Returns:
- Chance remnants will be produced by a single recipe cycle, from 0 to 1.
-
getFluidOutput
net.minecraftforge.fluids.FluidStack getFluidOutput()- Returns:
FluidStackrepresenting the output of this recipe.
-