90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter versions...
Filter channels...
  • Added modules: trim, trim_pattern and trim_material.
  • custom_data and other nbt modules now accept numeric data as variants.
  • The module stored_enchantment now has built-in support for enchantment levels.
  • Fixed rendering of held trident.

Xali's enchanted books was updated to work with that version.

Since v3.0:

  • Added module types from v2.6
  • Added numeric properties custom_data, bucket_entity_data, entity_data and block_entity_data, as a replacement for the bucket_entity_age predicate.
  • Added a mechanism to automatically populate minecraft:dispatch_range's entries.
  • Added a mechanism to make modded item assets compatible with vanilla.

Since v2.5:

  • Added module types: bucket_entity_data, entity_data and block_entity_data. Those work identically to custom_data, but for other components.
  • Added the model override predicate bucket_entity_age.

Porting to MC 1.21.4. Some Java API breaking changes, but no datapack breaking changes other than the removal of model override predicates. Most old packs should work out of the box.

  • Modules now use items/ instead of models/ as primary assets.
  • Modules may now automatically generate basic items assets based on existing and mod-generated models. Enabled by default for backward compatibility, can be disabled by setting itemsFromModels to false in the module.
  • Item assets are searched for at the root of items/, but corresponding models and textures are now searched for in models/item/ and textures/item/. For backward compatibility, any leading "item/" will automatically be stripped off model prefixes, fallback models, and special models.
  • Added the numeric property variants-cit:stored_enchantment_level, usable in item assets as a replacement for the old level model override predicate

Java API:

  • Removed all deprecated methods.
  • Replaced all ModelIdentifiers with plain Identifiers.
  • Ported to MC 1.21.2, marked previous branch as incompatible.
  • Added the painting_variant module.
  • Added the requiredEnchantments parameter to the enchantment module. This makes it possible to have CITs based on multiple enchantments, using multiple modules. (See wiki.)
  • Modules should now be stored in the folder variants-cit (mod's id) instead of variant-cits (misspelled). Modules in the old directory will still work, but support will be dropped in a distant future.
  • Modules may now automatically generate models based on provided textures.
  • Optimized some modules, considerably reducing how often they recompute an item's model.
  • Fixed Trident and Spyglass (in stack form) not being affected by CITs.
  • It's now possible for multiple modules to coexist on the same item.
  • Added the module enchantment for tools and armours. (Single enchantment)
  • custom_data may now search nested pathes. The parameter nbtKey is being renamed to nbtPath.
  • custom_name will now always convert all names into valid identifiers. The case sensitivity option was removed.
  • The module stored_enchantments (plural) is being renamed to stored_enchantment (singular).
  • custom_data module now has a caseSensitive option.

Changes to the Java API (non-breaking):

  • Parameterized modules no longer need to register a constructor. They may be built directly from their codec instead.
  • Special modules no longer need to register a constructor. They may be registered the same way as Simple modules.
  • Special modules are no longer required to implement their variant logic separately from the special logic.
  • The old ways of registering special and parameterized modules has been marked as deprecated.

Project members

Estecka

Author

Details

Licensed EUPL-1.2
Published 6 months ago
Updated a month ago