All versions
1.1.0
Beta
Photophobic Mobs 1.1.04 months ago 120
Compatibility
Minecraft: Java Edition
26.2
26.1.x
1.21.x
1.20.x
Platform
Fabric
Supported environments
Server-side
Client and server
Changes
๐ 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.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:H1Ub0xC2:HA3Z5WBs"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:H1Ub0xC2:HA3Z5WBs"
}

