Перейти к содержимому
Mineforgian

Unified API

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

17K загрузок6 подписчиковLGPL-3.0-onlyfabricneoforge

Обновлён 25 мая 2026 г. · опубликован 14 февраля 2026 г.

Unified API

Unified API is a cross-loader API for both Fabric & NeoForge that enables you to create multiloader mods at no additional effort.

This is accomplished through Unified API's custom registries, events and helpers which replace the need for platform-specific code in favour of using Unified API's common-friendly, well-documented alternatives.

Unified API has no dependencies - simply Fabric API for Fabric, or base NeoForge for NeoForge.

For comprehensive documentation alongside a setup guide, check out unified-api.dev

Why use the Unified API over another API?

  • Deferred Registries allow you to register content for any vanilla or modded registry
  • a ton of easy-to-use, documented events - including some extremely powerful ones such as the Loot Table, Default Data Component or Biome Modification events
  • helper methods to handle any common loader-specific code, often in ways that further expand functionality (such as BLOCK_CONVERSIONS, STRUCTURE_MUSIC or CREATIVE_ENTRIES)
  • data-component-driven functionality such as furnace fuel or compost components
  • no breaking changes to the API in the same Minecraft version, and changes made between full MC releases of the API are thoroughly documented in the migration guide
  • consistent ports to the latest versions, with features designed with them in mind

Registries include:

  • Deferred Registry
  • Items
  • Blocks
  • Entity Types
  • Block Entity Types
  • Creative Tabs
  • Data Component Types
  • Sound Events
  • Key Mappings

Helpers include:

  • Platform (check for mods / modloader / other instance information)
  • Packs (register internal data / resource packs)
  • Creative Entries (insert items to creative tabs)
  • Networking (register, send & handle packets)
  • Biome Modifications (akin to the fabric biome api, easily modify the features, carvers, effects, attributes or climate of any biome)
  • Block Conversions (custom block swapping behaviour such as strippable logs)
  • Particle Providers (create custom particles for the client)
  • Entity Renderers (setup rendering for custom entity / block entity models & textures)
  • Tooltips (bind custom client tooltip information to a tooltip, similarly to bundles)
  • Data Components (append custom components to blocks / items such as furnace fuel or compost behaviour, or any other component)
  • Structure Music (register unique music pools to any structure)
  • Legacy Baby Armor (automatically resize, and optionally rescale, adult armor to match baby mobs without requiring dedicated textures)

Events include:

  • Default Data Components (filter for & modify the default components on any item)
  • Loot Tables (append any loot table with new pools, or directly edit existing loot entries)
  • Commands (create custom commands)
  • Players (run code on player events such as join/leave/respawn)
  • Ticks (run code at the start / end of client ticks, such as custom keybind code)
  • Guis (append hud rendering such as crosshair and hotbar rendering)
  • Screens (access AbstractContainerScreen in order to create custom mouse behaviour)
  • Servers (run code on server start / stop / datapack load / server ticks / level ticks)

Components include:

  • Furnace Fuel (easily specify custom furnace fuel durations for any item)
  • Compost (make any item compostable with a given float chance)

Tags include:

  • Persistent Cooldowns (enforce item cooldowns on tagged items per-player between world loads)

