use of com.bluepowermod.part.gate.component.GateComponentBorder in project BluePower by Qmunity.
the class GateAnd method initComponents.
@Override
public void initComponents() {
addComponent(t1 = new GateComponentTorch(this, 0x215b8d, 4 / 16D, true).setState(true));
addComponent(t2 = new GateComponentTorch(this, 0x0000FF, 4 / 16D, true).setState(true));
addComponent(t3 = new GateComponentTorch(this, 0x3e94dc, 4 / 16D, true).setState(true));
addComponent(t4 = new GateComponentTorch(this, 0x6F00B5, 5 / 16D, true).setState(false));
addComponent(wire = new GateComponentWire(this, 0x18FF00, RedwireType.BLUESTONE).setPower((byte) 255));
addComponent(new GateComponentWire(this, 0xFFF600, RedwireType.BLUESTONE).bind(right()));
addComponent(new GateComponentWire(this, 0xC600FF, RedwireType.BLUESTONE).bind(back()));
addComponent(new GateComponentWire(this, 0xFF0000, RedwireType.BLUESTONE).bind(left()));
addComponent(new GateComponentBorder(this, 0x7D7D7D));
}
use of com.bluepowermod.part.gate.component.GateComponentBorder in project BluePower by Qmunity.
the class GateBuffer method initComponents.
@Override
public void initComponents() {
addComponent(t1 = new GateComponentTorch(this, 0x0000FF, 5 / 16D, true).setState(true));
addComponent(t2 = new GateComponentTorch(this, 0x6F00B5, 4 / 16D, true).setState(false));
addComponent(w = new GateComponentWire(this, 0x18FF00, RedwireType.BLUESTONE).setPower((byte) 255));
addComponent(new GateComponentWire(this, 0xFFF600, RedwireType.BLUESTONE).bind(right()));
addComponent(new GateComponentWire(this, 0xC600FF, RedwireType.BLUESTONE).bind(back()));
addComponent(new GateComponentWire(this, 0xFF0000, RedwireType.BLUESTONE).bind(left()));
addComponent(new GateComponentBorder(this, 0x7D7D7D));
}
use of com.bluepowermod.part.gate.component.GateComponentBorder in project BluePower by Qmunity.
the class GateMultiplexer method initComponents.
@Override
protected void initComponents() {
addComponent(t1 = new GateComponentTorch(this, 0x215b8d, 4 / 16D, true).setState(false));
addComponent(t2 = new GateComponentTorch(this, 0x0000FF, 4 / 16D, true).setState(true));
addComponent(t3 = new GateComponentTorch(this, 0x3e94dc, 4 / 16D, true).setState(true));
addComponent(t4 = new GateComponentTorch(this, 0x6F00B5, 5 / 16D, true).setState(false));
addComponent(w1 = new GateComponentWire(this, 0x18FF00, RedwireType.BLUESTONE).setPower((byte) 255));
addComponent(new GateComponentWire(this, 0xFFF600, RedwireType.BLUESTONE).bind(right()));
addComponent(new GateComponentWire(this, 0xC600FF, RedwireType.BLUESTONE).bind(back()));
addComponent(new GateComponentWire(this, 0xFF0000, RedwireType.BLUESTONE).bind(left()));
addComponent(w2 = new GateComponentWire(this, 0xd2ae31, RedwireType.BLUESTONE).setPower((byte) 255));
addComponent(new GateComponentBorder(this, 0x7D7D7D));
}
use of com.bluepowermod.part.gate.component.GateComponentBorder in project BluePower by Qmunity.
the class GateComparator method initComponents.
@Override
public void initComponents() {
addComponent(t1 = new GateComponentTorch(this, 0x0000FF, 4 / 16D, false).setState(true));
addComponent(t2 = new GateComponentTorch(this, 0x6F00B5, 4 / 16D, false).setState(true));
addComponent(t3 = new GateComponentTorch(this, 0x3e94dc, 5 / 16D, false).setState(false));
addComponent(w = new GateComponentWire(this, 0x18FF00, RedwireType.RED_ALLOY).setPower((byte) 255));
addComponent(new GateComponentWire(this, 0xFFF600, RedwireType.RED_ALLOY).bind(right()));
addComponent(new GateComponentWire(this, 0xC600FF, RedwireType.RED_ALLOY).bind(back()));
addComponent(new GateComponentWire(this, 0xFF0000, RedwireType.RED_ALLOY).bind(left()));
addComponent(new GateComponentQuartzResonator(this, 0xd6ab17));
addComponent(new GateComponentBorder(this, 0x7D7D7D));
}
use of com.bluepowermod.part.gate.component.GateComponentBorder in project BluePower by Qmunity.
the class GateInverter method initComponents.
@Override
protected void initComponents() {
addComponent(t = new GateComponentTorch(this, 0x0000FF, 4 / 16D, false).setState(true));
addComponent(new GateComponentWire(this, 0x18FF00, RedwireType.RED_ALLOY).bind(front()));
addComponent(new GateComponentWire(this, 0xFFF600, RedwireType.RED_ALLOY).bind(right()));
addComponent(new GateComponentWire(this, 0xC600FF, RedwireType.RED_ALLOY).bind(back()));
addComponent(new GateComponentWire(this, 0xFF0000, RedwireType.RED_ALLOY).bind(left()));
addComponent(new GateComponentBorder(this, 0x7D7D7D));
}
Aggregations