Bug Report: Recipe Resolution Failures in Expanded Foods v1.7.4 on VS v1.20.12
Environment:
Vintage Story Version: v1.20.12 (Stable)
Expanded Foods Version: 1.7.4
API: Server-side
Modpack: Large modpack with 85 enabled mods.
Summary:
When loading a server with Expanded Foods v1.7.4, multiple warnings are logged indicating that several recipes from the mod are failing to resolve. This is because the recipes are referencing item codes that the game cannot find, either because they don't exist or are incorrectly named.
Specific Errors Encountered:
Based on the server-main.txt log, the following errors occur during the server startup phase:
1. Mixing Recipe Failure for yogurtmeal.json:
The game fails to find several candiedfruit items required for this recipe.
Generated code
[Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:candiedfruit-redapple in mixing recipe expandedfoods:recipes/mixing/yogurtmeal.json
[Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:candiedfruit-yellowapple in mixing recipe expandedfoods:recipes/mixing/yogurtmeal.json
[Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:candiedfruit-pinkapple in mixing recipe expandedfoods:recipes/mixing/yogurtmeal.json
(These warnings appear multiple times in the log.)
2. Kneading Recipe Failure for pasta.json:
The game fails to find several vanilla-namespaced flour ingredients, which do not exist in the base game.
Generated code
[Warning] Failed resolving crafting recipe ingredient with code game:flour-birch in kneading recipe expandedfoods:recipes/kneading/ancienttools/pasta.json
[Warning] Failed resolving crafting recipe ingredient with code game:flour-pine in kneading recipe expandedfoods:recipes/kneading/ancienttools/pasta.json
[Warning] Failed resolving crafting recipe ingredient with code game:flour-maple in kneading recipe expandedfoods:recipes/kneading/ancienttools/pasta.json
Potential Cause & Analysis:
For the yogurtmeal.json recipe, it seems the item codes for expandedfoods:candiedfruit-* are either misspelled in the recipe file or the items themselves are not being registered correctly before the recipes are loaded.
For the pasta.json recipe, the issue is that it's trying to use specific wood-based flours (game:flour-birch, game:flour-pine, etc.) from the vanilla (game:) namespace. The base game does not have these specific variants of flour. This suggests that this recipe might have an unstated dependency on another mod that adds these items, or that these ingredients should be using a generic game:flour or a different item code from Expanded Foods itself.
These unresolved recipes do not crash the server but create log spam and mean that the affected recipes are not available in-game.
To Reproduce:
Install Vintage Story v1.20.12.
Install Expanded Foods v1.7.4.
Start a new world/server.
Check the server-main.txt log file for the warnings listed above.
Thank you for your hard work on this wonderful mod!