Community listing page, reviews may not be monitored by the author.
Alex's Mobs and Caves Optimization
No reviews yet
Optimizes both Alex's Caves and Alex's Mobs; works even if only one of them is installed.
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
Optimizes both Alex's Caves and Alex's Mobs; works even if only one of them is installed.
| Area | Vanilla behaviour | Change | Effect |
|---|---|---|---|
| Network broadcasts (3 sites across Citadel, Alex's Mobs, Alex's Caves) |
Property sync, visual-effect and multipart-hit packets use , reaching every player on the server, including players in other dimensions who cannot see the entityPacketDistributor.ALL |
Switched to , so only players tracking that entity receive the packetTRACKING_ENTITY |
Dead packets stop reaching far-away and cross-dimension players; savings scale with player count |
| AI goal scans (5 goals: flee-adult, follow-parent, ride-parent, elephant caravan, gorilla caravan) |
The goal selector polls every tick, and each poll performs a nearby-entity querycanUse() |
The query only runs every 4th tick | Scan cost cut to 1/4; behaviour unchanged, only the evaluation cadence |
| Per-tick entity scans (7: anteater, candicorn, gust, Tasmanian devil, terrapin, skreecher, underminer) |
tick() runs a , ceiling scan or nearest-player query every tickgetEntitiesOfClass |
Runs every 2, 4 or 8 ticks depending on the entity | Scan cost cut to 1/2, 1/4 and 1/8 respectively |
| Luxtructosaurus roar scatter | A full-range entity scan every tick for the entire duration of the roar | Refreshed every 5 ticks; the cached result is reused in between | Scan cost cut to 1/5, and the caller still receives real results rather than an empty list |
| Cockroach spawn density | Only the environment is checked (underground, y<64); the existing population is never considered, so bases fill up with cockroaches | After the environment check passes, cockroaches within 32 blocks are counted and spawning is refused at 6 or more | Bases are no longer swarmed; spawner-produced cockroaches are unaffected |
| Area | Vanilla behaviour | Change | Effect |
|---|---|---|---|
| Network broadcasts (3 sites across Citadel, Alex's Mobs, Alex's Caves) |
Property sync, visual-effect and multipart-hit packets use , reaching every player on the server, including players in other dimensions who cannot see the entityPacketDistributor.ALL |
Switched to , so only players tracking that entity receive the packetTRACKING_ENTITY |
Dead packets stop reaching far-away and cross-dimension players; savings scale with player count |
| AI goal scans (5 goals: flee-adult, follow-parent, ride-parent, elephant caravan, gorilla caravan) |
The goal selector polls every tick, and each poll performs a nearby-entity querycanUse() |
The query only runs every 4th tick | Scan cost cut to 1/4; behaviour unchanged, only the evaluation cadence |
| Per-tick entity scans (7: anteater, candicorn, gust, Tasmanian devil, terrapin, skreecher, underminer) |
tick() runs a , ceiling scan or nearest-player query every tickgetEntitiesOfClass |
Runs every 2, 4 or 8 ticks depending on the entity | Scan cost cut to 1/2, 1/4 and 1/8 respectively |
| Luxtructosaurus roar scatter | A full-range entity scan every tick for the entire duration of the roar | Refreshed every 5 ticks; the cached result is reused in between | Scan cost cut to 1/5, and the caller still receives real results rather than an empty list |
| Cockroach spawn density | Only the environment is checked (underground, y<64); the existing population is never considered, so bases fill up with cockroaches | After the environment check passes, cockroaches within 32 blocks are counted and spawning is refused at 6 or more | Bases are no longer swarmed; spawner-produced cockroaches are unaffecte |
Alex's unique approach to design means that many general mob AI optimization mods simply don't take effect on his mods.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Get it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources