What is Modular Augment?
Modular Augment is an additional module for the Modular Machinery mod that introduces an important change to the crafting process. The main feature of this addon is that certain resources are consumed not at the beginning of item creation, but upon completion of the recipe.
How the System Works
To use deferred resource consumption in Modular Machinery recipes, you need to specify a special item type: modularaugment:deferred. This parameter works exclusively for input data (io-type: input) and does not support additional arguments like chance or any:fuel.
The type of consumed resource is determined by the presence of keys in the configuration:
item- for itemsfluid- for fluidsgas- for gases
Configuration Examples
{
"type": "modularaugment:deferred",
"io-type": "input",
"item": "ore:plankWood",
"amount": 3
}
{
"type": "modularaugment:deferred",
"io-type": "input",
"fluid": "water",
"amount": 1000
}
{
"type": "modularaugment:deferred",
"io-type": "input",
"gas": "oxygen",
"amount": 1000
}
Operation Features
- Resources are still required to start the crafting process
- When creating an item with deferred consumption, resources remain in the input container until the process is completed
- Removing resources during crafting will reset progress to 0%
- With multiple input containers, it's possible to transfer resources between them without interrupting the recipe
- For items with oredict type (ore:*), replacement with a corresponding item from the dictionary is allowed