Alternate Current
ModrinthAn efficient and non-locational redstone dust implementation
Alternate Current is an efficient and non-locational redstone dust implementation. Its main focus lies in reducing the lag caused by redstone dust, by optimizing the power calculations and reducing the number of shape and block updates emitted. As a side effect of these changes the block update order of redstone dust networks is predictable and intuitive rather than locational and chaotic.
Performance
MSPT contributions of redstone dust are up to 30 times lower with Alternate Current, all the while maintaining a high level of Vanilla parity. Its low number of code modifications make it minimally invasive, so it's an easy drop-in replacement for Vanilla redstone dust.
Check out the GitHub page for a detailed explanation of Alternate Current's improvements.
Why is redstone dust so laggy?
There are two main reasons why redstone dust is laggy: unnecessary updates and unnecessary calculations, both of which are caused by the fact that redstone dust updates recursively. A redstone wire can update its power level over half a dozen times before settling on the final value, doing expensive calculations and emitting copious amounts of shape and block updates each time. On top of that, many shape and block updates are completely redundant.
How does Alternate Current fix that?
Alternate Current fixes these issues by doing power calculations of the entire network before updating the power levels. Each wire will check power from non-wire components just once and power from other wires just twice. Power sources within the network are identified, and the power is spread from there. This makes the calculations more efficient and the update order more intuitive. Shape and block updates are only emitted when the final power level is reached, and each wire emits no redundant updates.
Versions
FAQ
Comment installer Alternate Current ?
Téléchargez le fichier pour votre version de Minecraft et votre loader sur cette page, puis placez le .jar dans le dossier mods (ou plugins) et lancez le jeu.
Alternate Current est-il gratuit ?
Alternate Current est gratuit sur Modgrid — nous renvoyons directement vers la source officielle, sans paywall.
Quelles versions de Minecraft Alternate Current prend-il en charge ?
Compatible avec Fabric, Forge, Neoforge, Ornithe. Prend en charge les versions a1.0.11–26.2. La liste des versions et loaders pris en charge est dans la section de téléchargement de cette page.

Commentaires 0
Aucun commentaire pour l'instant. Sois le premier à donner ton avis.