Главная › Моды › Библиотеки › Variants-CIT

Variants-CIT

Variants-CIT

Alternative CIT format for large collections of variants with repeating patterns.

Variants-CIT — мод для Minecraft 1.21–26.3 из категории «Библиотеки» для загрузчиков Fabric. Автор: Estecka. В Lorix можно добавить мод в сборку — нужные зависимости подтянутся автоматически — и скачать её одним ZIP с папкой mods/ или запустить в Lorix Launcher одной кнопкой.

Категория
Библиотеки
Загрузчики
Fabric
Версии Minecraft
26.3, 26.2, 26.1.2, 26.1.1, 26.1, 1.21.11, 1.21.10, 1.21.9, 1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21
Скачиваний на Modrinth
1 922 010

Зависимости

Описание

Variants-CIT

An alternative CIT format designed to handle large amounts of variants.

This mod excels in scenarios where one item has many variants all based on the same pieces of data. It yields better performances when extreme amounts of CITs are available, and uses a resource format that is less redundant, requiring only one short file to configure all possible variants of an item at once.

Assigning models on a case-by-case basis (similar to how Optifine-CIT handles it) is still possible, but does not boast the same performances.

Resource Pack Format

This is a quick showcase. Refer to The Wiki for a complete guide.

The format revolves around item variants being automatically associated to models or textures with matching names.

Instead of defining separate conditions for every variants, you define a single rule that governs all variants in a collection, (so-called modules). This module defines what item is affected, how to figure out its variants, and where the variant models are located.

Fully automatic variants-to-model association

Here's a simple module that would change the texture of enchanted books :

Here, a book with the enchantment minecraft:unbreaking at level 2 will have the variant ID minecraft:unbreakinglvl2, and thus use the texture stored at /assets/minecraft/textures/item/bookcit/unbreakinglvl2.png.

This single module will work for every possible enchantment, vanilla or modded, so long as a corresponding texture exists.

Automatic variants based on custom data

The module above has a purpose-made type for enchanted books. If no type exists for a specific use-case, you can still use more generic modules to get a variant from any component:

Как установить Variants-CIT

  1. Скачайте Lorix Launcher и создайте сборку с нужной версией и загрузчиком.
  2. Найдите Variants-CIT в окне модов — зависимости добавятся сами.
  3. Нажмите «Играть».

Или соберите модпак в конструкторе и скачайте ZIP: папку mods/ из архива положите в .minecraft.