Thirsty
Thirsty 是一款兼容原版的数据包,为 Minecraft 引入了水分系统,为生存玩法增添了额外的沉浸感和资源管理维度。
它旨在与原版的机制无缝集成,重点强调性能、清晰性和多人游戏稳定性。
⚠️ 需要资源包
此数据包必须搭配 Thirsty Resource Pack 才能正确显示 HUD 元素。请确保已安装并启用了该资源包,否则口渴条将不会显示。
技术与服务器信息
设置菜单和卸载系统设计得对服务器友好且安全。
打开设置菜单:
/trigger ThirstSettings
安装与更新
- 下载数据包的
.zip 文件。
- 将其放入以下目录:
<你的世界>/datapacks/
/reload
/datapack list
管理员命令
服务器管理员可以控制对卸载选项的访问权限:
/function uninstall_lock
/function uninstall_unlock
这些命令将在全局范围内锁定或解锁所有玩家的卸载选项。
水分机制
Thirsty 添加了一个水分系统,与原版饥饿度机制并行工作。
- 玩家拥有内部的口渴值和水分值。
- 口渴值仅通过玩家行为减少——挂机(AFK)的玩家不会突然渴死。
- 在和平模式下,口渴值和水分值会自动恢复。
- 包含一个自定义进度 advancement 树以追踪进度。
恢复口渴的方法
- 饮用水瓶或药水
- 食用富含水分的食物
- 直接从自然水源饮水
水分系统详情
水分系统的运作方式类似于饥饿度和饱和度:
- th_thirst → 可见条(0–20,初始值为 20)
- th_hydration → 隐藏缓冲值(0–20,初始值为 5)
水分值总是在可见口渴值之前被消耗。
| 类别 / 物品 |
口渴值 (可见) |
水分值 (隐藏) |
| 饮品 (水瓶, 药水) |
8 |
6 |
| 从源头饮水 (每 80 tick) |
2 |
1 |
| 炖菜 |
6 |
5 |
| 牛奶 |
6 |
4 |
| 丰盛水果 (西瓜片) |
4 |
2 |
| 水果 |
3 |
1 |
| 特殊物品 (蜂蜜瓶, 金苹果) |
2 |
0 |
| 负面效果 (导致口渴, 干海带) |
0 |
0 |
注:奔跑、游泳、跳跃和战斗会导致口渴值下降。口渴状态效果会加速这一消耗过程。
饮水系统
- 潜行 + 注视 水面方块即可直接从中饮水。
- 完成该动作需要 80 tick(约 4 秒)。
- 恢复 +2 口渴值 和 +1 水分值。
- 故意设计得较慢,以平衡风险与便利性。
- 默认禁用 — 可在设置菜单中启用。
- 每位玩家拥有独立的饮水配置。
口渴状态效果
- 由食用干海带或被溺尸攻击触发。
- 持续 30 秒 并加速口渴值的消耗。
- 视觉反馈:HUD 条呈现绿色并伴有粒子效果。
- 饮用牛奶可立即解除该效果。
多人游戏与语言支持
- 专为多人游戏兼容性构建(仍处于实验阶段)。
- 可用语言:英语、巴西葡萄牙语、西班牙语(墨西哥)、法语、德语。
- 资源包系统允许轻松添加新的翻译。
备注
已知限制:由于近期 Minecraft 版本的引擎行为,自定义 HUD 在与床互动期间(白天)或饮用药水时可能会暂时消失。
如果你喜欢这个数据包:
- ? 关注本项目
- ? 分享反馈和建议
- ⬆️ 向朋友或服务器推荐它
每一份反馈都有助于改进项目。
最近更新
- v1.4.2 — 稳定性更新
- v1.4.1 — 错误修复与 HUD 刷新
- v1.4 — HUD 更新、性能优化、多项错误修复、Modrinth 首发
(请参阅更新日志获取完整变更日志。)
Thirsty
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.
It is designed to integrate smoothly with vanilla mechanics, with a strong focus on performance, clarity, and multiplayer stability.
- Suitable for survival worlds
- Server-ready
- No mods required
⚠️ Required Resource Pack
This datapack requires the Thirsty Resource Pack to display the HUD element correctly. Make sure the resource pack is installed and enabled, or the thirst bar will not appear.
Technical and Server Information
The settings menu and uninstall system were designed to be server-friendly and safe.
Open the settings menu:
/trigger ThirstSettings
Installation & Update
- Download the datapack
.zip.
- Place it inside:
<your_world>/datapacks/
/reload
/datapack list
Operator Commands
Server operators can control access to the uninstall option:
/function uninstall_lock
/function uninstall_unlock
These commands lock or unlock the uninstall option globally for all players.
Thirst Mechanics
Thirsty adds a hydration system that works alongside vanilla hunger mechanics.
- Players have internal thirst and hydration values.
- Thirst only decreases through player actions — AFK players won’t suddenly die of thirst.
- In Peaceful Mode, thirst and hydration are automatically replenished.
- Includes a custom advancement tree to track progression.
Ways to restore thirst
- Drinking water bottles or potions
- Eating water-rich foods
- Sipping directly from natural water sources
Thirst System Details
Thirst works similarly to hunger and saturation:
- th_thirst → visible bar (0–20, starts at 20)
- th_hydration → hidden buffer (0–20, starts at 5)
Hydration is always consumed before visible thirst.
| Category / Items |
Thirst (visible) |
Hydration (hidden) |
| Drinks (Water Bottle, Potions) |
8 |
6 |
| Sipping from source (Every 80 ticks) |
2 |
1 |
| Stews |
6 |
5 |
| Milk |
6 |
4 |
| Hearty Fruits (Melon Slice) |
4 |
2 |
| Fruits |
3 |
1 |
| Special (Honey Bottle, Golden Apple) |
2 |
0 |
| Negative (Cause thrist, Dried Kelp) |
0 |
0 |
Note: thirst decreases through sprinting, swimming, jumping, and combat. The Thirst status effect accelerates this drain.
Sipping System
- Sneak + look at a water block to drink directly from it.
- Requires 80 ticks (~4s) to complete.
- Restores +2 Thirst and +1 Hydration.
- Intentionally slow to balance risk vs convenience.
- Disabled by default — can be enabled in the settings menu.
- Each player has an independent sipping configuration.
Thirst Status Effect
- Applied by eating dried kelp or being attacked by a drowned.
- Lasts 30 seconds and accelerates thirst drain.
- Visual feedback: greenish HUD bar and particles.
- Instantly cured by drinking Milk.
Multiplayer and Language Support
- Built with multiplayer compatibility in mind (still experimental).
- Available languages: English, Brazilian Portuguese, Spanish (Mexico), French, German.
- Resource pack system allows easy addition of new translations.
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:
- ? Follow the project
- ? Share feedback and ideas
- ⬆️ Recommend it to friends or servers
Every bit of feedback helps improve the project.
Recent Updates
- v1.4.2 — Stability update
- v1.4.1 — Bugfix and HUD Refresh
- v1.4 — HUD update, performance optimizations, multiple bug fixes, initial Modrinth release
(See the update logs for the full changelog.)
评论 0
登录后参与评分
还没有评论,来抢沙发吧