File Details
Combat Toggle 1.1.0 (Forge 1.20.1)
- R
- Mar 23, 2026
- 30.70 KB
- 149
- 1.20.1
- Forge
File Name
combattoggle-1.1.0.jar
Supported Versions
- 1.20.1
Curse Maven Snippet
Changelog
1.1.0
Bug Fixes
- Cooldown reset command now clears both cooldown types. Previously,
/combattoggle resetcooldownonly reset the toggle-based cooldown (lastToggleMs) but left the PvP-triggered cooldown (lastPvpMs) active. Both are now reset to zero. - Admin
setcommand no longer triggers unintended cooldowns. The command was unconditionally settinglastToggleMs, starting a toggle-based cooldown even when that cooldown type was disabled in config. It now respects thecooldownTriggersOnTogglesetting. - Fixed HUD texture rendering. The texture dimension constants (450x101) did not match the actual texture files, causing incorrect UV sampling in the
blit()call. Constants now match the real texture dimensions. - Removed unused
allowClientButtonClickconfig option. This setting was defined but never referenced anywhere in the codebase.
Improvements
- New GUI textures. Replaced the plain colored rectangles with Minecraft-style beveled GUI icons featuring stone-gray borders, tinted inner fills, and pixel-art icons (shield for Peace, crossed swords for Combat).
- Compact HUD indicator. Reduced texture size from 120x27 to 51x19 for a less intrusive on-screen presence.
- Cleaner toggle messages. Removed the noisy cooldown suffix from mode switch messages. Toggle feedback now simply reads "Mode set to: COMBAT" or "Mode set to: PEACE".

