Перейти к содержимому
Mineforgian

NoiseThreader

Improves world generation performance by multi-threading noise generators

Загрузки
22K
Подписчики
7
Обновлён
25 января 2026 г.
Лицензия
All-Rights-Reserved

Опубликован 4 августа 2025 г.

NoiseThreader improves world generation performance by selectively multi-threading world generators such as the noise generators.

Currently adds multi-threading to noise generators for Vanilla dimensions (Overworld/End/Nether) as well as OpenTerrainGenerator's Overworld generator.
Additionally adds multi-threading to YUNG's BetterCave's cave carver/noise generator.

Standard noise generators perform costly calculations on only the main server thread when chunks are generated, NoiseThreader improves performance by splitting up these calculations and spreading the load out across multiple threads.

Performance improvement will vary across different systems however in testing even 4 cores can see performance gains through multi-threading the noise generators.
Currently by default the minimum amount of cores required before NoiseThreader will attempt multi-threading is set to 4 for safety, however you can change this number in the config and may still see improvements if you are on a potato.

Profiling the time taken for Height-Map (Noise) generation on my system (Your mileage may vary) resulted in ~50% performance improvement for the Vanilla Overworld.
For OTG's Overworld, the results were around ~60% improvement, being more significant due to OTG's heavier generation cost as this resulted in Height-Map generation going from ~2.5ms/chunk down to ~1ms/chunk.
(For comparison, the existing Multithreaded Noise mod tested at around ~25% - ~30% improvement, and also only applies to the Vanilla Overworld.)
The Vanilla Nether and End also saw some improvements, however less significant due to them using smaller noise generations, of roughly ~10% - ~30%.

YUNG's BetterCave's cave carving also has a performance improvement of ~60% which is significant given that cave carving accounts for a large portion of performance loss during world generation.

As is the point of multi-threading, you will likely see more significant performance improvements when the primary server thread is being utilized heavier such as in the case of OTG generation.

Please report any issues/bugs/suggestions to the issue tracker linked at the top of the page or to my Discord server linked below.

This mod is not required client-side.

Need to get in contact with me, or want to support me? Click the badges below:

Discord Patreon Ko-Fi

Need a server? Click the banner below and use code "fonny" for 25% off your first month with Bisect Hosting: Bisect Banner

Центр версий

5 версий
  • Релиз42 КБ
  • Релиз40 КБ
  • Релиз38 КБ
  • Релиз24 КБ
  • Релиз17 КБ

Ченджлог

1.1.3Релиз1.12.2 · 25 января 2026 г.

1.1.3:

  • (Hopefully) Fix rare crash in ocean biomes when using BetterCaves with flooded ocean cave generation enabled with OTG as well
1.1.2Релиз1.12.2 · 9 декабря 2025 г.

1.1.2:

  • Add option to disable BetterCaves multithreading to only utilize performance gains from the rewritten generation incase of issues
  • Fix rare crash in ocean biomes when using BetterCaves with flooded ocean cave generation enabled
1.1.1Релиз1.12.2 · 4 августа 2025 г.

1.1.1:

  • Further rewrite parts of YUNG's BetterCaves noise generation to significantly improve performance (Fixes unneeded boxing/lists/hashing/etc)
    (Should still retain seed accuracy to unmodified BetterCaves)
1.1.0Релиз1.12.2 · 4 августа 2025 г.

1.1.0:
Add multithreading to YUNG's BetterCaves cave carving/noise generation (~60% performance improvement)

1.0.0Релиз1.12.2 · 4 августа 2025 г.

1.0.0:
Initial release, tested as working.

Комментарии

Загружаем…