-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Request]Support for IC2 fluid reactors #25
Comments
What API call do you want to expose? We already do parts of reactor itself: https://github.com/OpenMods/OpenPeripheral-Integration/blob/master/src/main/java/openperipheral/integration/ic2/AdapterReactor.java#L23, but we may have missed something. Though parts of reactor vessel seem to be plain blocks (so no interaction at all), while others have no public (or even internal) interface - for example, liquid port exposes only fluid handler functions. |
In TileEntityReactorRedstonePort.java , I found a public method called getReactor,which means that we can interact with the reactor itself by simply calling the method of the redstone port tile . |
btw,the method returns TileEntity,while that one in TileEntityReactorAccessHatch.java returns IInventory |
Yeah, I know. But I've asked "What API call", not "What internal method from TE". Using internal method is generally very risky and creates problems with both OpenPeripheral and integrated mod. |
As the output of an EU reactor is throttled,the fluid reactors have come into use widely.So being able to control them by using a CC computer seems important. It would be great if the support for them is added. I'm happy to open a pull request to do this if you like this idea.
The text was updated successfully, but these errors were encountered: