Community listing page, reviews may not be monitored by the author.
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
Naturalist Lag Fix
A small fix for a memory leak in [Naturalist](https://www.curseforge.com/minecraft/mc-mods/naturalist) (2.0.5, NeoForge 1.21.1) that makes servers slower and slower the longer they run.
The problem
Whales and Great White Sharks have multi-part bodies. Naturalist registers every body part in a list attached to the world, but only removes them when the creature dies or is discarded. When the creature is simply unloaded with its chunk, its parts stay in the list forever — and a new copy is added each time the chunk reloads.
Every time the game searches for nearby entities (mob AI, collisions, item pickup, Create contraptions…), Naturalist loops over that whole list. On our server, `naturalist$includeMobParts` ended up taking about 33% of every server tick in spark.
The fix
- Body parts are removed as soon as their creature leaves the world, including when its chunk unloads.
- Every 10 seconds, any leftover orphan parts are cleaned up.
- Nothing else in Naturalist is changed: whales and sharks behave exactly the same.
Installation
- Server: required.
- Client: recommended (the same leak exists client-side).
- Requires Naturalist. When the fix works, a line `[NaturalistFix] … parties fantomes retirees` appears in the log.
Credits
- Naturalist by Starfish Studios (Crispytwig): all credit for the mod, its creatures and its content goes to them. This is an unofficial fix, not affiliated with the Naturalist team. If they fix the leak upstream, you won't need this mod anymore.
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.
- Misty Dale Fixes
- Naturalist
- Naturalist Delight
- Naturalist Biomes Java
- Naturalist Delight
- Begone Naturalist Cattail
- Naturalist Trade
- Naturalist x Farmer's Delight Compat
- naturalist item recipe
- WilderNature Naturalist Contract Compatibility
- Alex's Mobs - Naturalist Compat
- The Lost City and Naturalist Lite
On ModDex
Community snapshot
By the numbers
Statistics
Get it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources