
Alternate Current - Efficient Redstone Replacement
Alternate Current mod offers a completely new approach to redstone dust mechanics in Minecraft. This implementation features high performance and predictable behavior, eliminating the performance issues of standard redstone.
Performance Improvement
With Alternate Current, the system load from redstone dust is reduced by up to 30 times while maintaining full compatibility with vanilla mechanics. The mod makes minimal changes to the game's code, making it an ideal replacement for standard redstone.
Standard Redstone Problems
The main reasons for redstone dust's poor performance are redundant updates and unnecessary calculations. This occurs due to recursive redstone updates, where each conductor can update its power level multiple times, performing complex calculations and generating massive amounts of block updates.
How the Solution Works
Alternate Current solves these problems by pre-calculating the power of the entire network before updating levels. Each conductor checks power from non-conducting components only once, and from other conductors - only twice. Power sources within the network are identified, and power spreads from them, making calculations more efficient and update order logical and predictable.