Package forestry.api.recipes
Interface ICentrifugeRecipe
- All Superinterfaces:
IForestryRecipe,net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
-
Method Summary
Modifier and TypeMethodDescriptionReturns a list of all possible products and their estimated probabilities (0.0 to 1.0], to help mods that display recipesnet.minecraft.world.item.crafting.IngredientgetInput()The item for this recipe to match against.intThe time it takes to process one item.List<net.minecraft.world.item.ItemStack>getProducts(net.minecraft.util.RandomSource random) Returns the randomized products from processing one input item.Methods 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
-
getInput
net.minecraft.world.item.crafting.Ingredient getInput()The item for this recipe to match against. -
getProcessingTime
int getProcessingTime()The time it takes to process one item. Default is 20. -
getProducts
Returns the randomized products from processing one input item. -
getAllProducts
Returns a list of all possible products and their estimated probabilities (0.0 to 1.0], to help mods that display recipes
-