Error Codes
FA-REF-001
Available since 0.1.0
A file points at an id that does not exist.
| Severity | Error: the definition is not loaded |
|---|---|
| Category | reference |
| Message | Unknown {kind} '{value}'. |
| Suggestion | Did you mean {candidates}? |
| Since | 0.1.0 |
Why this happened
A file points at something by id, and nothing with that id exists: a recipe naming a machine, a widget naming a storage, a machine naming a screen. Usually it is a typo, and the message suggests the id you probably meant.
It also happens when the file being pointed at has its own error and was not loaded. If a machine has an error, its recipes report that the machine is unknown: fix the machine's error first.
Wrong
A recipe with a typo in the machine id:
"machines": [
"mypack:iron_smelte"
]recipes/smelt_iron.json:1:1 /machines/0 [FA-REF-001] Unknown machine 'mypack:iron_smelte'.
Suggestion: Did you mean 'mypack:iron_smelter'?Fixed
"machines": [
"mypack:iron_smelter"
]How to fix
- Compare the id in the message with the id of the file you meant: they must match exactly.
- If they match, look for another error in the file being pointed at; once it loads, this error disappears.
- For blocks, items and fluids of other mods, export your modpack's catalog with /foundry export so the validator knows them.