ModsFinder

LifeCompat

by 2Bad4Mods

LifeCompat is a Fabric library that gives other mods shared APIs for buckets, events, and energy, so compatibility code does not have to be written from scratch in each mod.

FabricClient and serverMIT LicenseOpen source1.21

What it does

The Bucket API lets a mod register custom bucket types, such as a wooden bucket, and add new fluids that those buckets can hold, alongside the vanilla ones. The Event API exposes common game events, including BlockBreakEvent, ItemUseEvent and PlayerDeathEvent, and lets a mod create its own events for other mods to listen to. The Energy API adds a way for blocks to provide, store or consume energy, which the author describes as a different approach to energy compatibility between mods.

Fabric API is required and must be installed alongside LifeCompat. Skylife requires LifeCompat, so it is one of the mods that depends on this library. LifeCompat runs on client and server, so the server and every player need it. Files are published for Fabric only, for game version 1.21, and the code is released under the MIT License as open source.

Key features

  1. Custom bucket types

    Mods can add buckets made from other materials and register fluids that those buckets hold.

  2. Listenable game events

    Common events such as block breaks, item use and player deaths can be subscribed to by other mods.

  3. Custom events

    A mod can define its own events, so the events it fires are available to other mods built on the library.

  4. Energy API for blocks

    Blocks can be given the ability to provide, contain or use energy through the shared energy interface.

Compatibility

Latest build for each game version and loader.

1.212.0.1+1.21.4
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Required by 1 mod

Use cases

Who it’s for: Mod developers who want shared APIs for buckets, events and energy, and modpack authors who combine mods that depend on this library.

How it compares

Full comparison

Kielson's API is also an MIT-licensed, open source Fabric library, with files for 1.21 – 26.2 and the same client and server environment as LifeCompat. GoreLib is a CC0 1.0 Universal open source Fabric library for 1.19 – 1.19.2 that also runs on client and server. BlunthornAPI is an MIT-licensed open source Fabric library for 1.20.1 – 1.20.6 that has no environment listed. LifeCompat covers only game version 1.21, so it does not reach the earlier range of GoreLib or BlunthornAPI.

ModLoadersGame versionsEnvironmentUpdated
LifeCompatFabric1.21Client and server2025-05-13
Kielson's APIFabric1.21 – 26.2Client and server2026-08-06
GoreLibFabric1.19 – 1.19.2Client and server2023-05-04
BlunthornAPIFabric1.20.1 – 1.20.6Not published2024-10-30

Questions

Does Fabric API need to be installed with LifeCompat?

Yes. Fabric API is a required dependency, so it must be installed next to LifeCompat on Fabric 1.21.

Does LifeCompat have to be installed on both sides?

Yes. The server and every player need the mod installed.

Which mods depend on LifeCompat?

Skylife requires LifeCompat, so it cannot run without this library.

Is LifeCompat available for versions other than 1.21?

No. The only game version with Fabric files is 1.21, with the latest file 2.0.1+1.21.4 published on 2025-05-13.

In the catalog

LifeCompat is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 15,770 mods support Minecraft 1.21.

More from 2Bad4Mods

All projects

Similar mods

What the author says

A Compatibility Mod designed to simplify essential Modding Processes like events, bucket compatibility, and Energy. Currently provided APIs are: - Bucket API - Add custom Bucket Types (like wood,...) or expand the vanilla ones with new Fluid Buckets - Event API - Listen to common Events (e.g. BlockBreakEvent…
2Bad4Mods, on the Modrinth page

Official listing

Owner
2Bad4Mods
Published
2024-07-25
Updated on Modrinth
2025-05-13
Facts verified
2026-10-15

Tags