[Suggestion] use a block color handler
octarine-noise opened this issue ยท 0 comments
Hi there, I'm the author of the Better Foliage mod, and I've recently got a request to support ExNihiloOmnia infested leaves.
It's a messy issue because of the custom renderer and the color handling (which I would obviously have to reproduce to make it look okay), so for the moment I've turned it down.
However, if I read your code correctly, it just renders a baked model, with a color multiplier that depends on the tint index. You could do that with a color handler (see BlockColors.registerColorHandler), which would simplify your code (no need for the special renderer), and also make it "just work" with BF.
Unless I've missed something in my analysis, would you consider making this change?