wunderlib-26.401.0-fabric [26.4-pre-2]
Curse Maven Snippet
What's new
Architecture & Migration
- Multi-Module Build & Base Modules: Converted WunderLib into a multi-module build and absorbed the 14 base API modules from WorldWeaver under the
wundernamespace. - Registry Aliases: Added
RegistryAliases(includingblockAndItem) to redirect renamed or vanilla-replaced IDs seamlessly, with aliases for 26.302.xwoverIDs.
Features
- Welcome Screen Framework: Built the welcome screen from registered lines and headers—tracks seen entries, re-opens when a mod adds new options (marked
NEW), supports first-time presets, selects the header matching the most installed mods, and preserves prior player choices. - Vanilla Tool Extensions: Added
ItemBlockTransformers.extendto register custom blocks with vanilla shovel, axe, and hoe transformers (keeping vanilla sounds, particles, loot, durability, advancements, and game events).StripableTraitnow uses this as well. - Creative Tabs: Added
CreativeTabVariantsfor multi-stack item variants (includingwunder:creative_states),setSortOrderfor runtime stack sorting, andsortedBy/filteredByon creative tab keys for data generation. - Block Models & Tinting:
- Blocks can now specify custom template models/textures, reuse another block's models, or skip model generation for hand-authored assets.
- Added
BlockModel.clientBuiltandClientModelTemplates.supplyso split common/client mods can declare model templates in common code while supplying builders from the client source set. - Added
Flags.TINT.grass()andFlags.TINT.foliage()("biome": "grass"/"foliage") for biome-tinted blocks and items.
- Material Item Tags: Materials can now declare
item_tagsalongside blocktagsfor their generated block items. - Runtime Advancements & Recipe Disabling:
- Added
RuntimeAdvancements.BOOTSTRAP_ADVANCEMENTSto register dynamic advancements on world load and/reload. - Data packs can disable any recipe (including runtime recipes) by listing its ID under
"disable"indata/<namespace>/config/recipes.json(unknown IDs are ignored with a warning).
- Added
- Slab Loot Templates: Added
LootLookupProviderhelpers (dropSlab,dropSlabWithSilkTouch) and loot templates (wunder:loot/drop_slab_other,silk_touch_slab,silk_touch_slab_or). - Config & Testing Utilities: Added
ConfigFile.removeValuesandConfigFile.isSavedfor migrating options out of old config files, andDeclaredCompostinwunder-test-apifor verifying declared compost chances in game tests.
Changes
- Reloadable Registry Integration: Runtime recipes and advancements are now registered directly into the reloadable registries before they freeze, so
/recipeand/advancementresolve them and data packs take precedence over runtime entries with the same ID. - Strict Loot Table Generation: Blocks without a loot table must now declare the
wunder:no_loot_tableflag (LootTableFactory.buildBlockLootno longer acceptsnull). Data generation validates one writer per table and fails loudly on duplicate claims, unregistered providers, or unbuildable tables. - Resilient Pack Loading: Broken
wunder-packspacks are now disabled instead of preventing the game from starting.
Fixes
- Pack-Scoped & Conditional Data Generation:
- Blocks claimed by
PackBlockTraitLootProviderare no longer also emitted into the global pack byAutoBlockTraitLootProvider. - Generated loot tables and recipes for conditional blocks/items now include load conditions covering all referenced conditional entries.
- Blocks claimed by
- Runtime Item Models: Items defined in code at runtime now generate models from their definitions just like definition-file items.
- Game Test Mixin Warning: The
wunder-test-apigame test mixin is now only applied when Fabric's Game Test API is loaded, avoiding missing-target warnings in normal gameplay.
This mod has no additional files

