diff options
author | Spottedleaf <[email protected]> | 2024-07-03 19:22:00 -0700 |
---|---|---|
committer | Spottedleaf <[email protected]> | 2024-07-03 19:22:43 -0700 |
commit | 8c8b227547fa78b8f3295e4ac8ee066777e04e98 (patch) | |
tree | 75de944d628f7c26af3f5752549a745c24d6f810 /test-plugin | |
parent | 7eec21e80da15cb4b6fcb445910006e115729682 (diff) | |
download | Paper-8c8b227547fa78b8f3295e4ac8ee066777e04e98.tar.gz Paper-8c8b227547fa78b8f3295e4ac8ee066777e04e98.zip |
Execute chunk tasks mid-tick
If the server tick length is high, then the amount of time
available to process chunk tasks inbetween ticks is low. As a
result, chunk loading and generation may appear to slow down.
To ensure that chunk tasks are always processed, we add logic to
execute chunk tasks during tile entity tick, entity tick, chunk
random ticking, and scheduled block/fluid ticking. The mid-tick task
execution is timed so that it is not prioritised over the server
tick.
Diffstat (limited to 'test-plugin')
0 files changed, 0 insertions, 0 deletions