public class GuiInventorySearcher extends GuiContainer{
private final InventoryBasic inventory = new InventoryBasic("tmp", true, 1);
private final GuiScreen parentScreen;
public GuiInventorySearcher(EntityPlayer par1EntityPlayer){
super(new ContainerInventorySearcher(par1EntityPlayer.inventory));
par1EntityPlayer.openContainer = inventorySlots;
allowUserInput = true;
ySize = 176;//TODO change
parentScreen = FMLClientHandler.instance().getClient().currentScreen;
((ContainerInventorySearcher)inventorySlots).init(inventory);