All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Unified API

Unified API

by Rebel459 • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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
26.3
Fabric
2d ago 1
26.3
Neoforge
2d ago 1
26.2
Fabric
2d ago 1
26.2
Neoforge
2d ago 1
26.1.x
Fabric
2d ago 1
26.1.x
Neoforge
2d ago 1
26.3
Fabric
2d ago 1
26.3
Neoforge
2d ago 1
26.2
Fabric
2d ago 1
26.2
Neoforge
2d ago 1
26.1.x
Fabric
2d ago 1
26.1.x
Neoforge
2d ago 1
26.3
Fabric
6d ago 1
26.3
Neoforge
6d ago 1
26.2
Fabric
6d ago 1
26.2
Neoforge
6d ago 1
26.1.x
Fabric
6d ago 1
26.1.x
Neoforge
6d ago 1
26.3
Fabric
6d ago 1
26.3
Neoforge
6d ago 1
26.2
Fabric
6d ago 1
26.2
Neoforge
6d ago 1
26.1.x
Fabric
6d ago 1
26.1.x
Neoforge
6d ago 1
26.3
Fabric
9d ago 1
26.3
Neoforge
9d ago 1
26.2
Fabric
9d ago 1
26.2
Neoforge
9d ago 1
26.1.x
Fabric
9d ago 1
26.1.x
Neoforge
9d ago 1
26.1.x
Fabric
9d ago 1
26.1.x
Neoforge
9d ago 1
26.1.x
Fabric
9d ago 1
26.1.x
Neoforge
9d ago 1
26.3
Fabric
10d ago 1
26.3
Neoforge
10d ago 1
26.2
Fabric
10d ago 1
26.2
Neoforge
10d ago 1
26.1.x
Fabric
10d ago 1
26.1.x
Neoforge
10d ago 1
26.1.x
Fabric
10d ago 1
26.1.x
Neoforge
10d ago 1
26.1.x
Fabric
10d ago 1
26.1.x
Neoforge
10d ago 1
26.3
Fabric
10d ago 1
26.3
Neoforge
10d ago 1
26.2
Fabric
10d ago 1
26.2
Neoforge
10d ago 1
26.1.x
Fabric
10d ago 1
26.1.x
Neoforge
10d ago 1
26.3
Fabric
10d ago 1
26.3
Neoforge
10d ago 1
26.2
Fabric
10d ago 1
26.2
Neoforge
10d ago 1
26.1.x
Fabric
10d ago 1
26.1.x
Neoforge
10d ago 1
26.1.x
Fabric
11d ago 1
26.1.x
Neoforge
11d ago 1
26.1.x
Fabric
11d ago 1
26.1.x
Neoforge
11d ago 1
26.1.x
Fabric
11d ago 1
26.1.x
Neoforge
11d ago 1
26.3
Fabric
12d ago 1
26.3
Neoforge
12d ago 1
26.2
Fabric
12d ago 1
26.2
Neoforge
12d ago 1
26.1.x
Fabric
12d ago 1
26.1.x
Neoforge
12d ago 1
26.3
Fabric
12d ago 1
26.3
Neoforge
12d ago 1
26.2
Fabric
12d ago 1
26.2
Neoforge
12d ago 1
26.1.x
Fabric
12d ago 1
26.1.x
Neoforge
12d ago 1
26.3
Fabric
12d ago 1
26.3
Neoforge
12d ago 1
26.2
Fabric
12d ago 1
26.2
Neoforge
12d ago 1
26.1.x
Fabric
12d ago 1
26.1.x
Neoforge
12d ago 1
26.3
Fabric
17d ago 1
26.3
Neoforge
17d ago 1
26.2
Fabric
17d ago 1
26.2
Neoforge
17d ago 1
26.1.x
Fabric
17d ago 1
26.1.x
Neoforge
17d ago 1
26.1.x
Fabric
19d ago 1
26.1.x
Neoforge
19d ago 1
26.1.x
Fabric
19d ago 1
26.1.x
Neoforge
19d ago 1
26.1.x
Fabric
19d ago 1
26.1.x
Neoforge
19d ago 1
26.1.x
Fabric
19d ago 1
26.1.x
Neoforge
19d ago 1
26.2
Fabric
3mo ago 1
26.2
Neoforge
3mo ago 1
26.1.x
Fabric
3mo ago 1
26.1.x
Neoforge
3mo ago 1
26.2
Fabric
3mo ago 1
26.2
Neoforge
3mo ago 1
26.1.x
Fabric
3mo ago 1
26.1.x
Neoforge
3mo ago 1
26.2
Fabric
3mo ago 1
26.2
Neoforge
3mo ago 1
26.1.x
Fabric
3mo ago 1
26.1.x
Neoforge
3mo ago 1
26.2
Fabric
3mo ago 1
26.2
Neoforge
3mo ago 1
26.1.x
Fabric
3mo ago 1
26.1.x
Neoforge
3mo ago 1
26.2
Fabric
3mo ago 1
26.2
Neoforge
3mo ago 1
26.1.x
Fabric
3mo ago 1
26.1.x
Neoforge
3mo ago 1
26.2
Fabric
3mo ago 1
26.2
Neoforge
3mo ago 1
26.1.x
Fabric
3mo ago 1
26.1.x
Neoforge
3mo ago 1
26.2
Fabric
3mo ago 1
26.2
Neoforge
3mo ago 1
26.2
Fabric
3mo ago 1
26.2
Neoforge
3mo ago 1
26.1.x
Fabric
3mo ago 1
26.1.x
Neoforge
3mo ago 1
26.1.x
Neoforge
3mo ago 1
26.1.x
Fabric
3mo ago 1
26.1.x
Neoforge
3mo ago 1
26.1.x
Fabric
3mo ago 1
26.1.x
Neoforge
3mo ago 1
26.1.x
Fabric
3mo ago 1
26.1.x
Neoforge
3mo ago 1
26.1.x
Fabric
5mo ago 1
26.1.x
Neoforge
5mo ago 1
26.1.x
Fabric
5mo ago 1
26.1.x
Neoforge
5mo ago 1
26.1.x
Fabric
5mo ago 1
26.1.x
Neoforge
5mo ago 1
26.1.x
Fabric
6mo ago 1
26.1.x
Fabric
6mo ago 1
26.1.x
Fabric
6mo ago 1
1.21.11
Fabric
6mo ago 1
26.1.x
Fabric
6mo ago 1
26.1.x
Neoforge
6mo ago 1
26.1.x
Fabric
6mo ago 1
26.1.x
Neoforge
6mo ago 1
26.1.x
Fabric
6mo ago 1
26.1.x
Neoforge
6mo ago 1
26.1.x
Fabric
6mo ago 1
26.1.x
Neoforge
6mo ago 1
26.1.x
Fabric
6mo ago 1
26.1.x
Neoforge
6mo ago 1
26.1.x
Fabric
6mo ago 1
26.1.x
Fabric
6mo ago 1
26.1.x
Fabric
6mo ago 1
26.1.x
Neoforge
6mo ago 1
26.1.x
Neoforge
6mo ago 1
26.1.x
Fabric
6mo ago 1
26.1.x
Neoforge
6mo ago 1
26.1.x
Fabric
6mo ago 1
26.1.x
Neoforge
6mo ago 1
26.1.x
Fabric
7mo ago 1
26.1.x
Neoforge
7mo ago 1
26.1.x
Fabric
7mo ago 1
26.1.x
Neoforge
7mo ago 1
26.1.x
Fabric
7mo ago 1
26.1.x
Neoforge
7mo ago 1
26.1.x
Fabric
7mo ago 1
26.1.x
Neoforge
7mo ago 1
26.1.x
Fabric
7mo ago 1
26.1.x
Neoforge
7mo ago 1
26.1.x
Fabric
7mo ago 1
26.1.x
Neoforge
7mo ago 1
26.1.x
Fabric
7mo ago 1
26.1.x
Neoforge
7mo ago 1
26.1.x
Fabric
7mo ago 1
26.1.x
Neoforge
7mo ago 1
26.1.x
Fabric
7mo ago 1
26.1.x
Neoforge
7mo ago 1
26.1.x
Fabric
7mo ago 1
26.1.x
Neoforge
7mo ago 1
26.1
Fabric
7mo ago 1
26.1
Neoforge
7mo ago 1
26.1
Fabric
7mo ago 1
26.1
Neoforge
7mo ago 1
26.1
Fabric
7mo ago 1
26.1
Neoforge
7mo ago 1
26.1
Fabric
7mo ago 1
26.1
Neoforge
7mo ago 1
1.21.11
Fabric
7mo ago 1
1.21.11
Neoforge
7mo ago 1
26.1
Fabric
7mo ago 1
26.1
Neoforge
7mo ago 1
26.1
Fabric
7mo ago 1
26.1
Neoforge
7mo ago 1
1.21.11
Fabric
7mo ago 1
1.21.11
Neoforge
7mo ago 1
26.1
Fabric
7mo ago 1
26.1
Neoforge
7mo ago 1
26.1
Fabric
7mo ago 1
26.1
Neoforge
7mo ago 1
26.1
Fabric
7mo ago 1
26.1
Neoforge
7mo ago 1
1.21.11
Fabric
8mo ago 1
1.21.11
Neoforge
8mo ago 1
1.21.11
Fabric
8mo ago 1
1.21.11
Neoforge
8mo ago 1
1.21.11
Fabric
8mo ago 1
1.21.11
Neoforge
8mo ago 1
1.21.11
Fabric
8mo ago 1
1.21.11
Neoforge
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/)*
Documentation is now available at [unified-api.dev](https://unified-api.dev/)
Documentation is now available at [unified-api.dev](https://unified-api.dev/)
Documentation is now available at [unified-api.dev](https://unified-api.dev/)
Documentation is now available at [unified-api.dev](https://unified-api.dev/)
Documentation is now available at [unified-api.dev](https://unified-api.dev/)
Documentation is now available at [unified-api.dev](https://unified-api.dev/)
_This is a data-driven rewrite of Unified API, and an all-new approach to content registration that is both far more powerful, flexible and convenient-to-use than traditional methods._

_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 a data-driven rewrite of Unified API, and an all-new approach to content registration that is both far more powerful, flexible and convenient-to-use than traditional methods._

_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 a data-driven rewrite of Unified API, and an all-new approach to content registration that is both far more powerful, flexible and convenient-to-use than traditional methods._

_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 a data-driven rewrite of Unified API, and an all-new approach to content registration that is both far more powerful, flexible and convenient-to-use than traditional methods._

_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._
Changed
  • WoodSet
  • sign and hanging signs now use the block description prefix
  • the set's WoodType and BlockSetType are now automatically registered
  • BlockSet
  • the set's BlockSetType is now automatically registered
Changed
  • WoodSet
  • sign and hanging signs now use the block description prefix
  • the set's WoodType and BlockSetType are now automatically registered
  • BlockSet
  • the set's BlockSetType is now automatically registered
Changed
  • WoodSet
  • sign and hanging signs now use the block description prefix
  • the set's WoodType and BlockSetType are now automatically registered
  • BlockSet
  • the set's BlockSetType is now automatically registered
Changed
  • WoodSet
  • sign and hanging signs now use the block description prefix
  • the set's WoodType and BlockSetType are now automatically registered
  • BlockSet
  • the set's BlockSetType is now automatically registered
Added
  • 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
Added
  • 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
Added
  • 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
Added
  • 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
Added
  • BlockPreset
  • new SULFUR and POLISHED_SULFUR presets
  • new CINNABAR and POLISHED_CINNABAR presets

Changed
  • WoodSet
  • deprecated setLeafSoundType and getLeafSoundType in favour of new setLeavesSoundType and getLeavesSoundType respectively
  • WoodPreset
  • WoodPreset.CHERRY now includes Cherry Leaves sounds
  • deprecated UnifiedRegistries.BlockEntityTypes
  • deprecated UnifiedRegistries.CreativeTabs
Added
  • BlockPreset
  • new SULFUR and POLISHED_SULFUR presets
  • new CINNABAR and POLISHED_CINNABAR presets

Changed
  • WoodSet
  • deprecated setLeafSoundType and getLeafSoundType in favour of new setLeavesSoundType and getLeavesSoundType respectively
  • WoodPreset
  • WoodPreset.CHERRY now includes Cherry Leaves sounds
  • deprecated UnifiedRegistries.BlockEntityTypes
  • deprecated UnifiedRegistries.CreativeTabs
Changed
  • WoodSet
  • deprecated setLeafSoundType and getLeafSoundType in favour of new setLeavesSoundType and getLeavesSoundType respectively
  • WoodPreset
  • WoodPreset.CHERRY now includes Cherry Leaves sounds
  • deprecated UnifiedRegistries.BlockEntityTypes
  • deprecated UnifiedRegistries.CreativeTabs
Changed
  • WoodSet
  • deprecated setLeafSoundType and getLeafSoundType in favour of new setLeavesSoundType and getLeavesSoundType respectively
  • WoodPreset
  • WoodPreset.CHERRY now includes Cherry Leaves sounds
  • deprecated UnifiedRegistries.BlockEntityTypes
  • deprecated UnifiedRegistries.CreativeTabs
Added
  • UnifiedRegistries.BlockEntityTypes
  • added register(String path, BlockEntityType.BlockEntitySupplier<T> builder, Supplier<? extends BlockLike>... blocks)

Changed
  • ColoredBlockSet and ColoredItemSet
  • fixed crash when creativeInventoryPlacement isn't used
  • UnifiedHelpers.DATA_PACKS and UnifiedClientHelpers.RESOURCE_PACKS [26.2]
  • addOptional now defaults to disabled on Fabric, matching NeoForge behaviour
  • PackType [26.1]
  • OPTIONAL_RESOURCES and OPTIONAL_DATA now default packs to disabled on Fabric, matching NeoForge behaviour
  • UnifiedRegistries.BlockEntityTypes
  • deprecated register(String path, BlockEntityType.BlockEntitySupplier<T> builder, BlockLike... blocks)
  • fixed NeoForge crash caused by incorrect event bus for server reload listeners
Added
  • UnifiedRegistries.BlockEntityTypes
  • added register(String path, BlockEntityType.BlockEntitySupplier<T> builder, Supplier<? extends BlockLike>... blocks)

Changed
  • ColoredBlockSet and ColoredItemSet
  • fixed crash when creativeInventoryPlacement isn't used
  • UnifiedHelpers.DATA_PACKS and UnifiedClientHelpers.RESOURCE_PACKS [26.2]
  • addOptional now defaults to disabled on Fabric, matching NeoForge behaviour
  • PackType [26.1]
  • OPTIONAL_RESOURCES and OPTIONAL_DATA now default packs to disabled on Fabric, matching NeoForge behaviour
  • UnifiedRegistries.BlockEntityTypes
  • deprecated register(String path, BlockEntityType.BlockEntitySupplier<T> builder, BlockLike... blocks)
  • fixed NeoForge crash caused by incorrect event bus for server reload listeners
Unified API Icon
Download Unified API
Select game version
Select platform