mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-21 20:42:17 +00:00
Improve temperature colours to allow for different base colours.
Make a start on insulation. Code the characteristics of air into static IHeatTransfer variables.
This commit is contained in:
1 parent
7214a88a7a
commit
ab2a7cb6c7
6 files changed
+92
-32
No files matched your search
@@ -4,15 +4,23 @@ import net.minecraftforge.common.util.ForgeDirection;
|
||||
|
||||
public interface IHeatTransfer
|
||||
{
|
||||
/**The value of the zero point of our temperature scale in kelvin*/
|
||||
public static final double AMBIENT_TEMP = 300;
|
||||
|
||||
/**The heat transfer coefficient for air*/
|
||||
public static final double AIR_INVERSE_COEFFICIENT = 10000;
|
||||
|
||||
public double getTemp();
|
||||
|
||||
public double getInverseConductionCoefficient();
|
||||
|
||||
public double getInsulationCoefficient(ForgeDirection side);
|
||||
|
||||
public void transferHeatTo(double heat);
|
||||
|
||||
public double[] simulateHeat();
|
||||
|
||||
public double applyTemperatureChange();
|
||||
|
||||
public boolean isInsulated(ForgeDirection side);
|
||||
public boolean canConnectHeat(ForgeDirection side);
|
||||
}
|
||||
Reference in new issue
Block a user