ICrafting .java

net.minecraft.inventory.ICrafting (interface): members: sendAllWindowProperties, updateCraftingInventory, sendProgressBarUpdate, sendSlotContents.

net.minecraft.inventoryinterface28 linescommon1.1 KB

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

ICrafting.java28 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.inventory;
2
3
import java.util.List;
4
import net.minecraft.item.ItemStack;
5
6
public interface ICrafting
7
{
8
    /**
9
     * update the crafting window inventory with the items in the list
10
     */
11
    void updateCraftingInventory(Container containerToSend, List<ItemStack> itemsList);
12
13
    /**
14
     * Sends the contents of an inventory slot to the client-side Container. This doesn't have to match the actual
15
     * contents of that slot. Args: Container, slot number, slot contents
16
     */
17
    void sendSlotContents(Container containerToSend, int slotInd, ItemStack stack);
18
19
    /**
20
     * Sends two ints to the client-side Container. Used for furnace burning time, smelting progress, brewing progress,
21
     * and enchanting level. Normally the first int identifies which variable to update, and the second contains the new
22
     * value. Both are truncated to shorts in non-local SMP.
23
     */
24
    void sendProgressBarUpdate(Container containerIn, int varToUpdate, int newValue);
25
26
    void sendAllWindowProperties(Container p_175173_1_, IInventory p_175173_2_);
27
}
28

Deobfuscated MCP 1.8.9 source of ICrafting from Marcelektro/MavenMCP-1.8.9 (net/minecraft/inventory/ICrafting.java), stored verbatim.