return new GuiElectricManager(player.inventory, (ModuleElectricManager) module);
}
@Override
public DummyContainer getContainer(EntityPlayer player) {
DummyModuleContainer dummy = new DummyModuleContainer(player, getInvSlot());
if(!(dummy.getModule() instanceof ModuleElectricManager)) return null;
dummy.setInventory(((ModuleElectricManager)dummy.getModule()).getFilterInventory());
dummy.addNormalSlotsForPlayerInventory(8, 60);
//Pipe slots
for(int pipeSlot = 0; pipeSlot < 9; pipeSlot++){
dummy.addDummySlot(pipeSlot, 8 + pipeSlot * 18, 18);
}
return dummy;
}