Variant Lib

Variant Lib

A library for data-driven mob variants. Usable by both datapackers and modders!

by
1.1K Downloads
fabricneoforgelibrarymobs
Rent Server with this Mod

Screenshots

Custom Rabbit Variants Example
Custom Model Cow Variant Example
Custom Mooshroom Variant Example
Mooshroom Client Variant Example

About this Mod

Made for Mod Garden: Nature

Available for FabricAvailable for NeoForge

Variant Lib is a Library/API for developers to assist in systems for data driven mob variants to both vanilla and modded entities.

This library modifies the data driven variants of...

  • Cow
  • Pig
  • Chicken

This library may additionally add data driven variants for...

  • Sheep
  • Rabbit
  • Mooshroom

Credits

Thank you to WorldWidePixel for creating the mod's custom lightning conversion sounds.

A generic conversion sound is available for any entity without a specified sound or as a basis for custom conversion sounds.

License

Variant Lib is licensed under the MPL-2.0 license.

All mob conversion sounds are licensed under the CC0-1.0 license.

For Players

Chances are you won't need to download this mod because any modders will have included it in their JAR file.

If for some reason, the developer doesn't do this, if you wish to use its features using a datapack, or if you wish to play with a Fabric exclusive mod through Sinytra Connector, you may of course download the mod.

For Developers

To start developing with Variant Lib from a data pack or as a developer, you should use the Documentation as a guide.

If you are developing a mod with Variant Lib integration, the mod has javadocs within most house.greenhouse.variantlib.api contained classes.

You may additionally reach out through Discord or for support from either other developers using the mod, or a developer of the mod.

Available Versions

v0.3.3 (NeoForge 1.21.5)beta
MC 1.21.5neoforge
December 13, 2025
v0.3.3 (Fabric 1.21.5)beta
MC 1.21.5fabric
December 13, 2025
v0.3.2 (NeoForge 1.21.5)beta
MC 1.21.5neoforge
September 30, 2025
v0.3.2 (Fabric 1.21.5)beta
MC 1.21.5fabric
September 30, 2025
v0.3.1 (Fabric 1.21.5)beta
MC 1.21.5fabric
September 30, 2025

How to Install Variant Lib on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.5).

3

Install Mod

Open the mod browser in the dashboard and search for "Variant Lib". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricneoforge

Minecraft Versions

1.21.5

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Variant Lib 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.21.5). You can switch loaders with one click in the panel.

Is Variant Lib compatible with fabric and neoforge?

Variant Lib officially supports fabric, neoforge for Minecraft 1.21.5. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Variant Lib – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Variant Lib 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.

Rent Modded Server

Install Variant Lib with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
Mozilla Public License 2.0
Server-side
Required

Supported Versions

1.21.5