public static class Mek2PNCHeatProvider.Mek2PNCHeatAdapter extends IHeatExchangerAdapter.Simple<mekanism.api.heat.IHeatHandler>
IHeatExchangerAdapter.Simple<CAP>ambientTemperature, foreignHeatCap, sideALL_BLOCKS| Constructor and Description |
|---|
Mek2PNCHeatAdapter(net.minecraft.util.Direction side,
net.minecraftforge.common.util.LazyOptional<mekanism.api.heat.IHeatHandler> heatHandler,
double ambientTemperature,
double thermalResistanceMult) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHeat(double amount)
Adds heat (= deltaT * Thermal Capacity) to this exchanger.
|
double |
getTemperature()
Get the heat exchanger's current (precise) temperature.
|
double |
getThermalCapacity()
Get this heat exchanger's thermal capacity.
|
double |
getThermalResistance()
Get this heat exchanger's thermal resistance.
|
getAmbientTemperature, isSideConnectedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTemperatureAsInt, initializeAmbientTemperature, initializeAsHull, setTemperature, setThermalCapacity, setThermalResistance, tickaddConnectedExchanger, addConnectedExchanger, deserializeNBT, getHeatBehaviour, removeConnectedExchanger, removeConnectedExchanger, serializeNBTpublic Mek2PNCHeatAdapter(net.minecraft.util.Direction side,
net.minecraftforge.common.util.LazyOptional<mekanism.api.heat.IHeatHandler> heatHandler,
double ambientTemperature,
double thermalResistanceMult)
public double getTemperature()
IHeatExchangerLogicIHeatExchangerLogic.getTemperatureAsInt() there instead.public double getThermalResistance()
IHeatExchangerLogicIHeatExchangerLogic.setThermalResistance(double) for more information
on thermal resistance.public double getThermalCapacity()
IHeatExchangerLogicIHeatExchangerLogic.setThermalCapacity(double) for more information.public void addHeat(double amount)
IHeatExchangerLogicamount - the heat amount