90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Changelog
- 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
Dependencies
Details
Licensed LGPL-3.0-only
Published 2 years ago
Updated 13 days ago