MachineMuse/MachineMusePowersuits — pull request #378 by unpairedbracket (2013-08-09 02:06:28+00:00)
Title: API updates and improvements

I though it would be easier to show in code what would be best than try to explain.

I've updated some APIs that changed since 1.5:
* UniversalElectricity 2.1.0.153
* ICBM 1.3.2.216
* Galacticraft at micdoodle8/Galacticraft@7636a1decca3b03d93b2e76f9ba79a25c2e6211d (Galacticraft doesn't publish APIs with a build number but that's the last commit that modified the api)

I made the (trivial) changes to ModuleManager that were necessary to make it independent of MuseItemUtil, and moved MuseItemTag to api for good measure. All the classes needed to make modules are now in the API and independent of the rest of the code.
I've also added hooks into the ElectricItemUtils player energy methods to IModularItem and ModularItemBase, so that other mods' right-click modules can play nicely with the way powersuits handles energy.
I'm sure my scala could be better, given that I've never used it before but it seems like a pretty interesting language.