A **Vanilla+ drinks and Energy mod for Minecraft: Java Edition 1.20.1**, built with **Fabric**.
## Core Mechanics
- Energy has a maximum of **20 points**, displayed using **10 star icons**. A full star is glowing green, a half star is regular green, and an empty star is gray.
- Normal activities slowly consume Energy, while sprinting, climbing, jumping, and similar activities consume it more quickly. When Energy reaches 0, further Energy consumption applies additional hunger exhaustion on top of vanilla hunger consumption.
- Sneaking while standing still counts as resting and slowly restores Energy. Sleeping restores Energy rapidly, and Energy is fully restored upon waking.
- Phantoms still require the vanilla conditions for nighttime, open sky, difficulty, game rules, and so on. This mod only replaces the vanilla time-since-last-rest threshold with a requirement that the player’s Energy be **below 4 points**.
## Drinks
- **Plain Tea, Floral Tea, and Barley Tea:** Restore half a hunger shank and refresh a **5-minute Energy regeneration boost**. Repeated consumption does not stack the effect or extend its total duration; it only resets the remaining duration to 5 minutes.
- **Coffee:** Restores half a hunger shank and immediately restores **6 Energy** per cup, up to a maximum of 20. It then refreshes a **3-minute Energy Overdraft** side effect. The instant restoration applies separately for each cup, while the Overdraft duration does not stack.
- **Milk Tea:** Inherits milk’s ability to clear status effects and provides the tea-based Energy regeneration boost.
- **Latte:** Inherits milk’s ability to clear status effects, immediately restores **6 Energy** per cup, and refreshes the Coffee Overdraft side effect.
- Drinking returns the corresponding **glass cup or ceramic cup**.
## Crafting and Processing
- Regular leaves can be smelted into **Plain Tea Bags**.
- Flowers, cherry leaves, pink petals, and flowering azalea leaves can be smelted into **Floral Tea Bags**.
- Wheat seeds can be smelted into **Barley Tea Bags**.
- Cocoa beans can be smelted into **Coffee Powder**.
- Basic drinks are crafted on a crafting table using a **tea bag or Coffee Powder + a water bucket + a cup**.
- Milk Tea is crafted using **any tea bag or any tea-based drink + a milk bucket + a cup**.
- A Latte is crafted using **Coffee Powder or Coffee + a milk bucket + a cup**.
## Timing Rules
- **Resting while standing still:** Restores approximately **1 Energy every 10 seconds**.
- **Resting while standing still after drinking tea:** Restores approximately **1 Energy every 5 seconds**.
- **Light activity after drinking tea:** Restores approximately **1 Energy every 20 seconds**.
- **Coffee Overdraft:** Consumes approximately **1 additional Energy every 30 seconds**. When Energy reaches 0, it instead applies additional hunger exhaustion.
Minecraft Java Fabric 1.20.1 的 Vanilla+ 饮品与精力值 Mod。
核心机制
- 精力值总量 20 点,用 10 个星星图标显示;满格为发光绿色星星,半格为普通绿色星星,空格为灰色星星。
- 正常活动会缓慢消耗精力,疾跑、攀爬、跳跃等更快;精力为 0 时,后续消耗会在原版饱食度消耗之外额外叠加饱食度压力。
- 潜行且站定会被视为休息并缓慢恢复精力;睡觉会快速恢复,起床时回满。
- 幻翼仍然需要满足原版夜晚、露天、难度、游戏规则等条件;本 Mod 只是把原版长时间不睡觉门槛改为精力低于 4 点。
饮品
- 清茶、花茶、大麦茶:恢复半格饱食度,并刷新 5 分钟的精力恢复加成。重复饮用不会叠加效果或延长总时长,只会把剩余时间重置为 5 分钟。
- 咖啡:恢复半格饱食度,每杯立即恢复 6 点精力,最多恢复到 20 点;随后刷新 3 分钟的透支副作用。即时恢复可以逐杯生效,透支时间不会叠加。
- 奶茶:继承牛奶清除状态效果,并拥有茶的精力恢复加成。
- 拿铁:继承牛奶清除状态效果,每杯立即恢复 6 点精力,并刷新咖啡透支副作用。
- 饮用后返还对应的玻璃杯或陶瓷杯。
合成与加工
- 普通树叶熔炼为清茶包。
- 花、樱花树叶、粉红花簇、盛开的杜鹃树叶熔炼为花茶包。
- 小麦种子熔炼为大麦茶包。
- 可可豆熔炼为咖啡粉。
- 基础饮品使用茶包或咖啡粉 + 水桶 + 杯子在工作台合成。
- 奶茶使用任意茶包或任意茶类饮品 + 牛奶桶 + 杯子合成。
- 拿铁使用咖啡粉或咖啡 + 牛奶桶 + 杯子合成。
时间规则
- 站定休息:约 10 秒恢复 1 点精力。
- 喝茶后站定休息:约 5 秒恢复 1 点精力。
- 喝茶后轻活动:约 20 秒恢复 1 点精力。
- 咖啡透支:约 30 秒额外消耗 1 点精力;精力为 0 时改为额外叠加饱食度消耗。