Skip to content

Fix Conveyor cover Round Robin with Restriction mode#3855

Merged
DilithiumThoride merged 12 commits into1.20.1from
dt/again-with-the-conveyor
Sep 12, 2025
Merged

Fix Conveyor cover Round Robin with Restriction mode#3855
DilithiumThoride merged 12 commits into1.20.1from
dt/again-with-the-conveyor

Conversation

@DilithiumThoride
Copy link
Copy Markdown
Contributor

@DilithiumThoride DilithiumThoride commented Sep 3, 2025

What

The current implementation of a Conveyor Cover set to Round Robin With Priority does not transfer items. The transfer logic gets stuck in an infinite recursion. Also the variable names were unreadable.

This rewrites the logic in full, altering and renaming the behavior. The new behavior, Round Robin with Restriction, performs the same as Round Robin, but attempts to ignore destinations that have at least one Restrictive Item Pipe on their path.

EDIT: Also apparently the existing RRPrio has a massive item dupe bug in it, so it does really need to be rewritten.

@DilithiumThoride DilithiumThoride added the type: bugfix General bug fixes label Sep 3, 2025
@DilithiumThoride DilithiumThoride requested a review from a team as a code owner September 3, 2025 20:23
@DilithiumThoride DilithiumThoride added 1.20.1 Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. labels Sep 3, 2025
@github-actions github-actions bot added the Tests: Passed Game Tests have passed on this PR label Sep 3, 2025
Copy link
Copy Markdown
Contributor

@jurrejelle jurrejelle left a comment

Choose a reason for hiding this comment

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

Clarification question and variable rename suggestion

Co-authored-by: Jurre Groenendijk <jurre@jilles.com>
DilithiumThoride added a commit that referenced this pull request Sep 4, 2025
@DilithiumThoride DilithiumThoride changed the title Fix Conveyor cover Round Robin With Priority mode Fix Conveyor cover Round Robin with Restriction mode Sep 4, 2025
@jurrejelle jurrejelle dismissed YoungOnionMC’s stale review September 12, 2025 08:12

Changes were addressed (comments added and name changed)

@DilithiumThoride DilithiumThoride merged commit d6953c5 into 1.20.1 Sep 12, 2025
4 checks passed
@DilithiumThoride DilithiumThoride deleted the dt/again-with-the-conveyor branch September 12, 2025 08:15
LeoDreamer2004 pushed a commit to LeoDreamer2004/GregTech-Modern that referenced this pull request Dec 20, 2025
Co-authored-by: Jurre Groenendijk <jurre@jilles.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.20.1 Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. Tests: Passed Game Tests have passed on this PR type: bugfix General bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants