VariantAPI
by Sygikal
VariantAPI lets mod authors define data-driven variants for entities, with spawn conditions set in datapacks.
What it does
Variants are declared as data-driven assets in datapacks and resource packs, and each one can name the features it renders with. Spawn rules can depend on conditions such as moon phase or biome, so one entity type can appear in several forms across a world. The project is built for Fabric, targets 1.20.1 and 1.21.1, and the 1.4.1+1.21.1 build is the latest file. Client and server both need the mod, and the code is under All rights reserved, so it is not open source.
Key features
Data-driven entity variants
Variants for entities are defined in data files, so authors can add them without changing Java code.
Spawn conditions
Conditions such as moon phase or biome control when each variant spawns, giving precise control over distribution.
Datapack and resource pack assets
Variant definitions and their textures ship as datapack and resource pack assets that the game loads.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 1 mod
How it compares
Immersive Crafting is server-side only, open source under the MIT License, and covers 1.20.1 – 26.1.2 on Fabric, Forge, NeoForge and Quilt. Creative Menu Tweaks is a Fabric client mod for 1.20.1 – 1.21.5 under the MIT License, with client required and server optional.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| VariantAPI | Fabric | 1.20.1 – 1.21.1 | Client and server | 2025-08-17 |
| Immersive Crafting | Fabric, Forge, NeoForge and Quilt | 1.20.1 – 26.1.2 | Server-side only | 2026-06-04 |
| Creative Menu Tweaks | Fabric | 1.20.1 – 1.21.5 | Client required, server optional | 2025-07-25 |
Questions
Does VariantAPI need to be installed on the server?
Which game versions does VariantAPI support?
In the catalog
VariantAPI is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 32,366 mods support Minecraft 1.21.1.
More from Sygikal
Similar mods
What the author says
VariantAPI is a mod that adds data-driven entity variants. You can specify conditions for variants to spawn based on predicates, moon phase, spawn biome, etc. And you can specify features for them to render with. All info is on the wiki. You can specify the variants with a datapack and the assets with a resourcepack.
Official listing
- Modrinth page
- modrinth.com/mod/variantapi
- Owner
- Sygikal
- Published
- 2025-07-20
- Updated on Modrinth
- 2025-08-17
- Facts verified
- 2026-10-15
