1.4.0-1.18
Compatibility
Changes
Patch Notes - Version 1.4 (For Minecraft Fabric 1.18)
-
Added a config file for adjusting the saturation display HUD
-
Added 8 main config settings to adjust:
- ui_display_format : UI format for hunger stats relative to the game window
- Options: remove, default, topleft, bottomleft, topright, bottomright
- Replaces saturation.ui from Fabric 1.3.1 (Delete previous config file to remove this outdated entry!)
- exhaustion_mode : Display format for exhaustion
- Options: percentage, decimal, fraction
- alt_font_text : Choose whether to use an alternate font for the display text, or keep the default Minecraft font
- ui_size : UI size for hunger stats (Ranges from 0.1 to 10 size)
- ui_dx : Offset x for hunger stats (-x: left | +x: right)
- ui_dy : Offset y for hunger stats (-y: up | +y: down)
- For ui_dx and ui_dy, value is relative to the current formatted position and measured in screen pixels rounded down
- saturation_display_color - Saturation display color (split into alpha, red, green, and blue color channels)
- exhaustion_display_color - Exhaustion display color (uses standard color range of 0-255 or 0x00-0xFF)
- ui_display_format : UI format for hunger stats relative to the game window
-
(FEATURES FOR FORGE AND NEOFORGE ONLY)
- Added a config screen to adjust settings in-game (to access, select "Saturation Plus" under the mods list screen)
- Closing the screen automatically saves any changes to the config file
- Selecting the "Restore Defaults" option resets all config setting changes to default
- Added a config screen to adjust settings in-game (to access, select "Saturation Plus" under the mods list screen)
-
(FEATURES FOR FABRIC ONLY)
- Added the /saturationConfig command for updating any changes to the config
- (Currently, the only way to change settings for Fabric is through the config file itself)
- /saturationConfig refresh : Reloads the settings to match the config file contents (remember to save the file first!)
- /saturationConfig clear : Deletes and regenerates the config file with default settings (fails if the file is locked by another process)
- (Minecraft 1.14/1.15 version only) - Instead of the /saturationConfig command, two keybinds are added for the player to change the config file
- SNEAK + "=" key - Reload Config ; SNEAK + "-" key - Delete Config
- "=" and "-" keys can be rebinded, but the player must be sneaking to confirm any keybind presses
- (Update from 1.3.1/1.3.2) - Added error handling messages for when the config file fails to delete
- Additional bug fixes and features (ex. improved hex value parsing) to match Forge/NeoForge's built-in config parser
- Added the /saturationConfig command for updating any changes to the config
-
To reset config settings traditionally, delete the config file and restart Minecraft
- If a config file is present from Fabric 1.3.1, this is recommended to load the new settings
-
-
Added new gamerule - satCmdMessageAsOverlay
- Default true, determines whether messages from commands (ex. /getSaturation) display as an action bar overlay or as a chat message
- Feedback from saturation commands now appears on the action bar by default (disabling this gamerule returns the original feedback chat message)
-
Changed the secret exhaustion upper limit to adjust to 10 times the maxExhaustion gamerule
- Traditionally, there is a hidden exhaustion upper limit of 40 (10 times the traditional max exhaustion level, 4, before saturation starts depleting)
- This feature prevents players from building up too much exhaustion faster than can be depleted (-4/tick)
- The above change also fixes a bug where players would never get hungry if maxExhaustion is set to above 40 (as exhaustion would get stuck at the upper limit of 40)
- A hard limit is still enforced for exhaustion at the integer limit
-
The exhaustion value now displays "∞" if maxExhaustion is set to "infinity" (-1 or less)
-
Fixed a bug where the saturation display persists even when hiding the HUD (ex. F1)
-
Fixed a bug where the Saturation status effect stops filling the hunger bar if the player's saturation exceeds 20
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:AgApeolo:YhKvVmIt"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:AgApeolo:YhKvVmIt"
}

