ModernFix

ModernFix

72M Downloads

[1.18.2] Dyanmic Resources Causes Changed:MC Latex Block Overlay to Not Render

Y1rd opened this issue ยท 7 comments

commented

This damn latex mod again? Oh well...
Forge 1.18.2, enable Dynamic Resources along side having Changed:MC installed and either apply latex to a block or locate a biome, observe.
image

commented

This unfortunately doesn't look viable to fix; Changed:MC uses a very invasive mixin into the model system instead of relying on the Forge-provided solutions for custom models and model replacement.

commented

Alright, I'll throw an issue at the developer to see if they can perhaps do something about it.

commented

Issue has been assigned as a bug and set for fixing in v0.12, I'll update here once issue is fixed.

commented

This unfortunately doesn't look viable to fix; Changed:MC uses a very invasive mixin into the model system instead of relying on the Forge-provided solutions for custom models and model replacement.

@embeddedt You mention a forge solution for model replacement, though I can't figure what that is, or if it would even work with generated textures based of the original block.

Would you mind as to point me in the right direction?

commented

You need to look into the Forge ModelBakeEvent; it allows you to inject custom models into the model registry by ModelResourceLocation. In your case it should be possible to get one model and use it as a reference to construct and put the other models into the registry.

commented

Thank you very much.

commented

Fixed on mod side by LTX @embeddedt