use of pneumaticCraft.common.progwidgets.ProgWidgetLogistics in project PneumaticCraft by MineMaarten.
the class ItemLogisticsDrone method addLogisticsProgram.
private void addLogisticsProgram(int x, int y, int z, List<IProgWidget> widgets) {
ProgWidgetStart start = new ProgWidgetStart();
start.setX(0);
start.setY(0);
widgets.add(start);
ProgWidgetLogistics logistics = new ProgWidgetLogistics();
logistics.setX(0);
logistics.setY(11);
widgets.add(logistics);
ProgWidgetArea area = new ProgWidgetArea();
area.setX(15);
area.setY(11);
area.x1 = x - 16;
area.y1 = y - 16;
area.z1 = z - 16;
area.x2 = x + 16;
area.y2 = y + 16;
area.z2 = z + 16;
widgets.add(area);
TileEntityProgrammer.updatePuzzleConnections(widgets);
}
Aggregations