CIT with damage values do not work
bbayu123 opened this issue ยท 2 comments
Version: 1.1.3+1.19.4
Fabric API Version: 0.83.0+1.19.4
Minecraft Version: 1.19.4 with Fabric Loader 0.14.21
Description:
Any attempt to create a custom item (regardless of texture or model) given a damage value will not work. This behaviour is different from OptiFine, where the custom item will display properly.
Steps to reproduce:
- I have already created a minimal reproducible resource pack, which you can download:
Test Pack.zip - The resource pack only has 1 item, which is the item of focus. This item can be obtained using
/give @p minecraft:wooden_hoe{Unbreakable:1b,Damage:28}
- The item is a grey cuboid, with white text on the side facing the player:
a. The text is "CIT Failed" on vanilla, which is expected behaviour
b. The text is "CIT Success" on OptiFine, which is also expected behaviour
c. The text is "CIT Failed" on CITResewn, which is not expected behaviour - The locations of assets are:
a. Textures located attextures/test
, with theatlases/blocks.json
file configured correctly
b. The base model located atmodel/test/test.json
c. The "CIT Failed" model located atmodel/test/test_f.json
, with its parent set totest/test
d. The CIT Success" model located atoptifine/cit/test/test_s.json
, and the CIT properties atoptifine/cit/test/test_s.properties
. The model's parent is set totest/test
e. All paths mentioned above are located inassets/minecraft
Other Information:
This was known to be working as intended on 0.9.1+1.17.1.
I'll check it out when I'm able to, thanks for the test pack.
Your logs would've also been helpful because I can look at those from mobile.
Hi, apologise for taking such a long time, but I have some client logs.
These client logs are made using Minecraft 1.20.1 and CITResewn 1.1.3+1.20.1. The same problem still exists there.
https://paste.ee/p/FYWbz