private ArrayList<EnumAdvBattBoxMode> validModes;
public GuiAdvancedBatteryBox(InventoryPlayer par1InventoryPlayer, TileEntityAdvancedBatteryBox te)
{
super(new ContainerAdvancedBatteryBox(par1InventoryPlayer, te));
this.tileEntity = te;
this.validModes = te.getAvailableModes();
}