Performance patch - #141
Merged
Merged
Conversation
Su5eD
approved these changes
Sep 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This patch increases the performance of large shields as the game currently performs frustum culling on all the block entities of the force field even though they only need to render when the camouflage block is a block entity and this patch fixes that and on very large shields this can give more than double the performance


Pre-Patch:
Patched:
my performance tests aren't perfect as on this game version performance seems to vary quite a bit but it definitely does make performance better
I originally made a private mod for a similar performance patch for 1.21.1 and I will probably submit a pr for that version soon as well since I primarily play that version
I also haven't been able to get the camo module to work for some reason to test that it works properly with it, but it should work as it did on my original version