SCM-Localization-Issues
SCM-Localization-Issues copied to clipboard
Possible bugfix for multiple bugs
I think i found a solution for the following bugs:
- Bundled wire i/o bug
- Stackoverflow bug
- Too big nbt tags (maybe)
- Performance issues
On placement of component create groups for them in which you save the following informations: a id, component type, an array of all positions from the group members, ids from input groups, ids from output groups and the current state.
Advantages:
- Less components in the nbt tag
- Less steps for a tick because you only update component groups and not every single component
- A update order, eliminating the recursive propagation bug (stack overflow) and the bundled i/o bug and
- A list of every possible signal source, meaning all inputs and outputs (also bundled i/o)
- Easier circuit debugging if we could highlight groups