CIT Resewn

CIT Resewn

14M Downloads

Duplicate texture-based CITs are ignored when non standard native models are supplied

JuceInUse opened this issue ยท 11 comments

commented

Recently I downloaded a pack and it works with Optifine, but not CIT Resewn. It uses NBT data, here's the file:

type=item
items=suspicious_stew
nbt.Effects.0.EffectId=iregex:(23)

Seems like the whole nbt part of the CIT thing isn't yet finished, just wanted to make sure it was known that it isn't. I know people have done things like NBT Crafting, not sure if that would be of any help or not but it's there if you want a guide on how to do it ๐Ÿ˜…

EDIT: TO be clear, the nbt is trying to work. But they all show up as the same stew regardless of what the nbt says :/

commented

Here's the pack. It works in the latest version with Optifine, but with CITR it does not seem to be reading the nbt properly

commented

Nono, nbt is working fine. I've tested it plenty, trust me.
I'm sorry but I can't help with what you've given me. Gonna need the logs and the resourcepack in question.

commented

Gonna need the logs, the pack works just fine for me with all of the stew types
java_j4ovCKDeeJ

commented

Hm... weird, I might have to update some stuff, gonna see if it works properly then. Also what do you mean by the logs

commented

I mean the game's logs. Make sure the pack is enabled and upload %appdata%/.minecraft/logs/latest.log

commented

Nevermind, I isolated the issue. It seems that, if you have a custom item model AND the CIT NBT data, the custom item model breaks everything. Here, I can quickly slap together a pack of what I mean

commented

I think the issue is a bit more specific than that. Item models and the nbt condition are completely separate and should not affect eachother at all.
CIT is supposed to work natively with models.

commented

Look, this is the pack. The only difference between this and what I sent you is I added the vanilla model for suspicious stew and a texture for it. When I added the item_particle parameter, everything stopped working and they use the withering suspicious stew texture. I mean they're called bugs for a reason, idk why that happens

commented

This'll be fixed in v0.8.0

commented

I know this is closed, but I found a workaround to the bug. As long as you specify a new texture for every single texture mentioned in the original model, it fixes the broken textures. Tedious, but possible

commented

Yeah, the fix I pushed in e27a529 just does that automatically(it generates a new file name internally so duplicates wont be overwritten)