if (lastEnergy != device.getEnergy())
PacketBuilder.instance().sendGuiIntegerPacket((EntityPlayerMP) player, windowId, 0, (int) device.getEnergy());
if (lastStorage != device.storageUpgrades)
player.sendProgressBarUpdate(this, 1, device.storageUpgrades);
if (lastLapo != device.lapotronUpgrades)
player.sendProgressBarUpdate(this, 2, device.lapotronUpgrades);
if (lastLapo != device.transferRate)