Exemplo n.º 1
0
        protected override void DrawSlot(int par1, int par2, int par3, int par4, Tessellator par5Tessellator)
        {
            StatCrafting statcrafting = Func_27264_b(par1);
            int          i            = statcrafting.GetItemID();

            GuiStats.DrawItemSprite(Field_27275_a, par2 + 40, par3, i);
            Func_27265_a((StatCrafting)StatList.ObjectBreakStats[i], par2 + 115, par3, par1 % 2 == 0);
            Func_27265_a((StatCrafting)StatList.ObjectCraftStats[i], par2 + 165, par3, par1 % 2 == 0);
            Func_27265_a(statcrafting, par2 + 215, par3, par1 % 2 == 0);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Draws the item sprite on top of the background sprite.
 /// </summary>
 public static void DrawItemSprite(GuiStats par0GuiStats, int par1, int par2, int par3)
 {
     par0GuiStats.DrawItemSprite(par1, par2, par3);
 }