Skip to content

Conversation

@RecursivePineapple
Copy link

This adds the ability for clusters to store more than 16k items, which was previously their maximum. These clusters won't be generated by Avaritia tools, they'll be created by something like a compressed bus. In the process, I fixed a bug that caused some tools to drop individual stacks instead of clusters.

I also added a method that allows other mods to create a super-critical cluster (a cluster with more than 16k items). The existing methods will split stacks into clusters containing 16k items each, which would be infeasible for compressed busses since their stack sizes can go past 2.1 billion.

I left a reference to the decompressor in this PR because it'll make merging simpler, but the cluster decompressor will be put in a separate PR.

@RecursivePineapple RecursivePineapple requested a review from a team January 10, 2026 22:38
@Dream-Master Dream-Master added the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Jan 10, 2026
Copy link

@Nikolay-Sitnikov Nikolay-Sitnikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than that one comment, everything looks good. If you disagree with my comment, feel free to ignore it.

Copy link
Member

@chrombread chrombread left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@chrombread chrombread enabled auto-merge (squash) February 1, 2026 04:28
@chrombread chrombread merged commit b2a3f79 into master Feb 1, 2026
1 check passed
@chrombread chrombread deleted the matter-cluster-method branch February 1, 2026 04:31
@Dream-Master Dream-Master removed the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Feb 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants