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