- Added `get` methods to the `TemperatureAware` class that allow the interface to be obtained from `LivingEntity` and `Entity`. Primarily intended for cases where interface injection may not work well.
- Added translated for the consumable tags
- Replaced the attribute base value method of the environment controller with dedicated events. The old controller method has been deprecated. See PR #43
- Entity tags and lists are now allowed in the temperature effect `entity_type` field as a `#` prefixed tag ID or list of direct entity type IDs. See PR #42
- Fixed the `remove()` temperature effect method not being called/tracked properly per entity. In particular, this fixes an issue where attribute modifier temperature effects would behave weirdly
- The constructor for the `ConfiguredTemperatureEffect` has been marked as internal. The previous constructor has been kept to avoid a breaking change, but it has now also been marked as internal.
- Deprecated `ConfiguredTemperatureEffect#applyIfPossible()` (replaced with an `apply()` method that returns success instead).
- Deprecated `ConfiguredTemperatureEffect#entityType()` - use the new `entityTypes()` method (plural)
- Deprecated `TemperatureEffects#getEffectsForEntity` - this method should not have been part of the API and will be removed
- Added `TemperatureEffects#getEffect` that allows for looking up a configured temperature effect by ID
- The "resource conditions were not met" log has been moved to debug, which should reduce log spam caused by Thermoo
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }