# BuffMobs v2.4.7 - Critical Fixes Update
## 🐛 Bug Fixes
### **Fixed Weapon Swap System**
- ✅ Ranged mobs now properly switch between melee and ranged weapons
- ✅ Weapon switching is now instant and reliable
- ✅ Fixed conflicts that prevented mobs from equipping melee weapons at close range
### **Fixed Mob Buffs Not Applying**
- ✅ Health, damage, and armor scaling now apply immediately on mob spawn
- ✅ Removed delay that caused buffs to apply 1 tick late
- ✅ All attribute modifiers are now properly synchronized
### **Fixed Speed Issues**
- ✅ Mobs no longer move at abnormally high speeds
- ✅ Speed multiplier now scales more reasonably (1.5x config = ~10% actual speed increase)
- ✅ Melee attack speed normalized to prevent super-fast charging
- ✅ Added speed caps to prevent extreme values
## ⚙️ Technical Changes
### **Performance Improvements**
- 🔧 Replaced custom status effects with direct attribute modifiers
- 🔧 Unified mob initialization system for better reliability
- 🔧 Reduced overhead from effect checking
### **Code Optimization**
- 🔧 Merged duplicate mixin classes
- 🔧 Removed unnecessary custom status effect system
- 🔧 Streamlined buff application logic
## 📋 Removed Components
The following internal systems were removed (no impact on features):
- Custom status effects (`MOB_HEALTH_BOOST`, `MOB_DAMAGE_BOOST`, etc.)
- Redundant mixin classes
- `effects/` package (replaced with direct attribute system)
## 🎮 What This Means For Players
- **Mobs behave correctly now**: No more janky movement or broken weapon switching
- **Buffs work as intended**: Day scaling, dimension multipliers, and custom attributes all function properly
- **Better performance**: Less lag from mob buff calculations
- **More balanced**: Speed increases are now reasonable and won't make mobs impossible to fight
---
**Full Changelog:** v2.4.6 → v2.4.7
**Compatibility:** Minecraft 1.21.8 | Fabric
**Requirements:**
- Fabric API
- Cloth Config API v19.0.147+ (for config GUI)
---
### Installation Notes
This is a **critical bug fix update**. If you experienced any of these issues in v2.4.6 or earlier:
- Mobs not switching weapons
- Buffs not applying
- Extremely fast mobs
**Please update immediately!**
---
*Report issues on GitHub or CurseForge*
Optional dependencies
Mod Menu
Any compatible version
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }