Deprecated_Features - Estecka/mc-Variants-CIT GitHub Wiki
Old Wikis
The active wiki no longer advertises removed or deprecated features. Wikis for old versions of the mod are hosted as branches on a separate repository. (Links across pages will be broken on this repo.)
Removed Features / Breaking changes
Variants-CIT v3
- Textures and models must now be located in
textures/item/andmodels/item/. Assets outside of theitem/subdirectory will no longer be loaded. - Removed custom model override predicates, no longer supported by Minecraft.
- Java API: CIT modules now provide models as plain
Identifierinstead ofModelIdentifier. - Java API:
ICitModule::getItemVariantwas moved toISimpleCitModule::getItemVariant. - Java API: Removed
IVariantManager::GetModelVariantForItem. - Java API: Removed module factories (
SpecialCitModuleFactory,ParameterizedCitModuleFactory,ComplexCitModuleFactory).
Variants-CIT v4
- Removed item state extensions.
Variants-CIT v5
- Removed the Java API
- Empty
modelPrefixes are no longer allowed. - Removed module types:
custom_data,entity_data,bucket_entity_dataandblock_entity_data.
Usecomponent_datainstead. - Removed module parameters:
caseSensitiveandnbtKey.
UsenbtPathand"transform":"lowercase"instead. - Removed support for the old syntax of
nbtPath.
Most old pathes can be fixed by adding a dot at their beginning:a.b.c=>.a.b.c expectinitem_componentnow defaults to accepting every data types.- Removed
expectvalues:auto,primitive. sanitize's behaviour was changed to be the same assanitize_auto.custom_namemodule's flavour of sanitize was changed tosanitize_auto
Deprecated Features
These features still work, but should no longer be used. Removal is not necessarily planned, but they are no longer maintained. They could change behaviour unexpectedly at the whims of minecraft's internals.
Modules
- Modules located in
variant-cits/item/(mispelled) andvariants-cit/item/should be moved tovariants-cit/modules/. - Modules should explicitely specify an
itemsfield, instead of naming the module itself after the target item type. - Module type
stored_enchantments(plural) should be renamed tostored_enchantment(singular)
Transforms & Item Properties:
validatein regex transforms should be replaced withoptional.- In
item_component, the fieldexpectshould be replaced with its newtransformcounterparts. - In
testtransforms, the fieldtestershould be renamed totest
Minecraft versions
-
Variants-CIT v2 (MC 1.21 to 1.21.3) has reached end of life. It may still receive bugfixes, but no new major features. Newer versions of VCIT are unlikely to be backported to this version of Minecraft.
-
Variants-CIT v3 and v4 (MC 1.21.4+) are discontinued. Variants-CIT v5 replaces them for the corresponding versions of Minecraft.