Search in sources :

Example 21 with GateComponentWire

use of com.bluepowermod.part.gate.component.GateComponentWire in project BluePower by Qmunity.

the class GateRandomizer method initComponents.

@Override
public void initComponents() {
    addComponent(new GateComponentWire(this, 0x18FF00, RedwireType.BLUESTONE).bind(front()));
    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(c2 = new GateComponentTaintedSiliconChip(this, 0xd6ab17));
    addComponent(c1 = new GateComponentTaintedSiliconChip(this, 0x0000FF));
    addComponent(c3 = new GateComponentTaintedSiliconChip(this, 0x00ccff));
    addComponent(new GateComponentBorder(this, 0x7D7D7D));
}
Also used : GateComponentWire(com.bluepowermod.part.gate.component.GateComponentWire) GateComponentTaintedSiliconChip(com.bluepowermod.part.gate.component.GateComponentTaintedSiliconChip) GateComponentBorder(com.bluepowermod.part.gate.component.GateComponentBorder)

Example 22 with GateComponentWire

use of com.bluepowermod.part.gate.component.GateComponentWire in project BluePower by Qmunity.

the class GateCounter method initComponents.

@Override
public void initComponents() {
    addComponent(t1 = new GateComponentTorch(this, 0x0000FF, 4 / 16D, true).setState(false));
    addComponent(t2 = new GateComponentTorch(this, 0x00c0ff, 4 / 16D, true).setState(true));
    addComponent((p = new GateComponentPointer(this, 0xb220d1, 7 / 16D, true).setAngle(-0.5 - 0.1075)).setState(true));
    addComponent(new GateComponentWire(this, 0xFFF600, RedwireType.BLUESTONE).bind(right()));
    addComponent(new GateComponentWire(this, 0xFF0000, RedwireType.BLUESTONE).bind(left()));
    addComponent(new GateComponentBorder(this, 0x7D7D7D));
    addComponent(new GateComponentBorderDark(this, 0x4d4d4d));
}
Also used : GateComponentWire(com.bluepowermod.part.gate.component.GateComponentWire) GateComponentPointer(com.bluepowermod.part.gate.component.GateComponentPointer) GateComponentTorch(com.bluepowermod.part.gate.component.GateComponentTorch) GateComponentBorder(com.bluepowermod.part.gate.component.GateComponentBorder) GateComponentBorderDark(com.bluepowermod.part.gate.component.GateComponentBorderDark)

Example 23 with GateComponentWire

use of com.bluepowermod.part.gate.component.GateComponentWire in project BluePower by Qmunity.

the class GateNand 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(new GateComponentWire(this, 0x18FF00, RedwireType.BLUESTONE).bind(front()));
    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));
}
Also used : GateComponentWire(com.bluepowermod.part.gate.component.GateComponentWire) GateComponentTorch(com.bluepowermod.part.gate.component.GateComponentTorch) GateComponentBorder(com.bluepowermod.part.gate.component.GateComponentBorder)

Aggregations

GateComponentBorder (com.bluepowermod.part.gate.component.GateComponentBorder)23 GateComponentWire (com.bluepowermod.part.gate.component.GateComponentWire)23 GateComponentTorch (com.bluepowermod.part.gate.component.GateComponentTorch)20 GateComponentPointer (com.bluepowermod.part.gate.component.GateComponentPointer)4 GateComponentBorderDark (com.bluepowermod.part.gate.component.GateComponentBorderDark)2 GateComponentSiliconChip (com.bluepowermod.part.gate.component.GateComponentSiliconChip)2 GateComponentLever (com.bluepowermod.part.gate.component.GateComponentLever)1 GateComponentQuartzResonator (com.bluepowermod.part.gate.component.GateComponentQuartzResonator)1 GateComponentSolarPanel (com.bluepowermod.part.gate.component.GateComponentSolarPanel)1 GateComponentTaintedSiliconChip (com.bluepowermod.part.gate.component.GateComponentTaintedSiliconChip)1