Skip to content

Fix Unpacking order & Vanilla Crafter#10188

Open
LIUKRAST wants to merge 2 commits intoCreators-of-Create:mc1.21.1/devfrom
LIUKRAST:unpacking-fix
Open

Fix Unpacking order & Vanilla Crafter#10188
LIUKRAST wants to merge 2 commits intoCreators-of-Create:mc1.21.1/devfrom
LIUKRAST:unpacking-fix

Conversation

@LIUKRAST
Copy link
Copy Markdown

Hello! My pull request includes two fixes/features

Unpacking Order is not respected

This is a simple issue: when ordering items from a packager linked, the order is only respected if the package passes through a re-packager. This is solved by respecting the orderedStacks context when unboxing packages
Steps to reproduce the issue:

  • Put 1 cobblestone, 1 quartz, 1 quartz, 1 cobblestone in a redstone requester
  • Order the items
  • unbox them in a mechanical crafter
    Order is now not respected and it will use 2 cobblestone & 2 quartz
    The fix obviously doesn't use orderedStacks itself, but checks that the contents are valid before unpacking in the correct order

Unpacking to vanilla crafter

Pretty self explanatory. If a packager is connected to a Crafter (vanilla one), it now respects the orderedCrafts data to craft items correctly, just like mechanical crafters

@VoidLeech VoidLeech added the pr type: feature PR adds a new feature or changes an existing feature label Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr type: feature PR adds a new feature or changes an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants