-
Notifications
You must be signed in to change notification settings - Fork 0
Adding and editing items with hydration values
You can customize thirst restoration values directly inside config/yet_another_thirst/common.toml under the [items] section.
Unlike older versions of the mod, there are no separate item files; everything is handled in one central configuration.
The section has three main fields:
A list of items that restore hydration when consumed.
Format: [["item-id", thirst, quenched], ["#item-tag", thirst, quenched]]
-
Example:
["minecraft:potion", 6, 8](restores 3 droplets of thirst, and 4 droplets of quenched buffer).
A list of items that restore hydration when eaten. These items will restore both hunger (handled by the food's vanilla properties) and thirst.
Format: [["item-id", thirst, quenched], ["#item-tag", thirst, quenched]]
-
Example:
["minecraft:apple", 2, 3](restores 1 droplet of thirst, and 1.5 droplets of quenched buffer, in addition to hunger).
A list of item IDs or tags that are explicitly excluded from restoring thirst, even if they are caught by default lists or tags.
Format: ["item-id", "#item-tag"]
-
Item IDs: Input matching the exact registration namespace (e.g.
"minecraft:melon_slice"or"farmersdelight:melon_popsicle"). -
Item Tags: Prefix with a
#to apply thirst values to all items in that tag group (e.g."#forge:fruits"or"#minecraft:fishes"). -
Thirst: Hydration restored (integer from
0to20, where1= half-droplet). -
Quenched: Quenched buffer restored (integer from
0to20, where1= half-droplet).
All thirst values are reloaded dynamically at runtime when the server loads or configuration files are updated. You do not need to restart Minecraft.