--- ../src-base/minecraft/net/minecraft/client/gui/GuiSlot.java
+++ ../src-work/minecraft/net/minecraft/client/gui/GuiSlot.java
@@ -185,16 +185,7 @@
             GlStateManager.func_179106_n();
             Tessellator tessellator = Tessellator.func_178181_a();
             WorldRenderer worldrenderer = tessellator.func_178180_c();
-            this.field_148161_k.func_110434_K().func_110577_a(Gui.field_110325_k);
-            GlStateManager.func_179131_c(1.0F, 1.0F, 1.0F, 1.0F);
-            float f1 = 32.0F;
-            worldrenderer.func_178970_b();
-            worldrenderer.func_178991_c(2105376);
-            worldrenderer.func_178985_a((double)this.field_148152_e, (double)this.field_148154_c, 0.0D, (double)((float)this.field_148152_e / f1), (double)((float)(this.field_148154_c + (int)this.field_148169_q) / f1));
-            worldrenderer.func_178985_a((double)this.field_148151_d, (double)this.field_148154_c, 0.0D, (double)((float)this.field_148151_d / f1), (double)((float)(this.field_148154_c + (int)this.field_148169_q) / f1));
-            worldrenderer.func_178985_a((double)this.field_148151_d, (double)this.field_148153_b, 0.0D, (double)((float)this.field_148151_d / f1), (double)((float)(this.field_148153_b + (int)this.field_148169_q) / f1));
-            worldrenderer.func_178985_a((double)this.field_148152_e, (double)this.field_148153_b, 0.0D, (double)((float)this.field_148152_e / f1), (double)((float)(this.field_148153_b + (int)this.field_148169_q) / f1));
-            tessellator.func_78381_a();
+            this.drawContainerBackground(tessellator);
             int i1 = this.field_148152_e + this.field_148155_a / 2 - this.func_148139_c() / 2 + 2;
             int j1 = this.field_148153_b + 4 - (int)this.field_148169_q;
 
@@ -456,4 +447,19 @@
     {
         return this.field_148149_f;
     }
+
+    protected void drawContainerBackground(Tessellator tessellator)
+    {
+        WorldRenderer worldrenderer = tessellator.func_178180_c();
+        this.field_148161_k.func_110434_K().func_110577_a(Gui.field_110325_k);
+        GlStateManager.func_179131_c(1.0F, 1.0F, 1.0F, 1.0F);
+        float f1 = 32.0F;
+        worldrenderer.func_178970_b();
+        worldrenderer.func_178991_c(2105376);
+        worldrenderer.func_178985_a((double)this.field_148152_e, (double)this.field_148154_c, 0.0D, (double)((float)this.field_148152_e / f1), (double)((float)(this.field_148154_c + (int)this.field_148169_q) / f1));
+        worldrenderer.func_178985_a((double)this.field_148151_d, (double)this.field_148154_c, 0.0D, (double)((float)this.field_148151_d / f1), (double)((float)(this.field_148154_c + (int)this.field_148169_q) / f1));
+        worldrenderer.func_178985_a((double)this.field_148151_d, (double)this.field_148153_b, 0.0D, (double)((float)this.field_148151_d / f1), (double)((float)(this.field_148153_b + (int)this.field_148169_q) / f1));
+        worldrenderer.func_178985_a((double)this.field_148152_e, (double)this.field_148153_b, 0.0D, (double)((float)this.field_148152_e / f1), (double)((float)(this.field_148153_b + (int)this.field_148169_q) / f1));
+        tessellator.func_78381_a();
+    }
 }
