001 package net.minecraft.src; 002 003 import cpw.mods.fml.common.Side; 004 import cpw.mods.fml.common.asm.SideOnly; 005 import java.util.List; 006 import net.minecraft.client.Minecraft; 007 008 @SideOnly(Side.CLIENT) 009 public class CreativeCrafting implements ICrafting 010 { 011 private final Minecraft mc; 012 013 public CreativeCrafting(Minecraft par1) 014 { 015 this.mc = par1; 016 } 017 018 public void sendContainerAndContentsToPlayer(Container par1Container, List par2List) {} 019 020 /** 021 * Sends the contents of an inventory slot to the client-side Container. This doesn't have to match the actual 022 * contents of that slot. Args: Container, slot number, slot contents 023 */ 024 public void sendSlotContents(Container par1Container, int par2, ItemStack par3ItemStack) 025 { 026 this.mc.playerController.sendSlotPacket(par3ItemStack, par2); 027 } 028 029 /** 030 * Sends two ints to the client-side Container. Used for furnace burning time, smelting progress, brewing progress, 031 * and enchanting level. Normally the first int identifies which variable to update, and the second contains the new 032 * value. Both are truncated to shorts in non-local SMP. 033 */ 034 public void sendProgressBarUpdate(Container par1Container, int par2, int par3) {} 035 }