Skip to content

Adding and editing items with hydration values

minhnh303 edited this page Jun 7, 2026 · 1 revision

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.

Configuration Lists

The section has three main fields:

1. drinks

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).

2. foods

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).

3. itemsBlacklist

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"]


Formatting Values

  • 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 0 to 20, where 1 = half-droplet).
  • Quenched: Quenched buffer restored (integer from 0 to 20, where 1 = half-droplet).

Runtime Reload

All thirst values are reloaded dynamically at runtime when the server loads or configuration files are updated. You do not need to restart Minecraft.

Clone this wiki locally