Shared systems
These systems are in the documented Fundamentum 1.30.0 builds. They let a pack or an addon supply the content while the library handles the shared behavior.
Stats and survival
| System |
What a pack or addon can do |
| Stats |
Declare named numbers for players, mobs and item stacks under data/<namespace>/fundamentum/stats/. A value can be stored or read from an attribute, mana, an unlock, a vanilla statistic or a scoreboard score. It can appear in the HUD, the stats screen and item tooltips. |
| Startup attributes |
A mod can include declarations at META-INF/fundamentum/stats.json. These are handled at startup, separately from reloadable world stat definitions. The public entry point is attribute.StartupStats. |
| Survival meters |
Define thirst, temperature or another meter with rules for filling, draining and effects at its limits. Meters use the stat system and can have HUD bars. A pack or addon supplies the definitions; the library does not add thirst by itself. |
| Stat changes |
Addons can respond to Events.StatChanged. The Stats API reads and changes base values and modifiers. /fundamentum stat provides the player-facing commands. |
Structures and shared content
| System |
What it provides |
| Multiblocks |
Layered patterns under data/<namespace>/fundamentum/multiblocks/, with block, tag and state keys. A pattern can allow rotation and mirroring. Matching, formed/unformed events, missing-block previews and recipe-viewer pages share one definition. |
| Pattern parts |
In 1.30.0, an addon can read cells and world positions by key and attach extra data to a key. That lets a machine find the parts of its formed pattern. |
| Unlocks |
Track a player or team’s progress by id, with levels, prerequisites, grant sources and conditions. |
| Shared events |
A common event vocabulary for spells, bosses, quests, reputation and the library’s own systems. Listeners can use the code event type or its id. |
| Energy and fluids |
Helpers for buffers, tanks, neighboring transfers and screen synchronization over the loader’s handlers. |
| Recipe viewers |
A shared declaration for recipe layouts, catalysts, information, item hiding and subtypes. JEI and REI are supported where available; EMI support is for 1.21.1 and 1.20.1. |
| Item unification |
Choose a preferred material item and use that choice in recipes, drops and inventories, with separate switches for the affected systems. |
| Shared guides |
Searchable books and chapters from resource packs, with item, recipe, multiblock, mob and picture embeds and unlock conditions. |
World and presentation
| System |
What it provides |
| Climate and seasons |
Temperature and humidity from the world around a position, plus optional seasons. Seasons are off by default. Serene Seasons can supply them on the versions where it is supported. |
| Food hooks |
Events and modifiers for eating and drinking, with food groups from data and tags. |
| Mob goals |
Data-driven goals for ordinary goal-based mobs, including movement, ranged combat and boss phase gates. Brain-based mobs keep their own behavior. |
| Music rules |
Tracks selected by world and combat conditions, with priority, fades and volume controls. |
| HUD layout |
Anchors, offsets, scale, opacity and visibility for shared HUD elements, with an editor. |
| Configs |
Shared declarations, server synchronization, per-world values and a common configuration screen. |
See the Java API for the public entry points and Versions for target coverage.