Data Packs Game Mechanic

Thirsty – Thirst Mechanic (v1.21.4+, Multiplayer)

  • Advancements
  • Functions
  • Predicates
  • 9,358 views • 7 today
  • 1,549 downloads • 0 today
  • 43
  • 31
  • 17
Heimder Rondart
Level 24 : Expert Engineer
10
Thirsty Datapack
Minecraft 1.21.4+


📌 Overview

Thirsty is a vanilla-friendly datapack that introduces a hydration system into Minecraft, adding an extra layer of immersion and resource management to survival gameplay.

The datapack is designed to integrate smoothly with existing vanilla mechanics and with a strong focus on performance, clarity, and multiplayer stability.

It is suitable for survival worlds, hardcore gameplay, and servers that want deeper mechanics while remaining fully compatible with vanilla Minecraft.


⚙️ Requirements
  • Minecraft Java Edition 1.21.4 or newer
  • Singleplayer or multiplayer world with datapack support
  • No mods required


📦 Installation and Update
  1. Download the datapack (.zip file)
  2. Place it inside your world folder:
  3. <your_world>/datapacks/
  4. Enter the world or run:
  5. /reload
  6. Verify that the datapack is loaded:
  7. /datapack list


📦 Settings and Uninstall
Uninstall and configuration were redesigned in v1.3 to be server-friendly and safer:

Use the settings menu with:
/trigger ThirstSettings
Server operators can control whether the uninstall option appears for players using two functions:
/function uninstall_lock
/function uninstall_unlock

These commands respectively lock or unlock the uninstall option in the settings menu for all players.


💧 Thirst Mechanics

This datapack adds a hydration system that works alongside vanilla mechanics.

  • Players have internal thirst and hydration values.
  • Thirst and hydration only decrease through player actions, so AFK players won’t suddenly die of thirst.
  • In Peaceful Mode, hydration and thirst are automatically replenished.
  • Includes a custom advancement tree to track your progress.
Players can quench thirst by:
  • Drinking water bottles or potions.
  • Eating water-rich foods.
  • Sipping from natural sources.

📊 Detailed Values (click to expand)
How it works: Thirst is split into two parts, just like hunger+saturation.
  • th_thirst = visible bar (0–20, starts at 20)
  • th_hydration = hidden buffer (0–20, starts at 5)

When drinking or eating, hydration is filled first. Only when hydration reaches 0 does thirst begin to decrease.

Category / ItemsThirst (Visible)Hydration (hidden)
Drinks (Water Bottle, Potions)86
Sipping from source (Every 80 ticks)21
Stews (Beetroot, Mushroom, Rabbit, Suspicious)65
Milk64
Hearty Fruits (Melon Slice)42
Fruits (Apple, Chorus Fruit, Glow Berries, Sweet Berries)31
Special (Honey Bottle, Golden Apple)20
Negative (Cause thrist effect, Dried Kelp)00

Note: thirst decreases by actions such as sprinting, swimming, jumping, and combat. The “Thirst” status effect accelerates this drain.

The system is designed to be immersive without being overly punishing, and can be expanded or rebalanced as needed.


💧 Sipping System
  • sneak + look at a water block to drink directly from it
  • Sips require 80 ticks (≈4s) to complete and restore +2 Thirst and +1 Hydration
  • intentionally slow to balance risk vs. convenience.
  • Disabled by default and can be enabled in the settings menu.
  • Each player has their own independent sipping configuration.


💧 Thirst Status Effect
  • Gained by eating dried kelp or being attacked by a drowned.
  • Lasts 30s, making thirst drain faster.
  • Visual effects: greenish HUD bar + particles.
  • Can be cured instantly with Milk Bucket.


💧 Multiplayer & Language Support
  • Built with multiplayer compatibility in mind (still experimental).
  • v1.3 and v1.4 bring important optimizations to reduce lag and improve multiplayer stability.
  • Available in English, Brazilian Portuguese, Spanish (Mexico), French, and German.
  • Resource pack system makes it easy to add extra translations.


✨ Recent Updates

  • v1.4.2: Stability changes
  • v1.4.1: Bugfix, HUD Refresh and redirect download to Modrinth page
  • v1.4: Hud change, more optimization and some bug fixes.
  • v1.3.2: small bug fixes.
  • v1.3.1: small bug fixes.

(See Update Logs for the full changelog)


⭐ Final Notes

Known limitation: Custom HUD may temporarily disappear when interacting with beds during daytime or when consuming potions, due to engine behavior in recent Minecraft versions.

If you enjoy this datapack:
  • 👍 Leave a diamond
  • 💬 Comment your ideas
  • ⬆️ Share with friends

Every bit of feedback helps me keep improving it!
CompatibilityMinecraft 1.21
Tags

11 Update Logs

Update v1.4.2 : by Heimder Rondart 01/09/2026 12:06:32 pmJanuary 9 @ 5:06 pm UTC

Thirsty v1.4.2 - Stability Update
  • Menu system refactored to remove dependency on activation/deactivation functions.
  • Item consumption detection migrated to minecraft:consume_item advancements.
  • Hydration values rebalanced and consumables reorganized into clear categories.
  • Reduced scoreboard usage and function calls, improving overall performance and stability.
  • Timers adjusted to properly pause in Creative and Spectator modes.
LOAD MORE LOGS

  Have something to say?

ProfessorBlaze_
01/04/2026 9:21 pm
He/Him • Level 45 : Master Procrastinator Professor
where is the thirsty resource pack the modrinth page says it needs it but i cant find it
1
Heimder Rondart
01/05/2026 3:32 pm
Level 24 : Expert Engineer
history
Instead of clicking directly on the download button, click on the version; the datapack and the resource pack will then appear.

Or just: modrinth.com/datapack/thirsty-datapack/version/1.4.1
1
Silly Fella
12/22/2025 9:27 pm
Level 7 : Apprentice Architect
How would one make this usable in creative?
1
Heimder Rondart
12/23/2025 8:13 am
Level 24 : Expert Engineer
I intentionally left it hidden when the game enters Creative mode, in the same way other vanilla bars work, such as the hunger bar. You can edit the files data/thirst/function/internal_clock/phase_0 and phase_4 respectively in a text editor, then remove only ",gamemode=!creative"; after that, the bar should also appear in Creative mode. However, I should warn you that thirst does not decrease in Creative mode nor on Peaceful difficulty, so it is purely aesthetic. I will note your case as a suggestion to add options to the datapack menu to enable or disable the display in Creative mode, so this functionality can be added in future updates.
1
11/24/2025 12:39 pm
This reply was removed by the poster or a moderator.
11/24/2025 1:58 pm
This reply was removed by the poster or a moderator.
Lackorooms
09/27/2025 1:37 pm
He/Him • Level 1 : New Explorer
Cool datapack! Like everyone else, I think that adding more types of water would be cool (river, clear, or dirty). Great work so far!
2
Johnny_case
09/19/2025 2:17 pm
Level 1 : New Miner
Can you make the player poisoned by drinking river or sea water and improve the other bar by drinking clean water?
2
Heimder Rondart
09/22/2025 3:11 pm
Level 24 : Expert Engineer
history
This was partially implemented in very early versions of the datapack, where you could get the thirst effect by drinking water directly from a bottle without boiling it.

But Mojang changed some things and the old system simply broke, so I removed it. Now I'm thinking of other ways to implement this, but by now I'm working in improve the core mechanics of the datapack.
3

Welcome