Releases: TheDeathlyCow/thermoo
Releases · TheDeathlyCow/thermoo
Version 4.2.3 - Another Crash Fix
- Fixed NPE with Colorful Hearts
Version 4.2.2 - Crash fix
- Fixed #35: Crash with N=1 mod 10 hearts
Version 4.2.1 - Conventional Food Tags and Crash fix
- Fixed a crash with Pokemon Trainer Mob
- Added conventional thermoo tags for temperature-related consumeables
- Added some builder helper methods for the custom loot conditions
Version 2.3.3 - Patch Update
- Fixed a crash with Pokemon Trainer Mob
Attribute Modifier Temperature Effect and Tropical Seasons
- Added a
thermoo:attribute_modifier
temperature effect that applies "fixed" attribute modifiers to affected entities. - Added the tropical Wet and Dry Seasons to the Seasons API, along with an event to query these seasons
- Cardinal Components API is no longer embedded with Thermoo - users must now download it separately from Thermoo.
Bug fix update
- Fixed armor material attribute IDs overriding each other
- Fixed the check temperature command sending an error
Armor Materials API
Adds a new armour materials API to sort of replace the primary use case of the old item attribute modifiers API.
- Added new armor material tags for different levels of frost and heat resistance. Note that these are tags for armor materials, not armor items, and therefore go in
data/<namespace>/tags/armor_material/
. - Added two new events:
ArmorMaterialEvents.GET_HEAT_RESISTANCE
andArmorMaterialEvents.GET_FROST_RESISTANCE
to get the respective heat and frost resistance for an armor material and armor type (like boots, chestplate, helmet). - Known issue: Using the tags to apply heat and frost resistance doesn't really work with a datapack's normal world-independence. For now, the tags should only be used in datapacks that apply to all worlds on a modpack/server.
Update Jitpack JDK
Updates the jitpack JDK version to openjdk21. This version is identical to 4.0 except for this change in the metadata.
Update 4.0 - Minecraft 1.21
Updates Thermoo to MC 1.21. Includes several breaking changes:
- Thermoo now requires Java 21, matching Minecraft's requirement.
- Removed item attribute modifiers, without replacement. This was too difficult of a feature to update with item components, but a replacement feature may come soon.
- The path of temperature effects was changed from
thermoo/temperature_effects
tothermoo/temperature_effect
, to reflect similar changes made to the vanilla game. - The constant fields in
ThermooAttributes
now have typeRegistryEntry<EntityAttribute>
rather thanEntityAttribute
EnvironmentController#getBaseValueForAttribute
had its signature changed to take aRegistryEntry<EntityAttribute>
rather thanEntityAttribute
ScalingAttributeModifierTemperatureEffect.Config
had several changes in both Java and Datapack APIs. Theattribute
type was changed toRegistryEntry<EntityAttribute>
rather thanEntityAttribute
, and the UUID and name fields were removed and replaced with an identifier field calledid
, with this change also affecting datapacks. Furthermore, datapack'soperation
field must now be one ofadd_value
,add_multiplied_base
, oradd_multiplied_total
.- Temperature effects and custom Loot Condition types now have a
MapCodec
instead of aCodec
(however temperature effect configs are still regular Codecs). - The class
ThermooSeasons
was renamed toThermooSeason
. PlayerEnvironmentEvents.CAN_APPLY_PASSIVE_TEMPERATURE_CHANGE
now returns aTriState
instead of a boolean, making it clearer when a listener is passing.
The following additions were made to Thermoo:
- Added default temperature converter settings instances for all units