CovertJaguar/Railcraft — pull request #322 by adudney (2014-10-01 02:40:39+00:00)
Title: Changed from MJ to RF

Removed BC 5 MJ api and moved to RF on all engines and machines. As far as I can tell I've kept all the mechanics the same except for one exception, engines will no longer connect to each other to transmit power to each other. I could implement this easily, and I have while testing, the only problem with it is there are two ways to implement it, both with disadvantages:

1. Add a case to the engine update method that checks not only EngineTools.isPowerProvider, but also if tile instanceof TileEngine, and handle that case separately. This is slightly hacky, and also disallows power transmission from any other engines, say Forestry's engines.
2. Make TileEngine an IEnergyHandler, this unfortunately will make not only engines output to it, but also any energy transport system. It is easy to disallow adding energy from the piston end, but I don't know how to ensure that the energy is only being added by an engine, and not an energy pipe.

Only thing is that I am ignorant how the LGPLv3 from CoFH's code will mesh with your license, it may work fine, it may require special trickery with the compiler, I just have no idea.

Anyway, here are some screenshots of it in action with only Buildcraft and Railcraft installed:
(The floats in guis are only in the guis, all internal math is done using ints.)
![2014-09-30_18 40 07](https://cloud.githubusercontent.com/assets/246232/4469520/aa93cc9e-4913-11e4-9714-bb50a56673ec.png)
![2014-09-30_18 40 15](https://cloud.githubusercontent.com/assets/246232/4469516/aa8ca4fa-4913-11e4-85af-c64e093183ed.png)
![2014-09-30_18 40 18](https://cloud.githubusercontent.com/assets/246232/4469521/aa9aeaba-4913-11e4-9a7f-e6fd3d7d4266.png)
![2014-09-30_18 40 22](https://cloud.githubusercontent.com/assets/246232/4469517/aa8dd622-4913-11e4-8e15-b2889468cc92.png)
![2014-09-30_18 44 06](https://cloud.githubusercontent.com/assets/246232/4469519/aa9227cc-4913-11e4-95e6-383fb3b06155.png)
![2014-09-30_18 44 10](https://cloud.githubusercontent.com/assets/246232/4469518/aa8f1262-4913-11e4-97a5-214a9ef5b959.png)