CrafterOfWorlds 1 Posted December 12, 2016 Share Posted December 12, 2016 How do I interface with an IC2 reactor to get values like case heat, EU/t, etc? Quote Link to post Share on other sites
0 Log 16 Posted December 13, 2016 Share Posted December 13, 2016 Connect it through the adapter and type in terminal this command components reactor -l, so you will get a list of methods. for example, to obtain the temperature value, you can do this: print(component.reactor.getHeat()/component.reactor.getMaxHeat()) Quote Link to post Share on other sites
0 wolfschlitzen 0 Posted May 22, 2017 Share Posted May 22, 2017 Hey Log, do you have the api available that you're using in that screenshot? Quote Link to post Share on other sites
0 Log 16 Posted May 22, 2017 Share Posted May 22, 2017 Reactor: getHeat getMaxHeat getEUOutput isActive getInventorySize Inventory controller: getStackInSlot Redstone I/O: setOutput Quote Link to post Share on other sites
0 gato_borrachon 0 Posted April 8, 2020 Share Posted April 8, 2020 On 12/12/2016 at 9:35 PM, Log said: Hey, where did you got that reactor interface? can you share it? or its for personal use? Quote Link to post Share on other sites
How do I interface with an IC2 reactor to get values like case heat, EU/t, etc?
Link to post
Share on other sites