Emerald-Pipe: "Non blocking mode"
Flow86 opened this issue ยท 7 comments
Hi,
I (and some others) would like to have an "non blocking" emerald pipe mode. (see Flow86/Additional-Buildcraft-Objects-Mod#47)
A simple mode-change via GUI-button would be perfect.
I would write the code for it (since its mostly trivial)
What do you guys think about it?
@Flow86 I ported Railcraft's entire button controller package to BC a while back for this very reason, but I'm not sufficiently conversant in the GUI network code to link it to the pipe. See core.gui.buttons. Probably a MultiState Button, with different graphics for each mode. Similar to the LockButton.
okay, I'll look into it. the pipe extension itself seems to be easy, only a loop in checkExtract* until every filter was tried
I should probably include some examples of the LockButton being used:
http://hastebin.com/qexodoxoge.avrasm
http://hastebin.com/wewecinoxa.java