mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 07:36:01 +00:00
implement tinted ore gasses, fix GuiGauge to render the tinted gas
This commit is contained in:
1 parent
2f8f71862c
commit
cbe9cdc3f2
8 files changed
+32
-10
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user