I'm having trouble predicting the concatenation order of StringGauge when it combines multiple input strings. To some extent, it appears to correlate with the gauge's position and the position of the gauge's block, rather than the order in which connections were created. This behavior seems to persist even across server restarts and world changes.
During my testing, I noticed that even when the block facing and relative positions of gauges are identical, different world saves produce different concatenation results.
After examining the code, I suspect the getAllValuesWithSource method might return unordered data, as it appears to use targetedBy and targetedByLinks.
I believe the StringGauge's concatenation order should be somewhat controllable by the player—perhaps through connection order or manual specification.
https://github.com/Creators-of-Create/Create/blob/mc1.21.1/dev/src/main/java/com/simibubi/create/content/logistics/factoryBoard/FactoryPanelBehaviour.java

I'm having trouble predicting the concatenation order of StringGauge when it combines multiple input strings. To some extent, it appears to correlate with the gauge's position and the position of the gauge's block, rather than the order in which connections were created. This behavior seems to persist even across server restarts and world changes.
During my testing, I noticed that even when the block facing and relative positions of gauges are identical, different world saves produce different concatenation results.
After examining the code, I suspect the
getAllValuesWithSourcemethod might return unordered data, as it appears to usetargetedByandtargetedByLinks.I believe the StringGauge's concatenation order should be somewhat controllable by the player—perhaps through connection order or manual specification.
https://github.com/Creators-of-Create/Create/blob/mc1.21.1/dev/src/main/java/com/simibubi/create/content/logistics/factoryBoard/FactoryPanelBehaviour.java