# BuffMobs v2.5.6 - Fabric 1.21.6 - 1.21.8
---
## 📢 Developer Note
Hello! This update brings all the features that existed in previous versions of the mod. Although it's not fully functional yet, I did my best :p
---
## ✨ What's New
### 🎯 **Fabric 1.21.6 - 1.21.8 Port**
- Complete port of BuffMobs to Minecraft 1.21.6 - 1.21.8 (Fabric)
- Rewritten codebase to work with the latest Fabric API
- Updated dependencies and mappings
### 🤖 **Ranged Mob AI System** (Experimental)
- **Tactical Retreat System**: Ranged mobs now intelligently retreat when players get too close
- Mobs will run away to maintain safe distance before shooting
- Configurable safe distance thresholds
- Panic mode when player gets extremely close
- **Kiting Behavior**: Optional strafing movement while shooting
- Mobs can move laterally while attacking
- Makes ranged combat more dynamic and challenging
- Fully configurable strafe intervals and patterns
- **Adaptive Combat Modes**:
- `ADAPTIVE`: Switches between melee and ranged based on distance
- `MELEE_ONLY`: Always engages in close combat
- `RANGED_ONLY`: Maintains distance and shoots
- `RANDOM`: Randomly chooses behavior per mob
### ⚔️ **Enhanced Melee Switching**
- Ranged mobs can switch to melee weapons when players get close
- Weapon progression system based on world days
- Enchantment progression for generated weapons
- Configurable switch distance thresholds
### 🔧 **Configuration Improvements**
- New tactical movement settings
- Maintain distance
- Retreat speed
- Panic distance and speed
- Strafe toggle and interval
- Better organized config categories
- Improved tooltips and descriptions
### 🎮 **Mod Compatibility**
- Works with custom ranged mobs through whitelist system
- Compatible with mob presets
- Supports dimension-specific scaling
- Mod ID filtering support
---
## 🔄 Changes
### **Performance**
- Optimized mob initialization system
- Improved tick handling for large mob counts
- Better memory management for mob states
### **AI Behavior**
- Natural movement animations during retreat
- Smooth transitions between combat states
- Better pathfinding for tactical positioning
### **Combat Balance**
- Adjusted arrow shooting intervals (30-50 ticks)
- Speed scaling based on distance from player
- More responsive retreat triggers
---
## 🐛 Known Issues
- **Tactical Movement**: Mob auto-attack may reset instead of firing when using tactical movement system
- Some animation glitches during rapid state transitions
- Occasional pathfinding hiccups on complex terrain
---
## 📦 Technical Details
### **Supported Mobs**
- Skeleton (all variants)
- Pillager
- Piglin
- Custom mobs via config whitelist
### **Requirements**
- Minecraft 1.21.6 - 1.21.8
- Fabric Loader 0.16.0+
- Fabric API
- Cloth Config (optional, for GUI configuration)
---
## 🛠️ For Modpack Developers
All tactical movement features can be disabled in the config if you experience issues:
```json
"rangedMeleeSwitching": {
"enabled": true,
"tacticalMovement": {
"enabled": false // Set to false to use vanilla behavior
}
}
```
---
## 💬 Feedback
This is an experimental port with many new features. Please report any issues you encounter on our issue tracker!
**Known limitations are actively being worked on for future updates.**
---
## 📝 Full Changelog
- Added complete Fabric 1.21.6 - 1.21.8 support
- Added tactical retreat AI system
- Added kiting/strafing behavior
- Added adaptive combat mode switching
- Added melee weapon generation system
- Added enchantment progression
- Improved mob initialization and tracking
- Optimized performance for large mob counts
- Fixed various crashes and compatibility issues
- Updated to latest Fabric API standards
---
*Thank you for using BuffMobs! Your patience with experimental features is appreciated.*
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" }