Once again, be sure to check out unified-api.dev for documentation and the full feature set.

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
26.1-r4.3-fabricРелиз26.1, 26.1.1, 26.1.2fabric25 мая 2026 г..jar (309 КБ)
26.1-r4.3-neoforgeРелиз26.1, 26.1.1, 26.1.2neoforge25 мая 2026 г..jar (336 КБ)
26.1-r4.2-fabricРелиз26.1, 26.1.1, 26.1.2fabric25 мая 2026 г..jar (309 КБ)
26.1-r4.2-neoforgeРелиз26.1, 26.1.1, 26.1.2neoforge25 мая 2026 г..jar (335 КБ)
26.1-r4.1-fabricРелиз26.1, 26.1.1, 26.1.2fabric20 мая 2026 г..jar (308 КБ)
26.1-r4.1-neoforgeРелиз26.1, 26.1.1, 26.1.2neoforge20 мая 2026 г..jar (335 КБ)
26.1-r4.0.4-fabricРелиз26.1, 26.1.1, 26.1.2fabric12 мая 2026 г..jar (305 КБ)
26.1-r4.0.3-fabricРелиз26.1, 26.1.1, 26.1.2fabric8 мая 2026 г..jar (305 КБ)
26.1-r4.0.1-fabricРелиз26.1, 26.1.1, 26.1.2fabric8 мая 2026 г..jar (305 КБ)
21.11-b2.0.1-fabricРелиз1.21.11fabric8 мая 2026 г..jar (135 КБ)
26.1-r4.0-fabricРелиз26.1, 26.1.1, 26.1.2fabric7 мая 2026 г..jar (305 КБ)
26.1-r4.0-neoforgeРелиз26.1, 26.1.1, 26.1.2neoforge7 мая 2026 г..jar (332 КБ)
26.1-r3.2-fabricРелиз26.1, 26.1.1, 26.1.2fabric1 мая 2026 г..jar (301 КБ)
26.1-r3.2-neoforgeРелиз26.1, 26.1.1, 26.1.2neoforge1 мая 2026 г..jar (324 КБ)
26.1-r3.1.2-fabricРелиз26.1, 26.1.1, 26.1.2fabric27 апреля 2026 г..jar (295 КБ)

Показаны последние 15 из 79 версий. Все версии — на Modrinth.

Ченджлог

26.1-r4.3-fabricРелиз26.1, 26.1.1, 26.1.2 · 25 мая 2026 г.

Changed

  • NeoForge-side UnifiedEvents.LootTables no longer unnecessarily overrides other mods' NeoForge-driven loot tables
26.1-r4.3-neoforgeРелиз26.1, 26.1.1, 26.1.2 · 25 мая 2026 г.

Changed

  • NeoForge-side UnifiedEvents.LootTables no longer unnecessarily overrides other mods' NeoForge-driven loot tables
26.1-r4.2-fabricРелиз26.1, 26.1.1, 26.1.2 · 25 мая 2026 г.

Added

  • UnifiedHelpers.NETWORKING and UnifiedClientHelpers.NETWORKING
    • added canSend method

Changed

  • UnifiedHelpers.NETWORKING and UnifiedClientHelpers.NETWORKING
    • marked all networking registration methods as optional for NeoForge
    • send methods now check if they can be sent before sending
26.1-r4.2-neoforgeРелиз26.1, 26.1.1, 26.1.2 · 25 мая 2026 г.

Added

  • UnifiedHelpers.NETWORKING and UnifiedClientHelpers.NETWORKING
    • added canSend method

Changed

  • UnifiedHelpers.NETWORKING and UnifiedClientHelpers.NETWORKING
    • marked all networking registration methods as optional for NeoForge
    • send methods now check if they can be sent before sending
26.1-r4.1-fabricРелиз26.1, 26.1.1, 26.1.2 · 20 мая 2026 г.

Added

  • UnifiedHelpers.STRUCTURE_MUSIC
    • added support for structure tags

Changed

  • internal structure music refactors
  • moved helper impls into impl subfolders
26.1-r4.1-neoforgeРелиз26.1, 26.1.1, 26.1.2 · 20 мая 2026 г.

Added

  • UnifiedHelpers.STRUCTURE_MUSIC
    • added support for structure tags

Changed

  • internal structure music refactors
  • moved helper impls into impl subfolders
26.1-r4.0.4-fabricРелиз26.1, 26.1.1, 26.1.2 · 12 мая 2026 г.
  • fixed composting issues on Fabric
26.1-r4.0.3-fabricРелиз26.1, 26.1.1, 26.1.2 · 8 мая 2026 г.
  • fixed Fabric biome modification feature order

Полная история изменений — на Modrinth.

Комментарии

Загружаем…