ModsFinder

Nifty

by aeonic-dev

Nifty is a library mod for Fabric, Forge and Quilt that provides shared systems for item, fluid and energy transfer, machinery, networking and UI.

FabricForgeQuiltClient and serverGNU General Public License v2.0 onlyOpen source1.19.2

What it does

Nifty exposes its own transfer, networking and interface systems so that other mods can build machines and blocks on one API instead of writing separate code for each loader. Block entities implement an interface that provides aspects, and those aspects are wrapped lazily and optionally, in a way that resembles how Forge tracks capabilities and invalidates them. A simulation-based transfer system covers items, fluids and energy, and simple handler implementations use the mod's own systems.

On Forge, fluid stacks are wrapped so that the default item, fluid and Forge Energy systems are used. On Fabric, the same wrappers route transfers through the Fabric API transfer systems, so a mod written against Nifty behaves consistently on both loaders. The API is documented with Javadoc throughout. Fabric API is a required dependency and must be installed alongside Nifty on Fabric.

Builds are published for Fabric, Forge and Quilt for 1.19.2 only, with v1.1.0 as the latest file on each loader, dated 2022-11-20. The first release came out on 2022-11-15. Both sides must run the mod, and players connecting to a server need it as well. The code is open source under the GNU General Public License v2.0 only, and the source code and issue tracker are publicly linked.

Key features

  1. Item, fluid and energy transfer

    A simulation-based transfer system moves items, fluids and energy between block entities and handlers.

  2. Cross-platform wrappers

    Fluid stacks and handlers are wrapped so the same mod code maps onto Forge capabilities and Fabric API transfer systems.

  3. Lazy aspect handling

    Block entities provide aspects through an interface, and the aspects are wrapped lazily and optionally, with invalidation support.

  4. Networking and UI helpers

    The library includes machinery, networking and user interface utilities for building mods on top of it.

Compatibility

Latest build for each game version and loader.

1.19.2v1.1.0v1.1.0v1.1.0
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

Use cases

Who it’s for: Mod developers who build machines, pipes or other blocks that move items, fluids or energy, and who want one API across Fabric and Forge. Players usually install Nifty only as a dependency of other mods.

Questions

Does Nifty need Fabric API?

Yes. Fabric API is a required dependency on Fabric, and it must be installed next to Nifty on that loader.

Which loaders and game versions does Nifty support?

Nifty is published for Fabric, Forge and Quilt, and only for Minecraft 1.19.2. The latest file on each loader is v1.1.0.

Does Nifty have to be installed on the server?

Yes. Both sides must run it, so the server and each connecting player need the mod.

In the catalog

Nifty is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 12,559 mods support Minecraft 1.19.2.

More from aeonic-dev

All projects

Similar mods

What the author says

Nifty is used as a library for most of my other mods to ease cross-platform development and lessen code duplication; it also does introduce its own systems that are vastly useful though with Aspects and transfer functionality. The API is pretty extensively documented through the Javadoc.
aeonic-dev, on the Modrinth page

Official listing

Owner
aeonic-dev
Published
2022-11-15
Updated on Modrinth
2022-11-20
Facts verified
2026-10-15

Tags