mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +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
@@ -57,9 +57,16 @@ public class MekanismFluids
|
||||
for(Resource resource : Resource.values())
|
||||
{
|
||||
String name = resource.getName();
|
||||
String nameLower = name.toLowerCase();
|
||||
|
||||
OreGas clean = (OreGas)GasRegistry.register(new OreGas("clean" + name, "oregas." + name.toLowerCase()).setVisible(false));
|
||||
GasRegistry.register(new OreGas(name.toLowerCase(), "oregas." + name.toLowerCase()).setCleanGas(clean).setVisible(false));
|
||||
OreGas clean = new OreGas("clean" + name, "oregas." + nameLower);
|
||||
clean.setVisible(false).setTint(resource.tint);
|
||||
|
||||
OreGas dirty = new OreGas(nameLower, "oregas." + nameLower).setCleanGas(clean);
|
||||
dirty.setVisible(false).setTint(resource.tint);
|
||||
|
||||
GasRegistry.register(clean);
|
||||
GasRegistry.register(dirty);
|
||||
}
|
||||
|
||||
FluidRegistry.enableUniversalBucket();
|
||||
|
||||
Reference in new issue
Block a user