001    package net.minecraft.src;
002    
003    import cpw.mods.fml.common.Side;
004    import cpw.mods.fml.common.asm.SideOnly;
005    
006    @SideOnly(Side.CLIENT)
007    public class NpcMerchant implements IMerchant
008    {
009        private InventoryMerchant field_70937_a;
010    
011        /** This merchant's current player customer. */
012        private EntityPlayer customer;
013    
014        /** The MerchantRecipeList instance. */
015        private MerchantRecipeList recipeList;
016    
017        public NpcMerchant(EntityPlayer par1EntityPlayer)
018        {
019            this.customer = par1EntityPlayer;
020            this.field_70937_a = new InventoryMerchant(par1EntityPlayer, this);
021        }
022    
023        public EntityPlayer getCustomer()
024        {
025            return this.customer;
026        }
027    
028        public void setCustomer(EntityPlayer par1EntityPlayer) {}
029    
030        public MerchantRecipeList getRecipes(EntityPlayer par1EntityPlayer)
031        {
032            return this.recipeList;
033        }
034    
035        public void setRecipes(MerchantRecipeList par1MerchantRecipeList)
036        {
037            this.recipeList = par1MerchantRecipeList;
038        }
039    
040        public void useRecipe(MerchantRecipe par1MerchantRecipe) {}
041    }