Planting Station - lostmyself8/Mekanism-MoreMachine GitHub Wiki
Note:
To load the recipe correctly, the following conditions need to be met:
- The main output cannot be empty
- Set the "per_tick_usage" field
When "per_tick_usage" is true, the recipe consumes chemicals per tick. If the machine needs 200 ticks to complete a recipe and your "amount" in Json is 2, then the final consumption of chemicals is 400mb.
When "per_tick_usage" is false, the machine will only consume chemicals after executing the recipe. For example, if the "amount" in Json is 200, then the recipe will ultimately consume 200mb of chemicals.
Single item output:
{
"type": "mekmm:planting",
"item_input": {
"count": 1,
"item": "minecraft:bamboo"
},
"chemical_input": {
"amount": 1,
"chemical": "mekmm:nutrient_solution"
},
"main_output": {
"count": 3,
"id": "minecraft:bamboo"
},
"per_tick_usage":true
}
Multi item output:
{
"type": "mekmm:planting",
"item_input": {
"count": 1,
"item": "minecraft:pumpkin_seeds"
},
"chemical_input": {
"amount": 1,
"chemical": "mekmm:nutrient_solution"
},
"main_output": {
"count": 1,
"id": "minecraft:pumpkin_seeds"
},
"secondary_output": {
"count": 1,
"id": "minecraft:pumpkin"
},
"per_tick_usage":true
}
The secondary output after 1.21.1-1.2.1 and 1.20.1-1.1.0 is the probability output, add the key "secondaryChance"