Unofficial site, not affiliated with modrinth.com.What is this?
Моды/Simply Fixes
Simply Fixes

Simply Fixes

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

3
0

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.

Совместимость

Minecraft: Java Edition

1.20.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Создатели

Детали

Лицензия:MIT
Опубликован:1 неделю назад
Обновлён:1 неделю назад
Главная