**Saturation Plus - Patch Notes (1.2.0)**
- Added two commands for manually adjusting saturation:
- Use **/addSaturation** to add (or subtract, using negative input) saturation.
- Use **/setSaturation** to change saturation to a fixed amount.
- Similar to /getSaturation, the commands are only useful for players; they also cannot be used to go under the minimum saturation level of 0.
- The following edge cases for large saturation levels were observed and handled as follows:
- Due to floating point precision loss, any saturation gained past 2^24 (16777216) will lose accuracy. This establishes a soft limit on foodstuffs that offer marginal saturation increases.
- To prevent saturation from being stuck at values past 2^24, saturation loss will be doubled for every power of 2 to accompany the precision loss.
- A hard limit of 3.4e+38F (the floating point limit) has been implemented to prevent overflow.
- Alongside text adjustments for /getSaturation, the hunger bar representative (ex. "_ hunger bars") no longer caps at the integer limit.
- Additional optimizations!
**This mod version is for Minecraft 1.21 and 1.21.1 only. Use the designated 1.21.2+ file for newer versions of 1.21.**
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" }