跳到正文

Simply Fixes

作者:ImEden6

A Fabric mod designed to patch a cooldown exploit in the Simply Swords mod

收藏

介绍

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

Simply Fixes

A Fabric mod designed to patch a cooldown exploit in the Simply Swords mod.

Overview

In the original Simply Swords mod, certain weapon abilities had cooldowns that could be bypassed if the player swapped hotbar slots or otherwise interrupted the ability mid-use.

This mod implements robust, server-side fixes to ensure that cooldowns are always applied and mobility states are cleaned up, regardless of how the ability ended.

Fixed Weapons

This mod currently provides fixes for:

  • Thunderbrand: Fixes dash cooldown bypass and ensures velocity is reset on completion/interruption.
  • Arcanethyst: Prevents cooldown bypass and ensures properly timed ability termination.
  • Icewhisper: Ensures the ice-related ability triggers its cooldown even if the item is swapped out.

How it Works

The mod uses Mixins to inject logic into the weapon item classes:

  1. Usage Tracking: When an ability starts (usageTick), an NBT flag (simplyswords_fix.active) is applied to the item stack.
  2. Inventory Monitoring: The inventoryTick method is used to detect if an item with an active flag is no longer being used by the player (e.g., due to a hotbar swap).
  3. Forced Cleanup: If an “abandoned” ability is detected, the mod manually applies the weapon’s cooldown and performs the necessary cleanup (like resetting velocity).
  4. Mainhand Guard Bypass: It overrides the default onStoppedUsing check that often limits cleanup to the main hand, ensuring the fix works even during rapid transitions.

Requirements

License

This project is licensed under the MIT License – see the LICENSE file for details.

常见问题

Simply Fixes 支持哪些 Minecraft 版本?

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

Simply Fixes 怎么安装?

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

评论

登录后评论和评分

ImEden6 的其他作品

查看全部 →