Alternative Chunkloading

Stop "ghost chunks" or "ghost loading of chunks" on 1.7.10. It make use of an unused vanilla toggle on each ChunkProviderServer instance to stop automatic chunkloading whenever a block or entity is requested. That can on

Редакция NLZONE · 3 мин чтения · 0 просмотров
Alternative Chunkloading
Скачать Alternative Chunkloading1.7.10 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

Stop "ghost chunks" or "ghost loading of chunks" on 1.7.10. It make use of an unused vanilla toggle on each ChunkProviderServer instance to stop automatic chunkloading whenever a block or entity is requested. That can only be loaded explicitely.

  • Тип: мод
  • Загрузчик: forge
  • Версии Minecraft: 1.7.10
  • Скачиваний на Modrinth: 2 237

Подробно

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

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).

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).

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).

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 https://github.com/GTNewHorizons/FloodLights/pull/8 - Minecraft (Mixin: load chunk before genera

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также