IRecipe .java

net.minecraft.item.crafting.IRecipe (interface): members: getRemainingItems, getRecipeOutput, getRecipeSize, getCraftingResult, matches. imports: World.

net.minecraft.item.craftinginterface28 linescommon640 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (3)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

IRecipe.java28 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.item.crafting;
2
3
import net.minecraft.inventory.InventoryCrafting;
4
import net.minecraft.item.ItemStack;
5
import net.minecraft.world.World;
6
7
public interface IRecipe
8
{
9
    /**
10
     * Used to check if a recipe matches current crafting inventory
11
     */
12
    boolean matches(InventoryCrafting inv, World worldIn);
13
14
    /**
15
     * Returns an Item that is the result of this recipe
16
     */
17
    ItemStack getCraftingResult(InventoryCrafting inv);
18
19
    /**
20
     * Returns the size of the recipe area
21
     */
22
    int getRecipeSize();
23
24
    ItemStack getRecipeOutput();
25
26
    ItemStack[] getRemainingItems(InventoryCrafting inv);
27
}
28

Deobfuscated MCP 1.8.9 source of IRecipe from Marcelektro/MavenMCP-1.8.9 (net/minecraft/item/crafting/IRecipe.java), stored verbatim.