Package forestry.api.recipes
Interface ISqueezerContainerRecipe
- All Superinterfaces:
IForestryRecipe,ISqueezerRecipe,net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStackintnet.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 forestry.api.recipes.ISqueezerRecipe
getFluidOutput, getInputsMethods inherited from interface net.minecraft.world.item.crafting.Recipe
getResultItem, isIncomplete, showNotification
-
Method Details
-
getEmptyContainer
net.minecraft.world.item.ItemStack getEmptyContainer() -
getProcessingTime
int getProcessingTime()- Specified by:
getProcessingTimein interfaceISqueezerRecipe- Returns:
- Number of work cycles required to squeeze one set of resources.
-
getRemnants
net.minecraft.world.item.ItemStack getRemnants()- Specified by:
getRemnantsin interfaceISqueezerRecipe- Returns:
- Item stack representing the possible remnants from this recipe. (i.e. tin left over from tin cans)
-
getRemnantsChance
float getRemnantsChance()- Specified by:
getRemnantsChancein interfaceISqueezerRecipe- Returns:
- Chance remnants will be produced by a single recipe cycle, from 0 to 1.
-