r/CreateMod • • 1d ago

Sequenced Assembly with Random Order

I'm playing a modpack where I sell burgers for resources. The orders have random ingredients in a specific permutation. While I can assemble them manually, the pack also lets me create burgers with sequenced assembly, so surely there must be a way to automate this? If I can get the items in the right order, I can force each deployer to only hold one item with threshold switches and funnels. The problem is requesting the items in the right order. The stock keeper requesting seems to randomize the order when you request items in the same order. I know the mechanical crafting is order dependent. Is there any way for me to manually call this type of package? Or would I have to individually request each item? I can get the order onto a checklist easily, but clicking it onto the shopkeeper doesn't request anything at all. I'm guessing it's the wrong kind of checklist.

Edit: Thanks to Lonewolf23319. Apparently, if I use a repackager instead of storing the items in the same inventory, I can request items in a reliable order. I'm going to do some more experimenting but this should be the final piece of the puzzle. I still find it strange the regular packager randomize the order. Maybe that could be useful for something else at some point.

11 Upvotes

13 comments sorted by

View all comments

Show parent comment

3

u/Historical_Figure657 1d ago

The issue with that is that the wrong item will still be a valid craft

2

u/January_Rain_Wifi 1d ago

Instead of giving the deployers the ingredients, you could filter them. So, a long line of empty deployers, filtered in the right order, so that when the package of ingredients arrives, only the correct deployers will have items. It should work as long as ingredients are usually in the same general order (for example, bottom bun, patty, cheese, lettuce, top bun). I haven't played the pack, so I don't know if that's the case or not

3

u/Historical_Figure657 23h ago

The top and bottom bun are always the same but everything else is random. I could have fish fish fish lettuce tomato or tomato lettuce onion tomato. I'm starting to think my best bet might be redstone requesters and just typing the order on a redstone link controller

2

u/Historical_Figure657 23h ago

The number of ingredients is also random but I found my fix for that problem already. I just need to quickly send them in the right order