Releases: TheDeathlyCow/thermoo
Version 2.1.0 - Entity Type-Specific temperature effects and Custom Max Wet Ticks
- Added a new
entity_type
field to temperature effects - this is a new field that causes the effect to only apply to the specific entity type. This is also more performant than using predicates for this, as the effect will only be ticked for that type. Unfortunately, this means that tags won't work in this field. However, for effects that should only apply to a single type of entity (eg players), using this field can significantly reduce the amount of stuff the server has to tick. If this field is unspecified, then the existing behaviour of ticking the effect on all entities is retained. - Added a new
maxWetTicks(Soakable)
method to the environment controller. In order to preserve existing functionality, this defaults to a value of600
instead of the usual0
. However, this value may now be overridden by mods as they see fit. - Fixed up some javadoc on the environment controller that was outdated
Version 2.0.2 - Fix sync of attributes
- Set all attributes of Thermoo to be synchronized between client and server
Version 2.0.1 - Added Cardinal Components
Increased Cardinality
- Switched from using data tracker and custom fields to using Cardinal Components for internal tracking of temperature and wetness
- You should not need to download Cardinal Components for this update
- This should also fix temperature not properly syncing on dedicated servers
Version 2.0.0 - Updated controller and removal of (most) events
This update brings several major breaking changes to the Thermoo backend, hence the version number being set to 2.0.0. I hope I don't feel the need to do this again, but hopefully these changes make the mod a lot nicer to use. Most notably for users, this update removes Cloth as a dependency of Thermoo so now Thermoo's only dependency is Fabric API.
Changelog:
- Removed the
DefaultEnvironmentController
and replaced it withEmptyEnvironmentController
. - Removed Cloth as a direct dependency of Thermoo.
- Removed almost all events
- Added
CAN_APPLY_PASSIVE_TEMPERATURE_CHANGE
toPlayerEnvironmentEvents
. - Added a
EnvironmentControllerInitializeEvent
to control the order of environment controller decorator application. - Set the base min/max temperature attribute values to 0.
- Fixed an issue where entities would not have their passive temperature changes properly calculated while riding a vehicle (TheDeathlyCow/frostiful#47).
For most developers, I would strongly recommend rereading the Environment Controller wiki page, as it has almost entirely been rewritten. It is available here: https://github.com/TheDeathlyCow/thermoo/wiki/Environment-Controller-and-Events-(Mods)
This update will not be published to CurseForge/Modrinth until Frostiful is also updated!
Version 1.6 - Updated for 1.20
Pails and Tails
Thermoo is now updated to 1.20+! This was a fairly small update, with only one real back end change
- Updated to MC 1.20+
- Changed the order in which the evaluation of whether to apply a temperature effect is made, and slightly optimized the
ScalingAttributeModifierTemperatureEffect
Version 1.5.1 - Hot Floor Event
- Made the hot floor temperature change require approval from an event listener
Version 1.5 - 1.19.4
Thermoo is now updated to 1.19.4!
Changes:
- Updated to 1.19.4
- Added fallback translations for command text feedback
- The
LegacyDamageTemperatureEffect
is now deprecated, as well as its implementationthermoo:freeze_damage_legacy
- Added the temperature effect
thermoo:damage
- Breaking change: the constructor for
LegacyDamageTemperatureEffect
now requires aFunction<ServerWorld, DamageSource>
instead of just aDamageSource
. - Changed the logic for how status effect temperature effects are refreshed
Version 1.4 - Powder snow and predicates
- Added passive snow to the environment controller
- Removed
isCold()
check on applying heat sources - this is now left to users - Added a temperature predicate to entity predicates
Version 1.3.1 - Mod Icon and Result modifications
- The 'initial change' of environment change events can now be further modified before it is applied
- Added a mod icon
Version 1.2.1 - Cleanup and javadoc
v1.2.1 getter for isinitialchange