Commit Graph

12 Commits

Author SHA1 Message Date
e43b9191b2 Finish chunk tick iteration optimisation port from Moonrise 2024-07-17 11:33:13 -07:00
cc8d4390d4 Remove Moonrise utils to MCUtils, remove duplicated/unused utils 2024-07-17 10:24:53 -07:00
50fedea85f Fix implementations of ChunkHolder#getChunkIfPresent
Implementations for ChunkStatuses below FULL are supposed to always
return ProtoChunk instances. However, since we used the last completed
status, it could return LevelChunk.

To resolve this, follow Vanilla behavior of tracking chunk
completions by status and replace old ProtoChunk statuses with
ImposterProtoChunk when the chunk generates to FULL.

Additionally, implement an optimisation for retrieving full chunks
by storing a map of pos -> LevelChunk. This requires only a simple
map lookup to occur for full chunks which are loaded.
2024-06-16 14:09:44 -07:00
9b3cf41d7a Update more optimization patches 2024-06-15 14:12:22 +02:00
0ef31547a1 Finish API patches 2024-06-13 08:45:43 -07:00
02eec3bcd0 Patches 2024-04-25 11:42:10 +02:00
47ee5579ff Begin update to 1.20.5 2024-04-23 10:02:08 -07:00
24e3f94688 [ci skip] (Mostly) finish adding identifying patch comments 2024-01-24 11:45:17 +01:00
cd30cd6d41 Move diffs around to compile without later ones applied 2024-01-23 18:01:39 +01:00
091f54138b [ci skip] Move some disruptive patches back 2024-01-23 15:43:48 +01:00
2a2cdc2d1a [ci skip] Add more patch identifying comments 2024-01-22 18:04:55 +01:00
0571a6438e [ci skip] Add more identifying patch comments 2024-01-21 12:53:04 +01:00