Progress bar element
Customize the recipe progress arrow in the machine gui.
The progress bar element is used to render a progress bar in the Machine GUI (see the arrow that is slowly filled in the furnace GUI while smelting ? That's a progress bar).
Progress bar elements are defined in json with : "type": "custommachinery:progress"
.
You can add as much Progress Bar Elements as you want but they will all be filled at the same time since the machine can only process 1 recipe at a time.
When hovering the progress bar in jei with advanced item tooltips enabled (F3 + H), the progress bar tooltip will display the recipe ID. You can disable the need of enabling item tooltips in the config by setting needAdvancedInfoForRecipeID
to false.
Properties
The progress bar element has 3 mandatory properties and 10 optional properties :
Mandatory properties
"type": "custommachinery:progress" //Mandatory to define a progress bar element.
Optional properties
Example
A basic Progress Bar Element using the default textures :
{
"type": "custommachinery:progress",
"x": 116,
"y": 50
}
Result :

In this example JEI is installed and display a "Show Recipes" tooltip when the mouse hover the element.
Last updated