Alternative Chunkloading

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.4.5
本资源为搬运资源,原资源地址: https://modrinth.com/mod/alternative-chunkloading
资源信息

Minecraft 版本: 1.7.10

平台: forge

标签: optimization

资源介绍

Alternative Chunkloading

A forge mod for Minecraft 1.7.10 that stops so called "ghost loading" or "cascade loading" of chunks.

Technical background

It make use of a vanilla toggle on each ChunkProviderServer instance to stop automatic chunkloading whenever a block or entity is requested. Those chunks can then only be loaded explicitely.

Two experimental options for loading chunks on request has been added.
This can be used to prevent Mods (and core Minecraft itself) from loading chunks whenever a block is requested there. This also means "ghost loading" or "cascade loading" chunks.
However, this will help with performance just slightly. It hightly depends on what other mods you use and how you use the mods.

Basically for a Mod, if it needs a Block at Position XYZ, it calls getBlock() or getTileEntity() or getEntity. By default, this methods will load the chunk where the block or entity is loaced in. Often this is not expected and in some cases can cause lags. G.g. AE2 or Ender IO Conduits or any other multiblock structure can be a cause for such a behavior. Even Minecraft's Grass block that wants to extend its Grass to nearby dirt blocks.
There is one configruation field in the ChunkProviderServer class called loadChunkOnProvideRequest that is true by default. Setting this to false on each instance on WorldEvent.Load event only loads chunks when explicitely loaded via e.g. loadChunk(x, y, z).

Configuration

If disableChunkLoadingOnRequest is true (default is true) then the mod sets the vanilla toggle (see above) to false.
Think about switching to my fork of Chicken Chunks. I added a fix to load the chunk before requesting the block (that's how it should be done in general).

Also set autoLoadChunksOnTicketCreation to true (default ist true) if you don't know what you do!
This continues functionality of chunk loading tickers. So anytime whenever a chunk loading ticket is created by a Mod, the chunks will be also loaded (Forge itself doesn't that automatically).

Compatibility

Basically all mods should work like before. I'm using this since over a year now now without bad side-effects. The general performance is slightly better while the TPS may increase slightly when loading/unloading many chunks at the same time (like when flying into one direction).

Patched mods

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.

Known problematic mods

  • Dimensional Doors (can be blacklisted as workaround)

Note for mods that relay on the vanilla behavior

Remember that this way mods or players usages that relay on the feature to automatically load a chunk when just requesting a block (like technic mods that allows you very long pipelines for example) will not work anymore. You now need to ensure that each chunk wich contains relevant things to be chunkloaded.

Chunkloaders

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.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Goobers antileak pack

价格:0 墨喵币
下载量:0

查看详情
FTBChecker

价格:0 墨喵币
下载量:0

查看详情
AetherFlow (Letterbox Mod)

价格:0 墨喵币
下载量:0

查看详情
BannerBoat

价格:0 墨喵币
下载量:0

查看详情