MariesLib 0.1.2-beta.2 для Minecraft 1.21.1 (NeoForge)
Тестовая версия — возможны ошибки.
Файлы · 1
Что изменилось
✨ Added
- Datapack diagnostics show files that failed to load. `/ diagnostics
used to list only files with missing or wrong fields. It now also lists files that passed that check but still failed to load, as errors, with the full file path (for examplesource_classifications/my_file.json`). Before, these only showed up in the log, and the logged path was missing its folder. - Warnings for unknown item ids. Food overrides and item source classifications now warn when an item id doesn't exist even though its mod is installed, which is usually a typo. Ids from mods that aren't installed are skipped quietly instead of filling the list with warnings.
- Empty tags are warnings, not errors. A source classification that points at a tag with no items in it now shows as a warning instead of an error.
- Draggable scroll bar. Long lists in option panels and the Item Editor, like Browse Items, can be scrolled by grabbing and dragging the scroll bar, not just with the mouse wheel. The whole scroll bar strip can be grabbed, not just the thin bar itself.
🧩 For addon developers
- Synthetic recipe step. A new optional resolver slot,
RuntimeCascadeStage.SYNTHETIC_RECIPE, runs only when an item has no recipe (NO_RECIPE_FOUND). Your mod can use it to classify recipe-less foods, for example by name. Its result is merged the same way as a normal recipe result, is markedsynthetic: truein the trace, and feeds namespace peers like recipe inheritance does. It's added afterHARD_FALLBACK, so existing five-slot resolver arrays keep their indices. RecipeInheritanceResolver#getRecipes(ResourceLocation). Returns one ingredient list per recipe, ordered by recipe id.getIngredientslumps every recipe for an item into one list, so a food with furnace, smoker and campfire recipes listed its raw ingredient three times, and anything adding up ingredients counted it three times.getIngredientsitself is unchanged, so existing results don't move.MarieDataLoader#checkItemExists(itemId, path, field). Lets your own loaders give the same "unknown item id" warning in diagnostics.
🔧 Changed
- Item Editor recipe preview. It shows one recipe again instead of cycling through every way to make the item, and the "N/M" counter is gone.
- Create machines removed as stations. Create's Mixer, Press, Millstone and Deployer are no longer used as the station in the recipe preview. They took priority over the crafting table and always showed as a flat icon, so items with both a Create recipe and a normal crafting recipe (common with Create food addons) showed the wrong one.
Full details: CHANGELOG.md