implement tinted ore gasses, fix GuiGauge to render the tinted gas

This commit is contained in:
Xander Victory committed 2017-11-09 12:08:41 +08:00
1 parent 2f8f71862c
commit cbe9cdc3f2
8 files changed
+32 -10

No files matched your search

+10 -8
View File
@@ -2,19 +2,21 @@ package mekanism.common;
public enum Resource
{
IRON("Iron"),
GOLD("Gold"),
OSMIUM("Osmium"),
COPPER("Copper"),
TIN("Tin"),
SILVER("Silver"),
LEAD("Lead");
IRON("Iron", 0xccccd9),
GOLD("Gold", 0xf2cd67),
OSMIUM("Osmium", 0x1e79c3),
COPPER("Copper", 0xaa4b19),
TIN("Tin", 0xccccd9),
SILVER("Silver", 0xccccd9),
LEAD("Lead", 0x3d3d41);
private String name;
public final int tint;
Resource(String s)
Resource(String s, int t)
{
name = s;
tint = t;
}
public static Resource getFromName(String s)