跳到正文

AutoDrinking

作者:wuming123

Added an auto-drinking addon for the Sophisticated Storage backpack in TerraFirmaCraft.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Provides automatic drinking functionality for Sophisticated Backpacks, integrating with TerraFirmaCraft’s thirst mechanic. 

Features

  • Monitors player thirst value. Automatically consumes liquid from fluid containers in the backpack when the value falls below 75.
  • Consumes 25mB of liquid per operation, restoring 25 thirst points.
  • Supports all containers holding potable liquids, including jugs, waterskins, and buckets.
  • Detection interval: every 6 seconds (120 ticks).

Usage

  1. Craft the Auto Drinking upgrade (recipe: 1× Upgrade Base, 1× Water Bucket, 1× Golden Carrot, 1× Glistering Melon Slice, 1× Ender Pearl).
  2. Install the upgrade into an upgrade slot of a Sophisticated Backpack.
  3. Place containers filled with fresh water in the backpack’s main storage.

Technical Implementation

  • Identifies potable liquids via TFC’s Drinkable interface.
  • Server-side logic utilizing IFluidHandler for fluid consumption and container state updates.

Dependencies

  • Minecraft 1.20.1
  • Forge 47+
  • TerraFirmaCraft
  • Sophisticated Core
  • Sophisticated Backpacks

常见问题

AutoDrinking 支持哪些 Minecraft 版本?

AutoDrinking 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

AutoDrinking 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分