Programmer — PNC:R Руководство (PneumaticCraft: Repressurized) | Вики PiglinMine
Drone Programming

Programmer

Мод не переведён на русский — текст на английском, как в игре. Рецепты и предметы ниже — с нашими названиями.

Crafting a Programmer

Programmer GUI: see following pages for information on each section/$

1. Main Programming Area/$

This area is where your actual actual program is built. Widgets are dragged here from the widget tray (area 2)/$ and 'snapped' together to form programs.

You can zoom in and out of the programming area with the mouse wheel, or with the scrollbar on the right-hand side.

2. Widget Tray/$

This area holds the widgets you will use to build your program. It holds more widgets than are shown; you can cycle through pages with the arrow buttons under the tray, or expand the tray to show all widgets with Space/$ or Tab/$.

When expanded, the tray will also show a textfield above where you can enter a filter string to search for widgets.

4. Difficulty Selection/$

These radio buttons control which of the programming widgets are available in the tray. They also enable/disable some advanced features, such as variables/$.

5. Player Inventory/$

Your own inventory; if you have any GPS Tools/$ or GPS Area Tools/$, you can click them on Area/$ or Coordinate/$ widgets to transfer their settings to the widget.

7. Misc Buttons/$

The buttons along the left-hand edge of the GUI allow (in order):
• Undo/$ of up to the last 20 actions
• Redo/$ of the previous undo
• Import or Export/$ your program as a JSON file to pastebin.com/$ (Pastebin login optional)
• Delete/$ your entire program (can be undone)
• Convert/$ your program to Relative/$ co-ordinates (see this page/$ for more information)

Progwidget IDs

If you toggle on extended tooltip information with F3+H/$, you will notice that the tooltip for each programming widget also includes the internal widget ID at the end. This is primarily of benefit if you intend to do any drone programming with the Drone Interface/$ - the setAction()/$ Lua method in the Drone Interface takes these IDs (the pneumaticcraft:/$ prefix is optional) as a parameter.

Sharing Programs

If you want to share your programs with other players, you have a couple of options:
• You can use the Pastebin/$ button to export your program to pastebin.com/$
• The Pastebin/$ GUI also allows writing the program to the clipboard for copying & pasting
• You can save your program to a Drone/$ or Network Storage/Network API/$ and give the item to another player on your server.

Convert to Relative

Say you've designed a program that runs an automated farm and you want to share this. People on a different world will have their farm at different coordinates, so they would have to change every single Area/$ widget; what a pain.

The Convert to Relative/$ button makes this easier; it also provides tooltips indicating what you need to do to convert your program.

Convert to Relative (cont.)

JEI Integration

JEI Integration (cont)

By default, only one Item Filter is added for each unique item type (e.g. for a Stone Slab/$ recipe, only one Stone/$ filter will be created, not three). Remember that widgets can be copied by middle-clicking and dragging. If you want to add an Item Filter for every item in the recipe, including duplicates, hold Shift when clicking the '+' button in JEI.