GregTech icon indicating copy to clipboard operation
GregTech copied to clipboard

[Suggestion] Allow changing a material's color via CT

Open Charnuz opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe. I need to change the color of existing materials to match items added by other mods. This would also let users fix something like #1561 on their own.

Additional context Did compile with this change and it seems work just fine,

Charnuz avatar Jul 08 '21 10:07 Charnuz

Did compile with this change and it seems work just fine,

What change are you referring to? This is already possible. "color" is a mutable material property https://docs.blamejared.com/1.12/en/Mods/GregTechCE/Material/

warjort avatar Jul 08 '21 16:07 warjort

What change are you referring to?

I see, the field is final in the actual code.

    @ZenProperty("color")
    public final int materialRGB;

warjort avatar Jul 08 '21 16:07 warjort