PhotophobicMobs-1.1.0.jar
Curse Maven Snippet
What's new
🚀 Photophobic Mobs - Update v1.1.0
🧠 AI & Flee Behavior Improvements
- Smart Vector Fleeing: Fixed an issue where mobs holding light would accidentally flee toward other nearby light sources. Mobs now retreat directly away from light sources straight into pitch darkness.
- Navigation & Wall Collision Fix: Improved pathfinding logic so fleeing mobs no longer get stuck running into solid walls or dangerous cliffs.
⚡ Performance & Server Optimization
- Reflection-Free AI: Removed heavy reflection checks in nighttime detection for zero-overhead tick logic.
- Optimized Block Scanning: Drastically reduced spatial block lookups (fire & lava scanning reduced from 800+ to 25 blocks) to maintain a smooth 20.0 TPS on multiplayer servers.
- Throttled Pathfinding: Flee AI recalculations are now throttled to run every 6 ticks for maximum performance.
🛠️ Admin Commands & Permissions
- Server Admin Commands: Added
/photophobiccommands (OP / Singleplayer Host required):/photophobic addflee <mob_id>- Add a mob to the light-phobic list./photophobic removeflee <mob_id>- Remove a mob from the light-phobic list./photophobic addattract <mob_id>- Add a mob to the light-attracted list./photophobic removeattract <mob_id>- Remove a mob from the light-attracted list./photophobic list- View active configuration lists in chat./photophobic reload- Reload config from disk.
- GUI Security: Restricted
/photophobicconfigin-game menu access exclusively to Server Operators (OP) and Singleplayer hosts.
🧹 Cleanup & Compatibility
- Torch Attack Cleanup: Removed the torch hit knockback event for a smoother, purely AI-driven survival experience.
This mod has no additional files

