promotional bannermobile promotional banner

食物增强(foodstats)

Eating new foods (when their satiety value reaches a certain level) will boost your health, armor, and attack.
Back to Files

neoforge-3.0.4

File namefoodstats-3.0.4.jar
Uploader
ming_haiming_hai
Uploaded
Aug 16, 2026
Downloads
73
Size
1.6 MB
Mod Loaders
NeoForge
File ID
8661036
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:foodstats-1215945:8661036"

Learn more about Curse Maven

What's new

## v3.0.4 - Bug Fix

### 🔧 Fixed
- Fixed negative saturation progress when switching bonus modes
  - After switching from "Per Unique Food" or "Per N Unique Foods" mode
    to "Saturation Threshold" mode, bonuses triggered in other modes
    are no longer incorrectly counted as saturation consumption
  - Each mode now tracks its progress independently

### 📝 Technical
- Added a dedicated saturation-mode trigger counter (saturationBuffCount),
  separated from the total buff count (buffCount), to avoid cross-mode data pollution


## v3.0.4 - Bug 修复

### 🔧 修复
- 修复切换增益模式后饱食度进度显示为负数的问题
  - 从「每种新食物」或「每N种新食物」模式切换到「饱食度累计」模式后,
    之前在其他模式下触发的加成次数不再被错误计入饱食度消耗
  - 现在各模式的进度独立计算,互不干扰

### 📝 技术说明
- 新增独立的饱食度模式触发计数器(saturationBuffCount),
  与总加成次数(buffCount)分离,避免跨模式数据污染

This mod has no additional files