
Nexus API
Bulk of common platform-agnostic utilities aimed at reducing boilerplate/compatibility issues, thereby streamlining mod development on MultiLoader and other platforms.
Обновлён 28 июня 2026 г. · опубликован 17 сентября 2025 г.
Nexus API
Nexus is a library mod whose core purpose is to simplify the development process as much as possible while being efficient and optimized, particularly in Multiloader project setups. It introduces a fairly large collection of abstractions and other conveniences without forcing developers to adhere to conventions strictly present on a higher level. Simply put, it gives developers tools that largely simplify/eliminate redundant tasks without baby-ing them to the extent that they can't do anything besides work with what it has to offer.
Features
- Comprehensive platform-agnostic registrar system: Allows for object registration cross-platform. However, unlike other registrar-based libraries, Nexus API's registrar provides extensive functionality for other aspects beyond simple registry hooks.
- Practical platform-agnostic utilities: Provides methods to retrieve ample information of different loader-specific implementations. Think mod data, environment side, etc.
- Straightforward platform-agnostic networking: Abstracts different networking oddities, thus allowing developers to focus on writing packets to sync information without worrying about internal quirks.
- Overarching platform-agnostic data generation system: Datagen is an often-untouched component of modding on multi-platform project setups, mainly due to the fact that picking a single loader (usually Neo/Forge) and outputting its generated data to your common sourceset suffices. Nexus API offers loader-agnostic data generation that works deterministically across all supported loaders, with its own easily-configurable system to make a typically-tedious aspect of writing code seamless and efficient.
- Property wrappers: An exhaustive utility that blends ease-of-use with efficiency. Property wrappers describe a system offered by Nexus API that allows developers to properly template and write all types of objects and any shared/associated properties.
- Fresh, easy-to-use and powerful event system: Nexus API adds its own non-intrusive yet powerful event system that cleanly interfaces across all loaders and holds its own without imposing negative performance impacts.
Developers should refer to the Nexus API Wiki for a proper overview and detailed description of all features offered by Nexus API.
Requisites
- Fabric API 0.96.2+1.20.1 or above for Fabric on 1.20.1.
F.A.Q
Q. Who is Nexus API for?
A. Nexus API targets developers who often use a Multiloader (or similar) project setup. It additionally provides substantial benefits when used by developers working with 1 specific loader, particularly when used in medium-sized or larger projects.
Q. Why use Nexus API? Why not opt for an already-existing platform like Architectury?
A. Nexus API provides its own feature set to save developers time writing otherwise annoying boilerplate code that may have compatibility issues across different loaders. Unlike Architectury, Nexus API doesn't have a platform ecosystem that you'd prefer working with in order to maximize efficiency - it's more of a one-stop shop for devs that want to get things done quickly and efficiently while maintaining compatibility and quality.
Q. How heavy is Nexus API?
A. The majority of "performance-taxing" operations in Nexus API are done during startup. Even then, Nexus API itself only adds a negligible amount of ms to startup time for standard packs (between 4 - 10s in heavier packs with larger content mods on Forge, and 10 - 20s on Fabric with similarly-heavy packs on a Xeon e5 2620 v4 CPU - tested with ~390 mods across both loaders, including content-heavy mods such as Cataclysm and Cobblemon. Times are effectively halved on more modern hardware). As for in-game runtime performance, Nexus API is heavily optimized to make virtually no noticeable performance impact at all on all fronts. In other words, it's optimized enough to where you (as a user and/or end-developer) don't need to worry about it, with or without performance optimization mods.
Версии
| Версия | Канал | Игра | Загрузчики | Дата | Скачать |
|---|---|---|---|---|---|
| 1.1.4 | Релиз | 1.20.1 | fabric | 28 июня 2026 г. | Скачать (763 КБ) |
| 1.1.4 | Релиз | 1.20.1 | forge, neoforge | 28 июня 2026 г. | Скачать (1.3 МБ) |
| 1.1.3 | Релиз | 1.20.1 | forge, neoforge | 4 мая 2026 г. | Скачать (1.3 МБ) |
| 1.1.3 | Релиз | 1.20.1 | fabric | 4 мая 2026 г. | Скачать (729 КБ) |
| 1.1.2 | Релиз | 1.20.1 | forge, neoforge | 1 апреля 2026 г. | Скачать (1.3 МБ) |
| 1.1.2 | Релиз | 1.20.1 | fabric | 1 апреля 2026 г. | Скачать (729 КБ) |
| 1.1.1 | Релиз | 1.20.1 | forge, neoforge | 1 апреля 2026 г. | Скачать (1.3 МБ) |
| 1.1.1 | Релиз | 1.20.1 | fabric | 1 апреля 2026 г. | Скачать (728 КБ) |
| 1.1.0 | Релиз | 1.20.1 | forge, neoforge | 27 марта 2026 г. | Скачать (1.3 МБ) |
| 1.1.0 | Релиз | 1.20.1 | fabric | 27 марта 2026 г. | Скачать (726 КБ) |
| 1.0.9 | Релиз | 1.20.1 | forge, neoforge | 7 января 2026 г. | Скачать (1.2 МБ) |
| 1.0.9 | Релиз | 1.20.1 | fabric | 7 января 2026 г. | Скачать (597 КБ) |
| 1.0.8 | Релиз | 1.20.1 | forge, neoforge | 1 января 2026 г. | Скачать (1.2 МБ) |
| 1.0.8 | Релиз | 1.20.1 | fabric | 1 января 2026 г. | Скачать (586 КБ) |
| 1.0.7 | Релиз | 1.20.1 | forge, neoforge | 26 декабря 2025 г. | Скачать (1.2 МБ) |
Показаны последние 15 из 30 версий.
Ченджлог
1.1.4Релиз1.20.1 · 28 июня 2026 г.
Nexus API Changelog (Fabric)
v1.1.4 (1.20.1)
Bug Fixes
- Fixed a few typos in Javadocs around the codebase, as well as minor log message inconsistencies.
- Fixed an issue in
NexusRegistryDataManager#populateRegistryEntriesFromMemorywhere duplicate entries were not properly handled by the collector used to collect all registry elements in-stream to aHashBiMap.
Internal Changes
- Changed datapack sync to use the newly-added
ServerLifeCycleEventBlueprint#DATAPACK_INDIVIDUAL_SYNCevent hooks (see "New Features" below). Internal datapack sync is now handled inNexusServerLifeCycleManager. - Moved datapack sync to
PlayerListMixininsidecommonto accommodate for the above change. - Updated dependencies to latest (required FAPI version is now 0.92.9+, Fabric Loader version is 0.19.3).
- Added fallback Mixins (as well as
NexusFabricMixinConfigPlugin) for newly-added optional reach hooks (see "New Features" below).
New Features
- Added datapack event hooks to
ServerLifeCycleEventBlueprintfor datapack reload start/end and sync. - Added
BOW,CROSSBOW, andCROSSBOW_FIREWORKtoItemPropertyWrapperTemplates. - Added
NexusAttributes, containing common attribute hooks with cross-loader-dependency-compatibility in mind (see Javadocs for more info).
1.1.4Релиз1.20.1 · 28 июня 2026 г.
Nexus API Changelog (Forge)
v1.1.4 (1.20.1)
Bug Fixes
- Fixed a few typos in Javadocs around the codebase, as well as minor log message inconsistencies.
- Fixed an issue in
NexusRegistryDataManager#populateRegistryEntriesFromMemorywhere duplicate entries were not properly handled by the collector used to collect all registry elements in-stream to aHashBiMap.
Internal Changes
- Changed datapack sync to use the newly-added
ServerLifeCycleEventBlueprint#DATAPACK_INDIVIDUAL_SYNCevent hooks (see "New Features" below). Internal datapack sync is now handled inNexusServerLifeCycleManager. - Moved datapack sync to
PlayerListMixininsidecommonto accommodate for the above change. - Updated dependencies to latest (Forge version is now 47.4.20).
New Features
- Added datapack event hooks to
ServerLifeCycleEventBlueprintfor datapack reload start/end and sync. - Added
BOW,CROSSBOW, andCROSSBOW_FIREWORKtoItemPropertyWrapperTemplates. - Added
NexusAttributes, containing common attribute hooks with cross-loader-dependency-compatibility in mind (see Javadocs for more info).
1.1.3Релиз1.20.1 · 4 мая 2026 г.
Nexus API Changelog (Forge)
v1.1.3 (1.20.1)
Bug Fixes
- Made
ForgeRegistrar#getDynamicRegistriesimpl consider dimension registries viaDataPackRegistriesHooks#getDataPackRegistriesWithDimensions. - Fixed misc. logical errors in recipe templates provided in
RecipeUtil. - (Not really a bug fix) Bumped log level for
StandardBlockStateProviderelements down todebugfrominfofor consistency with other providers. - Implemented
getNameforStandardSoundDefinitionProvider. - Patched
DefaultableMultiLayerPlantBlockto allow for custom levelIntegerPropertyspec without breaking due to superconstructor calls toBlock#createBaseDefinitiomrunning before the pertaining property gets initialized via a pre-constructor initializer hack. - Deleted leftover test code in
NexusRegistryDataManager.
- Deleted leftover test code in
1.1.3Релиз1.20.1 · 4 мая 2026 г.
Nexus API Changelog (Fabric)
v1.1.3 (1.20.1)
Bug Fixes
- Made
FabricRegistrar#getDynamicRegistriesimpl consider dimension registries via stream concatenation ofDynamicRegistries#getDynamicRegistriesandRegistryDataLoader#DIMENSION_REGISTRIES. - Fixed misc. logical errors in recipe templates provided in
RecipeUtil. - (Not really a bug fix) Bumped log level for
StandardBlockStateProviderelements down todebugfrominfofor consistency with other providers. - Implemented
getNameforStandardSoundDefinitionProvider. - Patched
DefaultableMultiLayerPlantBlockto allow for custom levelIntegerPropertyspec without breaking due to superconstructor calls toBlock#createBaseDefinitiomrunning before the pertaining property gets initialized via a pre-constructor initializer hack. - Deleted leftover test code in
NexusRegistryDataManager.
1.1.2Релиз1.20.1 · 1 апреля 2026 г.
Nexus API Changelog (Forge)
v1.1.2 (1.20.1)
Bug Fixes
- Made
StandardSoundDefinitionProvideractually generatesounds.json. Added debug logging for entry generation.
1.1.2Релиз1.20.1 · 1 апреля 2026 г.
Nexus API Changelog (Fabric)
v1.1.2 (1.20.1)
Bug Fixes
- Made
StandardSoundDefinitionProvideractually generatesounds.json. Added debug logging for entry generation.
1.1.1Релиз1.20.1 · 1 апреля 2026 г.
Nexus API Changelog (Forge)
v1.1.1 (1.20.1)
New Features
- Added composition support for Property Wrapper Builders via
PropertyWrapperBuilder#compose, which allows for the chaining of builder methods that take the parent object as input for further context where needed (see the javadoc for more info). - Added
"_lump"toRegistryUtil#MATERIAL_SUFFIXES.
1.1.1Релиз1.20.1 · 1 апреля 2026 г.
Nexus API Changelog (Fabric)
v1.1.1 (1.20.1)
New Features
- Added composition support for Property Wrapper Builders via
PropertyWrapperBuilder#compose, which allows for the chaining of builder methods that take the parent object as input for further context where needed (see the javadoc for more info). - Added
"_lump"toRegistryUtil#MATERIAL_SUFFIXES.
Комментарии
Загружаем…