Перейти к содержимому
Mineforgian

Variant Lib

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

1K загрузок3 подписчиковMPL-2.0fabricneoforge

Обновлён 13 декабря 2025 г. · опубликован 4 июля 2025 г.

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

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.

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
0.3.3+1.21.5-neoforgeБета1.21.5neoforge13 декабря 2025 г.Скачать (906 КБ)
0.3.3+1.21.5-fabricБета1.21.5fabric13 декабря 2025 г.Скачать (929 КБ)
0.3.2+1.21.5-neoforgeБета1.21.5neoforge30 сентября 2025 г.Скачать (906 КБ)
0.3.2+1.21.5-fabricБета1.21.5fabric30 сентября 2025 г.Скачать (928 КБ)
0.3.1+1.21.5-fabricБета1.21.5fabric30 сентября 2025 г.Скачать (928 КБ)
0.3.1+1.21.5-neoforgeБета1.21.5neoforge30 сентября 2025 г.Скачать (906 КБ)
0.3.0+1.21.5-neoforgeБета1.21.5neoforge30 сентября 2025 г.Скачать (899 КБ)
0.3.0+1.21.5-fabricБета1.21.5fabric30 сентября 2025 г.Скачать (920 КБ)
0.2.1+1.21.5-fabricБета1.21.5fabric16 августа 2025 г.Скачать (924 КБ)
0.2.1+1.21.5-neoforgeБета1.21.5neoforge16 августа 2025 г.Скачать (902 КБ)
0.2.0+1.21.5-neoforgeБета1.21.5neoforge15 августа 2025 г.Скачать (902 КБ)
0.2.0+1.21.5-fabricБета1.21.5fabric15 августа 2025 г.Скачать (924 КБ)
0.1.4+1.21.5-fabricБета1.21.5fabric15 августа 2025 г.Скачать (923 КБ)
0.1.4+1.21.5-neoforgeБета1.21.5neoforge15 августа 2025 г.Скачать (901 КБ)
0.1.3+1.21.5-neoforgeБета1.21.5neoforge15 августа 2025 г.Скачать (897 КБ)

Показаны последние 15 из 22 версий.

Ченджлог

0.3.3+1.21.5-neoforgeБета1.21.5 · 13 декабря 2025 г.

Fixes

  • Fixed connections to LAN servers failing without any Variant Lib registry aliases.
  • Fixed connections to LAN servers failing when a Variant Lib registry alias is present.
  • Fixed NeoForge having an infinite static registry alias loop.
0.3.3+1.21.5-fabricБета1.21.5 · 13 декабря 2025 г.

Fixes

  • Fixed connections to LAN servers failing without any Variant Lib registry aliases.
  • Fixed connections to LAN servers failing when a Variant Lib registry alias is present.
  • Fixed NeoForge having an infinite static registry alias loop.
0.3.2+1.21.5-neoforgeБета1.21.5 · 30 сентября 2025 г.

Fixes

  • Fixed NeoForge using the intermediary build of Yumi Minecraft Foundation.
0.3.2+1.21.5-fabricБета1.21.5 · 30 сентября 2025 г.

Fixes

  • Fixed NeoForge using the intermediary build of Yumi Minecraft Foundation.
0.3.1+1.21.5-fabricБета1.21.5 · 30 сентября 2025 г.

Fixes

  • Fixed variant extensions not being considered when network loading from resources.
  • Updated Yumi Minecraft Foundation to fix a registry breakage bug.
0.3.1+1.21.5-neoforgeБета1.21.5 · 30 сентября 2025 г.

Fixes

  • Fixed variant extensions not being considered when network loading from resources.
  • Updated Yumi Minecraft Foundation to fix a registry breakage bug.
0.3.0+1.21.5-neoforgeБета1.21.5 · 30 сентября 2025 г.

Fixes

  • Potentially fixed crashes involving reused entity render states and variants stored in those.
  • Improved memory usage on clients by implementing equals and hashCode in internal Variant Model classes.
  • Updated references to GitHub to utilize Greenhouse Forgejo instead.

Breaking Changes

This update contains a breaking change to the base Variant Model objects for mod developers, they are now abstract classes rather than an interface. Please read the above fix for more information.

0.3.0+1.21.5-fabricБета1.21.5 · 30 сентября 2025 г.

Fixes

  • Potentially fixed crashes involving reused entity render states and variants stored in those.
  • Improved memory usage on clients by implementing equals and hashCode in internal Variant Model classes.
  • Updated references to GitHub to utilize Greenhouse Forgejo instead.

Breaking Changes

This update contains a breaking change to the base Variant Model objects for mod developers, they are now abstract classes rather than an interface. Please read the above fix for more information.

Комментарии

Загружаем…