/**
 * This class was created by BrassGoggledCoders modding team.
 * This class is available as part of the Steamcraft 2 Mod for Minecraft.
 *
 * Steamcraft 2 is open-source and is distributed under the MMPL v1.0 License.
 * (http://www.mod-buildcraft.com/MMPL-1.0.txt)
 *
 * Steamcraft 2 is based on the original Steamcraft Mod created by Proloe.
 * Steamcraft (c) Proloe 2011
 * (http://www.minecraftforum.net/topic/251532-181-steamcraft-source-code-releasedmlv054wip/)
 *
 */
package boilerplate.common.baseclasses;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;

public class BaseContainer extends Container
{
	private static BaseTileWithInventory tileent;

	@Override
	public boolean canInteractWith(EntityPlayer player)
	{
		return BaseContainer.tileent.isUseableByPlayer(player);
	}

	@Override
	public ItemStack transferStackInSlot(EntityPlayer player, int i)
	{
		Slot slot = this.getSlot(i);

		if ((slot != null) && slot.getHasStack())
		{
			ItemStack itemstack = slot.getStack();
			ItemStack result = itemstack.copy();

			if (i >= 36)
			{
				if (!this.mergeItemStack(itemstack, 0, 36, false))
				{
					return null;
				}
			}
			else if (!this.mergeItemStack(itemstack, 36, 36 + BaseContainer.getTile().getSizeInventory(), false))
			{
				return null;
			}

			if (itemstack.stackSize == 0)
			{
				slot.putStack(null);
			}
			else
			{
				slot.onSlotChanged();
			}
			slot.onPickupFromSlot(player, itemstack);
			return result;
		}
		return null;
	}

	public static BaseTileWithInventory getTile()
	{
		return tileent;
	}

	public static void setTile(BaseTileWithInventory tileent)
	{
		BaseContainer.tileent = tileent;
	}
}

@@ -735,23 +735,16 @@
 private 
-static 
 BaseTile
@@ -757,23 +757,24 @@
 ventory 
-tileent
+baseTile
 ;%0A%0A%09@Ove
@@ -844,37 +844,24 @@
 %09return 
-BaseContainer.tileent
+baseTile
 .isUseab
@@ -1291,30 +1291,16 @@
 6, 36 + 
-BaseContainer.
 getTile(
@@ -1563,23 +1563,16 @@
 %09public 
-static 
 BaseTile
@@ -1607,23 +1607,24 @@
 %09return 
-tileent
+baseTile
 ;%0A%09%7D%0A%0A%09p
@@ -1633,15 +1633,8 @@
 lic 
-static 
 void
@@ -1682,29 +1682,21 @@
 %7B%0A%09%09
-BaseContainer.tileent
+this.baseTile
  = t

Remove some static things.