use of me.desht.pneumaticcraft.common.progwidgets.ProgWidgetLogistics in project pnc-repressurized by TeamPneumatic.
the class ItemLogisticsDrone method addLogisticsProgram.
private void addLogisticsProgram(BlockPos pos, 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 = pos.getX() - 16;
area.y1 = pos.getY() - 16;
area.z1 = pos.getZ() - 16;
area.x2 = pos.getX() + 16;
area.y2 = pos.getY() + 16;
area.z2 = pos.getZ() + 16;
widgets.add(area);
TileEntityProgrammer.updatePuzzleConnections(widgets);
}
Aggregations