BuildCraft|Core

BuildCraft|Core

7M Downloads

Emerald-Pipe: "Non blocking mode"

Flow86 opened this issue ยท 7 comments

commented

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?

commented

I dont have an advanced wooden pipe ;-)

commented

Damn all these submods! ;-)

commented

I thought that was what your advanced wooden pipe did?

commented

@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.

commented

okay, I'll look into it. the pipe extension itself seems to be easy, only a loop in checkExtract* until every filter was tried

commented

I should probably include some examples of the LockButton being used:
http://hastebin.com/qexodoxoge.avrasm
http://hastebin.com/wewecinoxa.java

commented

those examples do not exist anymore - why not using "gisthub.com"?