001 package net.minecraft.inventory;
002
003 import java.util.List;
004 import net.minecraft.item.ItemStack;
005
006 public interface ICrafting
007 {
008 void sendContainerAndContentsToPlayer(Container var1, List var2);
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 var1, int var2, ItemStack var3);
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 var1, int var2, int var3);
022 }