Truly Modular: Miapi
Truly Modular: Modular Item API is a modern cross-platform, data-driven Modular Item API. It allows addons/other mods to easily implement highly complex Modular Items.
Dependencies:
- Forge/Neoforge
- Fabric/Quilt
If you are a user, this API is basically contentless. Consider checking:
Arsenal
A melee weapon and tool-focused addon
Archery
Focusing on bows, crossbows, and modular arrows
Armory
Modular armor
For Developers:
- Miapi includes various default APIs to streamline cross-platform mod modular item mod development.
- Material stats and their reference:
- You can simply add a new key to the Material.json and reference them like this "armor_pen": "[material.hardness]*2.0 20", within the module.json
- For examples, one can always check the Arsenal, Archery, and Armory repositories.
- Usable GUI APIs and default extendable Crafter GUI.
- Complex module properties and custom per-property resolving.
- Almost 100 default materials and dozens of default properties to be used.
- Complex and extendable per-module rendering allowing easy implementation of custom new model types and by default extended 3D capabilities.
- Synergies, property injections, and skins are multiple systems that are able to add/modify a module's and/or item's properties.
- Generative Materials: Truly Modular automatically tries to scan other mods' content to add materials automatically. Handmade materials are obviously higher quality, but this adds a good bridge while there is no dedicated compatibility.
- If you have any additional questions, feel free to ask on our discord.
FAQ:
- What launcher is this for? Forge? Fabric?
- Both, check the jars
- Backport to older versions?
- Is not planned. There are many features in Truly Modular which have a significantly higher priority than backporting. Once the list of ideas is smaller, we might consider backporting.
- Is X mod supported?
- probably? Generative Compatiblity has a high chance of working with most mods out of the box. You can check https://github.com/Truly-Modular/Modular-Item-API/blob/main/COMPAT.md for more informations or to report issues
- Can I write an addon for this?
- Can I use this in a modpack?
- yes