Dynamic Trim

Dynamic Trim

6M Downloads

Doesn’t work with MC-Creator armour

Rebel459 opened this issue · 18 comments

commented

See title. I’m not sure if this is intentional or not, but it would be great if it would work on modded armour too.

commented

That’s weird… the mods armor I tested were made using mcreator… but that armor had no issues with all the trims or any other mod.

With Dynamic Trims, no trim texture renders on the item at all

Is there any way I can fix this on my end, maybe?

commented

Which armour specifically, this works with modded armour that is implemented in a not jank way

commented

not jank way
mc creator

Yeah I have no idea, mc creator makes some absolutely cursed (on the inside) mods with very jank code. I don't think this is easily fixable

Can you send a link to the mod?

commented

Sure! I reckon it probably affected all 3 mods tbh,
https://modrinth.com/mod/endgame-reborn
https://modrinth.com/mod/progression-reborn
https://modrinth.com/mod/legacies-and-legends

My theory is it affects all mcreator mods, but my source code hasn’t been publicly updated in a while due to laziness.

I do know Purejosh uses mcreator, so maybe look at https://modrinth.com/mod/pure-copper-tools for source?

commented
commented

Can you also send your log file for when you load the broken armour mod and dynamic trims

commented

Sure, I can do that.

commented

how does Dynamic Trims know the difference between armor and non-armor textures?

commented

yeah nothing useful unfortunately

commented

maybe its way of checking if the armor is armor equipment doesn't work with mcreator / they don't register it in that spot?

commented

#5 this could be an eventual fix, but maybe there's a way to edit the mcreator code to register it as whatever dynamic trims is looking for?

commented

#5 improves the code quality and compatibility with other mods trying to do the exact same thing, doesn't change the functionality. The mod uses the model files and intercepts them when they're loaded in, the mc-creator mods you sent me appear to have their model files setup correctly such that it would work. Can you test explicitly with https://modrinth.com/mod/pure-copper-tools as the other mods are closed source so I can't see what they are doing without decompiling.

commented

my mods are registered the exact same way as pure copper due to them both using mcreator generation, so it's strange that none of them are working

commented

also, I've tested Pure Emerald Tools, and nope, nothing works

commented

¯\_(ツ)_/¯ I'll give it a look tmrw. MC Creator moment

commented

yeah lol, will test on a vanilla client too, just in case

commented

can confirm it affects vanilla, so not a modpack issue

commented

It just works for me now, idk why, but not complaining.