Search in sources :

Example 1 with GateComponentLever

use of com.bluepowermod.part.gate.component.GateComponentLever 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)1 GateComponentLever (com.bluepowermod.part.gate.component.GateComponentLever)1 GateComponentTorch (com.bluepowermod.part.gate.component.GateComponentTorch)1 GateComponentWire (com.bluepowermod.part.gate.component.GateComponentWire)1