mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 06:42:56 +00:00
Improve Heat mechanic, and get it rendering nicely.
Colour temperature algorithm adapted from http://www.tannerhelland.com/4435/convert-temperature-rgb-algorithm-code/ - thanks to Tanner Hellan for the useful post.
This commit is contained in:
1 parent
2bd2e94c7b
commit
4a404dfc78
9 files changed
+216
-6
No files matched your search
@@ -50,6 +50,7 @@ public class MekanismRenderer
|
||||
public static IIcon[] colors = new IIcon[256];
|
||||
|
||||
public static IIcon energyIcon;
|
||||
public static IIcon heatIcon;
|
||||
|
||||
private static float lightmapLastX;
|
||||
private static float lightmapLastY;
|
||||
@@ -73,6 +74,7 @@ public class MekanismRenderer
|
||||
}
|
||||
|
||||
energyIcon = event.map.registerIcon("mekanism:LiquidEnergy");
|
||||
heatIcon = event.map.registerIcon("mekanism:LiquidHeat");
|
||||
|
||||
GasRegistry.getGas("hydrogen").setIcon(event.map.registerIcon("mekanism:LiquidHydrogen"));
|
||||
GasRegistry.getGas("oxygen").setIcon(event.map.registerIcon("mekanism:LiquidOxygen"));
|
||||
|
||||
Reference in new issue
Block a user