Package forestry.api.recipes
Interface IFabricatorRecipe
- All Superinterfaces:
IForestryRecipe,net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.crafting.ShapedRecipenet.minecraft.world.item.crafting.IngredientgetPlan()net.minecraftforge.fluids.FluidStackbooleanmatches(net.minecraft.world.level.Level level, net.minecraftforge.fluids.FluidStack liquid, net.minecraft.world.item.ItemStack stack, net.minecraft.world.Container inventory) 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
-
getResultFluid
net.minecraftforge.fluids.FluidStack getResultFluid()- Returns:
- the molten liquid (and amount) required for this recipe.
-
getPlan
net.minecraft.world.item.crafting.Ingredient getPlan()- Returns:
- the plan for this recipe (the item in the top right slot)
-
getCraftingGridRecipe
net.minecraft.world.item.crafting.ShapedRecipe getCraftingGridRecipe()- Returns:
- the crafting grid recipe. The crafting recipe's getRecipeOutput() is used as the IFabricatorRecipe's output.
-
matches
boolean matches(net.minecraft.world.level.Level level, net.minecraftforge.fluids.FluidStack liquid, net.minecraft.world.item.ItemStack stack, net.minecraft.world.Container inventory)
-