BiteSync
完成咬合。坚持战斗。
你正在战斗中,吃着一颗金苹果,进度已达 94%——就在这时你的手指在右键上滑了一下。苹果食用取消,一切从头开始,你在进食中死亡。BiteSync 正是为了解决这一瞬间的问题而存在的。
如果你已经食用了至少 90% 的物品,并且意外释放了使用键,BiteSync 会保留你已经启动的食用动作,直到它以正常的原版刻(tick)完成。这就是该模组的全部内容。
实际功能
当你按住右键时,物品开始正常食用。如果你在超过阈值(默认为 90%,最高可调至 99%)后松开按键,BiteSync 会为你保持现有的使用动作——效果就像你的手指从未离开按钮一样。物品会在正常的刻数下完成食用,随后 BiteSync 重置,任务完成。
如果在低于 90% 时松开?像原版一样取消,始终如此。BiteSync 不会干预。
进度是根据物品的实际使用刻数计算的,而不是现实时间或帧率,因此延迟和 FPS 不会影响判定。
服务器是否允许使用取决于服务器本身。使用前请阅读规则——这里没有任何内容可以覆盖管理员的决定。
取消机制
只要你进行任何其他操作,BiteSync 就会退让,你的输入将不受干扰地生效:
- 攻击(空击、方块或实体)会立即取消——攻击本身不会被阻止或重复
- 切换快捷栏槽位会取消,包括在使用副手物品时
- 交换手持物品会取消
- 丢弃物品会取消
- 打开背包或其他任何屏幕会取消——菜单背后不会有持续的食用行为
- 死亡、更换世界或断开连接会重置所有内容
- 如果服务器替换或修正了物品堆栈,以服务器为准,会话结束
这些情况均无法在配置文件中关闭。此外,每个物品都有独立的超时设置,因此它永远不会陷入无限保持使用动作的状态。
HUD(抬头显示)
当你食用符合条件的物品时,快捷栏上方会出现一个小型透明覆盖层:显示物品图标、下方的实时百分比,以及一条带有 90% 标记的细进度条。超过阈值后,进度条会变成安静的绿色,让你知道辅助已激活。无声音,无闪烁。
图标始终显示你当前正在消耗的物品——主手或副手——每个物品都会获得独立的读数,包括堆叠中的每一个苹果。
位置、缩放、偏移量以及各个元素均可配置,或者你可以完全关闭 HUD。它遵循你的 GUI 缩放比例,与资源包和自定义物品模型兼容良好。
支持物品
任何具有真实原版风格吃或喝动作的物品:食物、金苹果、药水、牛奶、蜂蜜瓶、炖菜,以及使用原版可消耗组件(consumable component)的模组物品。
弓、弩、盾牌、三叉戟、望远镜、刷子和水桶永远不会被触及——这仅适用于真正的消耗行为。
还有一个过滤系统:你可以对所有可消耗物品运行,或切换到仅白名单模式。黑名单始终优先,因此你可以禁止chorus fruit(紫颂果)或任何你不希望获得辅助的物品。
配置文件
config/bitesync.json 在首次启动时创建。包含阈值、过滤器和完整的 HUD 控制。阈值不能设置为低于 90%——超出范围的值会被钳制。如果文件损坏,它会被备份并重新生成,而不是导致游戏崩溃。
如果你安装了 Mod Menu,会有一个设置界面,提供所有配置的滑块,基于纯原版小部件构建——无需配置库。即使没有 Mod Menu,一切也能正常工作。
安装
- Fabric Loader
- Fabric API
- 将 BiteSync jar 放入
mods文件夹
请获取与你的 Minecraft 版本完全匹配的文件。 每个版本都有一个 jar 包(1.21.5 至 1.21.11,以及 26.1),每个 jar 都固定了其 Minecraft 依赖项——错误的 jar 会以清晰的提示拒绝加载,而不是部分工作。
仅限客户端,服务器端无需任何内容。与 Sodium、Lithium、ImmediatelyFast 和重映射键位配合良好。
源码
MIT 许可。代码、问题追踪和完整文档(包括反作弊测试流程)位于 GitHub。
BiteSync
Finish the bite. Keep the fight.
You're mid-fight, eating a gapple, 94% done — and your finger slips off right-click for a split second. The apple cancels, you start over, you die eating. BiteSync exists for exactly that moment.
If you've already eaten at least 90% of an item and you accidentally release the use key, BiteSync just keeps the eating action you already started running until it finishes at its normal vanilla tick. That's the entire mod.
What it actually does
You hold right-click and the item starts eating, completely vanilla. If you let go past the threshold (90% by default, can be raised up to 99%), BiteSync holds the existing use action for you — same effect as your finger never leaving the button. The item finishes on its normal tick, BiteSync resets, done.
Let go below 90%? Cancels like vanilla, always. BiteSync doesn't touch it.
Progress is calculated from the item's actual use ticks, not real time or framerate, so ping and FPS don't throw it off.
Whether a server allows it is up to that server. Read the rules before you use it — nothing here overrides an admin's decision.
Cancellation
The moment you do anything else, BiteSync gets out of the way and your input goes through untouched:
- Attacking (air, block, or entity) cancels it instantly — the attack itself is never blocked or duplicated
- Switching hotbar slots cancels it, including while eating from the offhand
- Swapping hands cancels it
- Dropping an item cancels it
- Opening your inventory or any other screen cancels it — nothing keeps eating behind a menu
- Dying, changing worlds, or disconnecting resets everything
- If the server replaces or corrects the stack, the server wins and the session ends
None of these can be turned off in the config. There's also a per-item timeout, so it can't ever get stuck holding a use action.
The HUD
While you're eating something eligible, a small transparent overlay sits above your hotbar: the item's icon, the live percentage under it, and a thin progress bar with a marker at 90%. Past the threshold the bar shifts to a quiet green so you know assistance is armed. No sounds, no flashing.
The icon always shows the item you're actually consuming right now — main hand or offhand — and every item gets a fresh readout, including each apple in a stack.
Position, scale, offsets, and individual elements are all configurable, or you can turn the HUD off entirely. It follows your GUI scale and works fine with resource packs and custom item models.
Supported items
Anything with a real vanilla-style eat or drink action: food, golden apples, potions, milk, honey bottles, stews, plus modded consumables that use the vanilla consumable component.
Bows, crossbows, shields, tridents, spyglasses, brushes, and buckets are never touched — this only applies to actual consumption.
There's a filter system too: run it on all consumables, or switch to allowlist-only mode. The denylist always wins, so you can block chorus fruit or whatever else you don't want assisted.
Config
config/bitesync.json is created on first launch. Threshold, filters, and full HUD control. The threshold can't be set below 90% — values outside the range get clamped. If the file ever gets corrupted it's backed up and regenerated instead of crashing the game.
If you have Mod Menu installed there's a settings screen with sliders for everything, built from plain vanilla widgets — no config library needed. Everything works fine without Mod Menu too.
Installation
- Fabric Loader
- Fabric API
- BiteSync jar into
mods
Grab the file that matches your Minecraft version exactly. There's one jar per version (1.21.5 through 1.21.11, and 26.1), and each one pins its Minecraft dependency — a wrong jar refuses to load with a clear message rather than half-working.
Client-side only, nothing needed on the server. Plays fine with Sodium, Lithium, ImmediatelyFast, and remapped keybinds.
Source
MIT licensed. Code, issues, and full docs (including the anti-cheat testing procedure) are on GitHub.
下载 BiteSync
下载 BiteSync
下载 BiteSync
下载 BiteSync
下载 BiteSync
下载 BiteSync
下载 BiteSync
下载 BiteSync
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
让你能够在世界中的任何位置定位结构。
模组
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
模组
所有本应存在的事物
模组
为 Cobblemon 添加 Mega 进化、Z 招式、太晶化、超极巨化/超巨大化、究极爆击与融合!
模组
简单的原版生物群系更新,包含有趣的怪物、方块等更多内容!
评论 0
登录后参与评分
还没有评论,来抢沙发吧