This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
tytanium's profile picture

Draconic storage multiblock with computerCraft

Started by tytanium, 26 March 2016 - 08:25 PM
tytanium #1
Posted 26 March 2016 - 09:25 PM
Hello everyone,
It's the first time I'm using computercraft, but I don't have a bad level in programming.
I would like to display the actual amount of energy that contain my draconic storage multibloc into an advanced monitor.
I found on internet how to do that with energyCell, harvester etc. So I tried by myself and used the same process that they used (wired modem).
I have just been faced at 2 problems :
-They are using getEnergyStored()'s function but I didn't find it in any API or in their source code so I would like to know if you have a website where this function exists.
-I wanted to "connect" my wired modem on the particle generator but I cannot even place on it, so I tried directly on the multiblock storage but if I right click on it, it doesn't want to be connected.
Can you help me for this problem?

PS : I'm sorry if I made some mistakes in my post, I'm not English :)/>.

Tytanium
Bomb Bloke #2
Posted 26 March 2016 - 11:07 PM
ComputerCraft doesn't actually support Draconic Evolution blocks as peripherals. Another mod will be adding the support - maybe Draconic Evolution, may be OpenPeripheral, may be something else.

You can probably get some readable documentation for getEnergyStored() with this.

OpenPeripheral has a "peripheral proxy" block which might let you connect to the particle generator.
tytanium #3
Posted 27 March 2016 - 03:44 PM
ok thank you for your answer.
I will try to get informations about "peripheral proxy" in this case :)/>.

By the way, maybe it's a stupid question but is it possible tu use a turtle that right click on the draconic storage multiblock and get the stream of the result?
Bomb Bloke #4
Posted 28 March 2016 - 01:22 AM
Probably not possible to "get the stream of the result", but KnightPeripherals should at least let you try it.