promotional bannermobile promotional banner

Unified API

A multiloader API built to enable easy cross-loader mod development
Back to Files

unified-api-26.2-r1.0-fabric.jar

File nameunified-api-26.2-r1.0-fabric.jar
Uploader
rebel0459rebel0459
Uploaded
Aug 4, 2026
Downloads
13
Size
390.5 KB
Mod Loaders
Fabric
File ID
8573985
Type
R
Release
Supported game versions
  • 26.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:unified-api-1464540:8573985"

Learn more about Curse Maven

What's new

Added

  • UnifiedHelpers.DATA_PACKS and UnifiedClientHelpers.RESOURCE_PACKS
    • includes addRequired and addOptional methods
    • used to load built-in datapacks and resource packs respectively

Changed

  • Unified API packages have been completely redone, so you'll have to re-import all referenced classes
    • this includes a split with unified.api. and unified.impl., which clearly separates developer-focused code from internal-only code
      • you can be assured that no breaking changes will be made in the same vanilla drop version within unified.api.
    • it should be much easier to find the classes you're looking for going forward
    • many internal classes were either exposed in api. or renamed within impl. for clarity
      • these include BiomeModificationContext and LootTableContext, which were moved into api.
  • renamed UnifiedPlatform to UnifiedInstance
    • renamed getLoader to getModLoader
  • renamed UnifiedEvents.Guis to UnifiedEvents.Hud
    • this matches changes to vanilla naming
  • renamed LoaderType to ModLoader
  • renamed EventType to EventTiming
  • renamed UnifiedClientHelpers.LEGACY_BABY_ARMOR to UnifiedClientHelpers.SIMPLE_BABY_ARMOR
    • replaced add(ResourceKey<EquipmentAsset> asset, boolean resize, int cutoff) with add(ResourceKey<EquipmentAsset> asset, int cutoff)
    • replaced add(ResourceKey<EquipmentAsset> asset, boolean resize) with addWithoutDownscale
  • renamed CreativeModeTabs to CreativeModeTabIds

Removed

  • UnifiedHelpers.PACKS
    • removed in favour of split UnifiedHelpers.DATA_PACKS and UnifiedClientHelpers.RESOURCE_PACKS
  • PackType
    • no longer needed due to the removal of UnifiedHelpers.PACKS
  • UnifiedHelpers.BLOCK_CONVERSIONS
    • removed addWeathering(WeatheringCopperBlocks set)
      • vanilla removed WeatheringCopperBlocks and another addWeathering method still exists, so this was removed outright
  • removed all deprecated methods and classes

This mod has no additional files