一款轻量级、高度优化的 Fabric 模组,旨在显著延长 Minecraft 中有益状态效果的持续时间。
核心功能
可选倍率: 就像为特定需求选择合适的剂量一样,你可以选择增益效果的强度。提供 3x、5x 和 10x 三种强度。只需导航至 Versions(版本)标签页并下载你偏好的特定倍率文件即可。
通用应用: 原生扩展可饮用型、投掷型和滞留型药水的持续时间。
超越药水: 倍率会自动应用于其他有益效果,包括信标光环和金苹果。
平衡设计: 仅针对正面状态效果。负面减益效果如中毒、缓慢或凋蚀被完全忽略,保持原版标准持续时间不变。
技术细节
平台: 专为 Fabric 1.21.11 原生构建。
注入方式: 使用 Mixins 在 LivingEntity(生物实体)上应用 MobEffectInstance(移动效果实例)的精确时刻进行拦截。
UI 同步: 通过修改核心应用逻辑而非更改工具提示文本,该模组确保屏幕 HUD 计时器显示正确的修改后持续时间,并以标准、准确的速度倒计时。
高兼容性: 代码不硬编码特定的原版物品,而是针对 overarching MobEffectCategory.BENEFICIAL(移动效果类别:有益)标志。这意味着它应自动与由其他模组添加的自定义正面药水兼容。
安装
从 Versions(版本)标签页下载你首选倍率的 .jar 文件,并将其放入 mods 文件夹中。确保已安装标准的 Fabric API。
A lightweight, highly optimized Fabric mod designed to significantly extend the duration of beneficial status effects in Minecraft.
Core Features
Selectable Multipliers: Just like choosing the right dosage for a specific need, you can select how strong you want the buff to be. Available in 3x, 5x, and 10x strengths. Simply navigate to the Versions tab and download the specific multiplier file you prefer.
Universal Application: Natively extends the duration of Drinkable, Splash, and Lingering potions.
Beyond Potions: The multiplier automatically applies to other beneficial effects, including Beacon auras and Golden Apples.
Balanced Design: Exclusively targets positive status effects. Negative debuffs like Poison, Slowness, or Wither are completely ignored and remain at their standard vanilla durations.
Technical Details
Platform: Built natively for Fabric 1.21.11.
Injection Method: Utilizes Mixins to intercept the MobEffectInstance at the precise moment of application on the LivingEntity.
UI Synchronization: By modifying the core application logic rather than altering tooltip text, the mod ensures that your on-screen HUD timer reads the correct modified duration and counts down at a standard, accurate speed.
High Compatibility: Instead of hardcoding specific vanilla items, the code targets the overarching MobEffectCategory.BENEFICIAL flag. This means it should automatically work with custom positive potions added by other mods.
Installation
Download your preferred multiplier .jar from the Versions tab and place it into your mods folder. Ensure you have the standard Fabric API installed.
评论 0
登录后参与评分
还没有评论,来抢沙发吧