About
Unified API is a cross-loader API for both Fabric & NeoForge that enables you to create multiloader mods at no additional effort.
It is also a data-focused library that provides powerful new features to datapacks and resource packs, including data-driven blocks, items, entity variants and much more.
Additionally, this library is an advanced data generator for modders, with unified registration generators that put all your block, item and entity code in the one place.
The goal of this project is to provide an up-to-date, efficient & flexible way of creating modded content at a much faster pace than what is typically afforded both by competing multiloader projects and the official loaders themselves.
To prove the true extent of these features, you'll need to visit the Unified API Documentation.
Feature Highlights
All-in-one registration generation.
Register your content in one place. All behaviour is handled by vanilla and Unified API-specific JSON, generated from this code. JSON can then be overriden by users or other projects for full customisability.
public static final SuppliedItem EXAMPLE_ITEM = ITEMS.register(
"example_item",
VanillaItemCodecs.ITEM.create(),
builder -> builder
.properties(properties -> properties
.stacksTo(16)
.rarity(Rarity.UNCOMMON)
)
.assets(assets -> assets
.handheld()
)
.data(data -> data
.dropSelf()
)
);
Data-driven Registries
Blocks, Items, Entities, Creative Tabs, Sound Events and more can all be created via JSON.
{
"type": "minecraft:block",
"properties": {
// properties go here
}
}
Traditional Multiloader Deferring
In a multiloader environment, your content needs to be deferred. UnifiedRegistries coupled with Supplied<Object> handles this much like other multiloader projects, with some convenient bonuses.
Extensive Events & Helpers
Modify biome attributes or features, change default components, inject loot tables or alter individual entries, create mob variants and much more - supported via both code-driven events and data-driven listeners.
Furthermore, there is a full networking api, data attachments, structure-specific music and anything else you'd expect to need when making complex mods.
Instantly create entire sets
Common, tedious-to-create content like woodsets, brick sets, colored sets, equipment sets and more can be generated as JSON in an instant, with all functionality you'd normally spend a while creating manually. Cutting down on meaningless busywork was a major motivator in creating Unified API over using options already out there.
An Absurd Amount More
The goal of Unified API is to drastically reduce the time it takes to add modded content, whilst additionally exposing many new features to non-modders. You do not need to use another api alongside this one, and migration from your existing systems should be relatively simple considering the inclusion of more traditional registries alongside new, more agile features.
Once again, be sure to check out unified-api.dev for documentation and the full feature set!
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 6d ago | 1 | ||||
| 6d ago | 1 | ||||
| 6d ago | 1 | ||||
| 6d ago | 1 | ||||
| 6d ago | 1 | ||||
| 6d ago | 1 | ||||
| 6d ago | 1 | ||||
| 6d ago | 1 | ||||
| 6d ago | 1 | ||||
| 6d ago | 1 | ||||
| 6d ago | 1 | ||||
| 6d ago | 1 | ||||
| 9d ago | 1 | ||||
| 9d ago | 1 | ||||
| 9d ago | 1 | ||||
| 9d ago | 1 | ||||
| 9d ago | 1 | ||||
| 9d ago | 1 | ||||
| 9d ago | 1 | ||||
| 9d ago | 1 | ||||
| 9d ago | 1 | ||||
| 9d ago | 1 | ||||
| 10d ago | 1 | ||||
| 10d ago | 1 | ||||
| 10d ago | 1 | ||||
| 10d ago | 1 | ||||
| 10d ago | 1 | ||||
| 10d ago | 1 | ||||
| 10d ago | 1 | ||||
| 10d ago | 1 | ||||
| 10d ago | 1 | ||||
| 10d ago | 1 | ||||
| 10d ago | 1 | ||||
| 10d ago | 1 | ||||
| 10d ago | 1 | ||||
| 10d ago | 1 | ||||
| 10d ago | 1 | ||||
| 10d ago | 1 | ||||
| 10d ago | 1 | ||||
| 10d ago | 1 | ||||
| 10d ago | 1 | ||||
| 10d ago | 1 | ||||
| 10d ago | 1 | ||||
| 10d ago | 1 | ||||
| 11d ago | 1 | ||||
| 11d ago | 1 | ||||
| 11d ago | 1 | ||||
| 11d ago | 1 | ||||
| 11d ago | 1 | ||||
| 11d ago | 1 | ||||
| 12d ago | 1 | ||||
| 12d ago | 1 | ||||
| 12d ago | 1 | ||||
| 12d ago | 1 | ||||
| 12d ago | 1 | ||||
| 12d ago | 1 | ||||
| 12d ago | 1 | ||||
| 12d ago | 1 | ||||
| 12d ago | 1 | ||||
| 12d ago | 1 | ||||
| 12d ago | 1 | ||||
| 12d ago | 1 | ||||
| 12d ago | 1 | ||||
| 12d ago | 1 | ||||
| 12d ago | 1 | ||||
| 12d ago | 1 | ||||
| 12d ago | 1 | ||||
| 12d ago | 1 | ||||
| 17d ago | 1 | ||||
| 17d ago | 1 | ||||
| 17d ago | 1 | ||||
| 17d ago | 1 | ||||
| 17d ago | 1 | ||||
| 17d ago | 1 | ||||
| 19d ago | 1 | ||||
| 19d ago | 1 | ||||
| 19d ago | 1 | ||||
| 19d ago | 1 | ||||
| 19d ago | 1 | ||||
| 19d ago | 1 | ||||
| 19d ago | 1 | ||||
| 19d ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 5mo ago | 1 | ||||
| 5mo ago | 1 | ||||
| 5mo ago | 1 | ||||
| 5mo ago | 1 | ||||
| 5mo ago | 1 | ||||
| 5mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 |
- This beta has many definition changes. Make sure to check out the latest documentation on [unified-api.dev](https://unified-api.dev/)*
- This beta has many definition changes. Make sure to check out the latest documentation on [unified-api.dev](https://unified-api.dev/)*
- This beta has many definition changes. Make sure to check out the latest documentation on [unified-api.dev](https://unified-api.dev/)*
- This beta has many definition changes. Make sure to check out the latest documentation on [unified-api.dev](https://unified-api.dev/)*
- This beta has many definition changes. Make sure to check out the latest documentation on [unified-api.dev](https://unified-api.dev/)*
- This beta has many definition changes. Make sure to check out the latest documentation on [unified-api.dev](https://unified-api.dev/)*
_This is in Beta, and thus both incompatible with mods dependant on pre-rewrite releases of Unified API whilst also being prone to breaking changes and bugs. Make sure to report them!_
_Documentation soon._
_This is in Beta, and thus both incompatible with mods dependant on pre-rewrite releases of Unified API whilst also being prone to breaking changes and bugs. Make sure to report them!_
_Documentation soon._
_This is in Beta, and thus both incompatible with mods dependant on pre-rewrite releases of Unified API whilst also being prone to breaking changes and bugs. Make sure to report them!_
_Documentation soon._
_This is in Beta, and thus both incompatible with mods dependant on pre-rewrite releases of Unified API whilst also being prone to breaking changes and bugs. Make sure to report them!_
_Documentation soon._
WoodSet- sign and hanging signs now use the block description prefix
- the set's
WoodTypeandBlockSetTypeare now automatically registered BlockSet- the set's
BlockSetTypeis now automatically registered
WoodSet- sign and hanging signs now use the block description prefix
- the set's
WoodTypeandBlockSetTypeare now automatically registered BlockSet- the set's
BlockSetTypeis now automatically registered
WoodSet- sign and hanging signs now use the block description prefix
- the set's
WoodTypeandBlockSetTypeare now automatically registered BlockSet- the set's
BlockSetTypeis now automatically registered
WoodSet- sign and hanging signs now use the block description prefix
- the set's
WoodTypeandBlockSetTypeare now automatically registered BlockSet- the set's
BlockSetTypeis now automatically registered
- new
CreativeModeTabBuilder - used to build custom creative tabs, which can then be registered via the Unified's deferred registry
ColoredItemSet- new
setComponentWithDye - used to add components using a per-item
DyeColor
Changed
ColoredItemSet- fixed individually-set components not applying
- new
CreativeModeTabBuilder - used to build custom creative tabs, which can then be registered via the Unified's deferred registry
ColoredItemSet- new
setComponentWithDye - used to add components using a per-item
DyeColor
Changed
ColoredItemSet- fixed individually-set components not applying
- new
CreativeModeTabBuilder - used to build custom creative tabs, which can then be registered via the Unified's deferred registry
ColoredItemSet- new
setComponentWithDye - used to add components using a per-item
DyeColor
Changed
ColoredItemSet- fixed individually-set components not applying
- new
CreativeModeTabBuilder - used to build custom creative tabs, which can then be registered via the Unified's deferred registry
ColoredItemSet- new
setComponentWithDye - used to add components using a per-item
DyeColor
Changed
ColoredItemSet- fixed individually-set components not applying
BlockPreset- new
SULFURandPOLISHED_SULFURpresets - new
CINNABARandPOLISHED_CINNABARpresets
Changed
WoodSet- deprecated
setLeafSoundTypeandgetLeafSoundTypein favour of newsetLeavesSoundTypeandgetLeavesSoundTyperespectively WoodPresetWoodPreset.CHERRYnow includes Cherry Leaves sounds- deprecated
UnifiedRegistries.BlockEntityTypes - deprecated
UnifiedRegistries.CreativeTabs
BlockPreset- new
SULFURandPOLISHED_SULFURpresets - new
CINNABARandPOLISHED_CINNABARpresets
Changed
WoodSet- deprecated
setLeafSoundTypeandgetLeafSoundTypein favour of newsetLeavesSoundTypeandgetLeavesSoundTyperespectively WoodPresetWoodPreset.CHERRYnow includes Cherry Leaves sounds- deprecated
UnifiedRegistries.BlockEntityTypes - deprecated
UnifiedRegistries.CreativeTabs
WoodSet- deprecated
setLeafSoundTypeandgetLeafSoundTypein favour of newsetLeavesSoundTypeandgetLeavesSoundTyperespectively WoodPresetWoodPreset.CHERRYnow includes Cherry Leaves sounds- deprecated
UnifiedRegistries.BlockEntityTypes - deprecated
UnifiedRegistries.CreativeTabs
WoodSet- deprecated
setLeafSoundTypeandgetLeafSoundTypein favour of newsetLeavesSoundTypeandgetLeavesSoundTyperespectively WoodPresetWoodPreset.CHERRYnow includes Cherry Leaves sounds- deprecated
UnifiedRegistries.BlockEntityTypes - deprecated
UnifiedRegistries.CreativeTabs
UnifiedRegistries.BlockEntityTypes- added
register(String path, BlockEntityType.BlockEntitySupplier<T> builder, Supplier<? extends BlockLike>... blocks)
Changed
ColoredBlockSetandColoredItemSet- fixed crash when
creativeInventoryPlacementisn't used UnifiedHelpers.DATA_PACKSandUnifiedClientHelpers.RESOURCE_PACKS[26.2]addOptionalnow defaults to disabled on Fabric, matching NeoForge behaviourPackType[26.1]OPTIONAL_RESOURCESandOPTIONAL_DATAnow default packs to disabled on Fabric, matching NeoForge behaviourUnifiedRegistries.BlockEntityTypes- deprecated
register(String path, BlockEntityType.BlockEntitySupplier<T> builder, BlockLike... blocks) - fixed NeoForge crash caused by incorrect event bus for server reload listeners
UnifiedRegistries.BlockEntityTypes- added
register(String path, BlockEntityType.BlockEntitySupplier<T> builder, Supplier<? extends BlockLike>... blocks)
Changed
ColoredBlockSetandColoredItemSet- fixed crash when
creativeInventoryPlacementisn't used UnifiedHelpers.DATA_PACKSandUnifiedClientHelpers.RESOURCE_PACKS[26.2]addOptionalnow defaults to disabled on Fabric, matching NeoForge behaviourPackType[26.1]OPTIONAL_RESOURCESandOPTIONAL_DATAnow default packs to disabled on Fabric, matching NeoForge behaviourUnifiedRegistries.BlockEntityTypes- deprecated
register(String path, BlockEntityType.BlockEntitySupplier<T> builder, BlockLike... blocks) - fixed NeoForge crash caused by incorrect event bus for server reload listeners