Do your stock links ignore the analog lever? Since Create 6.0.7, an order comes out of whichever inventory Create happens to list first, no matter how you've set the priorities. This addon makes the priority work again.
Fixes Create issue #9689. Not affiliated with the Create team. Please report bugs here.
What it fixes
A stock link with a weaker redstone signal is meant to be used before one with a stronger signal, and a signal of 15 turns it off. That's how you tell a network to empty the overflow chest first, or to only touch the main storage when the buffer runs dry.
From 6.0.7 on, Create picks one stock link per inventory and then asks them in an order that has nothing to do with their signal. The signal still works as an on/off switch, but levels 1 to 14 do nothing.
With this addon, the links are asked in priority order again. If one inventory has several stock links, the one with the best priority counts. Links with the same signal are handled the same way Create does now.
Config
config/stock_link_priority_fix.properties:
enabled: turn the fix off without removing the mod.
If a Create update changes the code this addon hooks into, the fix switches itself off and logs a warning. It never stops your game from loading.
FAQ
Client or server? The server needs it (or your game, in singleplayer). Players don't need it to join.
Does it need anything else? Create 6.0 for Minecraft 1.21.1, on NeoForge.
How is it tested? Game tests build two chests with 64 cobblestone each on one network, each with a packager and a stock link. One link gets a signal of 8 and the other 0, then the other way round, 12 times each, and every order has to come from the chest with the weaker signal. The same run with the fix turned off has to get some of them wrong, so we know the test can actually catch the bug. Two more tests check a chest with two stock links on it, and a real order that has to take its cobblestone from the right chest.
Can I use it in my modpack? Yes, go ahead, no need to ask.
MIT. Developed with AI assistance. Source: https://github.com/traelmyx/stock-link-priority-fix

