Class EnvironmentHeatingMode
java.lang.Object
com.github.thedeathlycow.thermoo.impl.environment.EnvironmentHeatingMode
- All Implemented Interfaces:
HeatingMode
A heating mode to apply the environment heat resistances. This is currently only used internally by
ServerPlayerEnvironmentTickEvents-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintapplyResistance(TemperatureAware target, int temperatureChange) Applies thermal resistance to aTemperatureAwaretarget
-
Field Details
-
INSTANCE
-
-
Method Details
-
applyResistance
Description copied from interface:HeatingModeApplies thermal resistance to aTemperatureAwaretarget- Specified by:
applyResistancein interfaceHeatingMode- Parameters:
target- The thermally-aware targettemperatureChange- The temperature change to apply resistance to- Returns:
- Returns the adjusted delta after applying resistance.
-