Trouser-Streak v1.1.4
Release for 1.21, and 1.20.6! Use the correct jar for your version. Source for 1.20.6 is in the zip file here, and in the 1.20.6 branch.
NewerNewChunks and BaseFinder Performance Improvements!
- Updated the taskExecutor in NewerNewChunks to ensure all chunks are processed. This helps to eliminate the few false positives that were in association with the chunk data not loading in properly.
- Replaced the PacketByteBuf reading in NewerNewChunks with direct reading of the values we were reading by using an accessWidener in the code. This may improve performance because the client already interprets the bytes we are serializing. It also makes the code a bit more easy to interpret.
- Adjusted the min and max setting for block scanning with BaseFinder. They now are based on how many blocks above or below the current build limit in the world to start scanning blocks. This should improve performance in the nether and end dimensions because we were just scanning y-64 to y320.
- Updated the taskexecutors in NewerNewChunks and BaseFinder to use a CachedThreadPool Executor instead of SingleThreadExecutor. This way they can share their tasks if both modules are running at the same time which improves chunk loading and detection with both modules when run at the same time.
See the releases page for previous changelogs if you missed the last couple updates. :)