
Nifty
A cross-platform library mod for transfer, machinery, networking, UI and more.
About this Mod
Nifty
Nifty is a cross-platform library mod providing simplified systems for transfer, machinery, networking, UI and more, on both Forge and Fabric. If you're grabbing this mod as a dependency, don't worry about the ramblings below.
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.
Info
Feel free to use Nifty in any of your own projects, as a mod dependency or within a modpack. See the LICENSE file for
more information. Contribution is also heavily appreciated; if you find Nifty is lacking a feature you think would fit,
let us know in the issues.
The API is pretty extensively documented through the Javadoc.
Features (for developers)
- Aspects
- System that looks something like a cross between Forge's capabilities and the Fabric API lookups
- Very similar implementation to capabilities; block entities etc can implement an interface to provide an aspect
- The aspects are then wrapped in a lazy optional, much like forge, and recognize when they are invalidated
- Fully featured simulation-based transfer system for items, fluids, and energy
- Simple handler implementations for use in your own systems
- FluidStack system that gets wrapped on Forge and defers to FluidVariants on Fabric
- Wrappers on both Forge and Fabric
- Full mod support: on Forge, uses default item, fluid and FE systems; on Fabric, uses Fabric API transfer systems
and Team Reborn's Energy API - Also includes abstracted implementations for simple transfer of your own custom types
- Component UI sytem (InputWidgets) stolen from my API in Logic Networks, which will eventually be swapped to depend on
this one - Some rendering helper methods
- Base blockentity, menu, and block implementations simplifying machine creation
- Platform information and utilities, accessors, etc
- Networking system for simple packet registration and handling, reminiscent of Forge's SimpleImpl
- More in the works!
Available Versions
How to Install Nifty on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.19.2).
Install Mod
Open the mod browser in the dashboard and search for "Nifty". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.19.2
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Nifty server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.19.2). You can switch loaders with one click in the panel.
Is Nifty compatible with fabric and forge and quilt?
Nifty officially supports fabric, forge, quilt for Minecraft 1.19.2. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Nifty – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Nifty consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Nifty with just one click on your server.