CIT Resewn

CIT Resewn

14M Downloads

CIT Resewn cannot resolve paths generated by `paletted_permutations`

Andrew6rant opened this issue ยท 1 comments

commented

1.19.4 introduced paletted_permutations, which is a way to dynamically generate new textures in memory (here is some documentation from the snapshot they were introduced in).

Any textures created by these cannot be parsed by CIT Resewn.

For example, here is vanilla Minecraft's iron_chestplate_amethyst_trim model JSON:

{
  "parent": "minecraft:item/generated",
  "textures": {
    "layer0": "minecraft:item/iron_chestplate",
    "layer1": "minecraft:trims/items/chestplate_trim_amethyst"
  }
}

You can use the texture minecraft:trims/items/chestplate_trim_amethyst in resource packs, but setting texture=minecraft:trims/items/chestplate_trim_amethyst in an item's .properties file gives you the error:

{citresewn} Errored while parsing CIT: Cannot resolve path @L20 in minecraft:optifine/cit/armor_trims/iron_chestplate.properties from file/Distinct Armor Trims

Enabling the "Broken Paths" option and restarting does not fix the issue.

commented

oddly enough, i just encountered this issue in 1.21.1 with the component-compatible iteration of this pack after it had been working perfectly in 1.21