Search in sources :

Example 6 with GateComponentWire

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

the class GateRegulableTorch method initComponents.

@Override
protected void initComponents() {
    addComponent((torch = new GateComponentPointer(this, 0xffff00, 7 / 16D, false).setAngle(1 / 8D)).setState(true));
    addComponent(new GateComponentWire(this, 0x3E94DC, RedwireType.RED_ALLOY).bind(front()));
    addComponent(new GateComponentBorder(this, 0x7D7D7D));
    addComponent(new GateComponentBorderDark(this, 0x555555));
}
Also used : GateComponentWire(com.bluepowermod.part.gate.component.GateComponentWire) GateComponentPointer(com.bluepowermod.part.gate.component.GateComponentPointer) GateComponentBorder(com.bluepowermod.part.gate.component.GateComponentBorder) GateComponentBorderDark(com.bluepowermod.part.gate.component.GateComponentBorderDark)

Example 7 with GateComponentWire

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

the class GateRepeater method initComponents.

@Override
public void initComponents() {
    addComponent(t1 = new GateComponentTorch(this, 0x0000FF, 5 / 16D, true));
    addComponent(t2 = new GateComponentTorch(this, 11 / 16D, 12 / 16D, 4 / 16D, true).setState(true));
    addComponent(w1 = new GateComponentWire(this, 0xC600FF, RedwireType.BLUESTONE).setPower((byte) 255));
    addComponent(w2 = new GateComponentWire(this, 0xFF0000, RedwireType.BLUESTONE));
    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)

Example 8 with GateComponentWire

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

the class GateSynchronizer method initComponents.

@Override
public void initComponents() {
    addComponent(t = new GateComponentTorch(this, 0xffb400, 5 / 16D, true));
    addComponent(w1 = new GateComponentWire(this, 0x208800, RedwireType.BLUESTONE).setPower((byte) 255));
    addComponent(w2 = new GateComponentWire(this, 0x3faa62, RedwireType.BLUESTONE).setPower((byte) 255));
    addComponent(w3 = new GateComponentWire(this, 0xa50d7f, RedwireType.BLUESTONE));
    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(b1 = new GateComponentSiliconChip(this, 0x0000FF));
    addComponent(b2 = new GateComponentSiliconChip(this, 0x00ccff));
    addComponent(new GateComponentBorder(this, 0x7D7D7D));
}
Also used : GateComponentSiliconChip(com.bluepowermod.part.gate.component.GateComponentSiliconChip) GateComponentWire(com.bluepowermod.part.gate.component.GateComponentWire) GateComponentTorch(com.bluepowermod.part.gate.component.GateComponentTorch) GateComponentBorder(com.bluepowermod.part.gate.component.GateComponentBorder)

Example 9 with GateComponentWire

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

the class GateTimer method initComponents.

@Override
public void initComponents() {
    addComponent((p = new GateComponentPointer(this, 0x0000FF, 7 / 16D, true)).setShouldSync(false).setState(true));
    addComponent(t = new GateComponentTorch(this, 0x6F00B5, 3 / 16D, true));
    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));
}
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)

Example 10 with GateComponentWire

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

the class GateToggleLatch method initComponents.

@Override
public void initComponents() {
    addComponent(t1 = new GateComponentTorch(this, 0x0000FF, 4 / 16D, true));
    addComponent(t2 = new GateComponentTorch(this, 0x6F00B5, 4 / 16D, true).setState(true));
    addComponent(l = new GateComponentLever(this, 0x00FF00).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));
}
Also used : GateComponentWire(com.bluepowermod.part.gate.component.GateComponentWire) GateComponentLever(com.bluepowermod.part.gate.component.GateComponentLever) 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