Skip to content

Limit unstackable item throughput in pipes - #5263

Open
screret wants to merge 3 commits into
GregTechCEu:1.21from
screret:sc/limit-unstackable-item-pipe-throughput
Open

Limit unstackable item throughput in pipes#5263
screret wants to merge 3 commits into
GregTechCEu:1.21from
screret:sc/limit-unstackable-item-pipe-throughput

Conversation

@screret

@screret screret commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

What

Limit unstackable item throughput in pipes by multiplying the transferred item amount by DEFAULT_MAX_STACK_SIZE / stack.maxStackSize

E.g. if a stack of 1 item has a max size of 1, it'll count as 64 items transferred. If it has a max size of 16, it'll count as 16 items, etc.
If the stack has a max size over the default 64 (the maximum is 99), it'll be counted as at least 1 item.

Implementation Details

AI Usage

  • No AI driven tools were used for this pull request.

Outcome

you cant use packed crates/chests/shulkers/create shipping boxes to cheat the system anymore

How Was This Tested

Before:

java_697Lt1LI0o.mp4

After:

java_wHbh6YzMDE.mp4

Additional Information

java_IHb72fcgzq

Potential Compatibility Issues

None. All the things I edited either were private/internal or the type/value didn't actually change.

screret added 3 commits August 8, 2026 14:00
…rred item amount by a factor of `DEFAULT_MAX_STACK_SIZE / stack.maxStackSize`

E.g. if a stack of 1 item has a max size of 1, it'll count as 64 items transferred. If it has a max size of 16, it'll count as 16 items, etc.
If the stack has a max size over the default 64 (the maximum is 99), it'll be counted as at least 1 item.
so it can be cleaned up based on the routes' transfer rate

Makes small tin pipes not move 4x the items they should
@screret
screret requested a review from a team as a code owner August 8, 2026 18:36
@github-actions github-actions Bot added the 1.21 label Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant