001package net.minecraft.inventory; 002 003import java.util.List; 004import net.minecraft.item.ItemStack; 005 006public interface ICrafting 007{ 008 void sendContainerAndContentsToPlayer(Container container, List list); 009 010 /** 011 * Sends the contents of an inventory slot to the client-side Container. This doesn't have to match the actual 012 * contents of that slot. Args: Container, slot number, slot contents 013 */ 014 void sendSlotContents(Container container, int i, ItemStack itemstack); 015 016 /** 017 * Sends two ints to the client-side Container. Used for furnace burning time, smelting progress, brewing progress, 018 * and enchanting level. Normally the first int identifies which variable to update, and the second contains the new 019 * value. Both are truncated to shorts in non-local SMP. 020 */ 021 void sendProgressBarUpdate(Container container, int i, int j); 022}