A forge mod for Minecraft 1.7.10 that stops so called "ghost loading" or "cascade loading" of chunks.
The mod toggles loadChunkOnProvideRequest in ChunkProviderServer to false, stopping chunks from auto-loading when blocks/entities are requested (e.g. getBlock(), getTileEntity() or getEntity()). Chunks must now be explicitly loaded via loadChunk() before. This helps prevent lag caused by mods (e.g. AE2, Ender IO) unintentionally loading chunks.
This mod adds several options to allow safer chunk requests. These reduce performance issues depending on your mod setup. Grass spread, multiblocks, or pipelines can trigger unintended loading. The mod prevents this by disabling that called toggle on WorldEvent.Load.
Take a look to the in the file alternativechunkloading.cfg in your config directory. Every option is explained well there.
Note
If you have BugTourch installed, you should disable the option skipInitialWorldChunkLoad in mixins.cfg as Alternative Chunkloading relay on this feature. Otherwise you might die instantly when creating a new world on the client.
Most mods work unchanged. I've run this mod for over a year without major issues. Slight TPS improvements during mass chunk loads. Some mods needed patches via mixins or PRs (see GitHub for details).
Mods that has been patched directly or via mixin. The most fixes does even have benefit without Alternative Chunkloading installed as they now use the generally prefered way.
- Flood Lights (PR)
- Natures Compass (PR)
- Erebus (Mixin: Fix NullPointerException)
- Dimensional Doors (Mixin: Fix portal creation)
- Chicken Chunks
- Minecraft (Mixin: load chunk before generating a nether portal)
Mods like FTB Utilities or Server Utilities work fine. Block-based loaders may need fixes. Consider my Chicken Chunks fork or open an issue or PR.
Mods, like FTB Utilities or Server Utilities should work like before. But all chunkloaders that uses a block will probably need a fix in the code. Think about using my fork of Chicken Chunks.
Feel free to open PRs for features, improvements, or compatibility fixes. I'm maintaining this at minimal effort for use on my server/modpack.