❓ What does the first text field in the hysteresis settings mean?
This setting defines a hysteresis — a range of values where the system will not toggle its state (on/off), to prevent frequent switching.
- First field — the minimum value (lower threshold).
- Second field — the maximum value (upper threshold).
⚠️ Hysteresis only works if the first field (minimum) is set to a value greater than
0
.
🔄 How does hysteresis work in AFK-Crafter?
Let’s say you set up autocrafting for iron plates:
- Minimum:
200
→ crafting turns on if you have less than 200 plates. - Maximum:
1000
→ crafting turns off if you have more than 1000 plates.
📦 In action:
1. The crafter will keep running until you have more than 1000 plates.
2. Once you pass that max, it will stop crafting.
3. It will only restart when the count drops below 200.
🧩 This prevents the crafter from toggling rapidly when your item count is hovering near a single number (like 999 ↔ 1000).
🛠️ Why is hysteresis useful?
Without it, the crafter could toggle constantly if your item count goes up and down slightly. Hysteresis keeps crafting stable and efficient, especially in setups with frequent inventory changes.
⚙️ What is the condition block under each recipe?
This block sets a crafting condition — the recipe only runs if the condition is true.
It includes:
- A comparison (e.g. >=
, !=
)
- A number
- An item to check
Example:
If set to >= 500 Iron Plates
, the recipe will only craft if you have at least 500 plates.
🧩 Use it to:
- Stop crafting when you have enough
- Add extra requirements
Leave it empty to disable the condition.