BC Iron Gate vs RP Battery Box

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Aubinator

New Member
Jul 29, 2019
48
0
0
FTB Ultimate (1.4.7)

I am looking to have a simple iron AND/OR gate detect if a battery is full. Seems I cannot even get said gate to detect that there is a battery device sitting next to it (no power options in the GUI)

Is there a way to have the gate (on a cobblestone structure pipe) sit next to it and emit a redstone/pipe signal when the battery is full? Am I just not setting it up properly? Another work around?

Cheers and thanks for the help!
 

Aubinator

New Member
Jul 29, 2019
48
0
0
Idea:

turtle.compareup() - compares item above turtle to see if its the same as the block selected in it's inventory. Since RP batteries retain their charge when broken, can I get it to compare a charged inventory battery box with the battery no placed in the outside world?

Or is there a different data string? Will it only see that fact that it a battery box? Or will it actually see the charge level difference between the two?
 

PeggleFrank

New Member
Jul 29, 2019
928
0
0
Open peripherals might allow you to detect the charge level of a RP2 battery box.

AFAIK there's no other way to check, besides having a turtle check the metadata values, which might not even work.
 

Aubinator

New Member
Jul 29, 2019
48
0
0
I can't find the old version of open peripherals; only 1.5.X and up. Anybody know where to find a version for 1.4.7?

Also, tested the turtle command turtle.compare(). All it does is check to see if a battery is present, not the charge.
 

Omicron

New Member
Jul 29, 2019
2,974
0
0
In order to work with gates and turtles and whatnot, the RP2 battery box would have to implement this functionality, not the gates or turtles themselves. Basically the battery box must make itself available via the relevant APIs. However, it does not do so; they're a relic from a time when cross-mod integration was in its infancy at best.