promotional bannermobile promotional banner

Alternate Current

An efficient and non-locational redstone dust implementation

File Details

[1.21 Fabric] Alternate Current 1.8.0

  • R
  • Jun 22, 2024
  • 50.65 KB
  • 64.8K
  • 1.21.1+1
  • Fabric + 1

File Name

alternate-current-mc1.21-1.8.0.jar

Supported Versions

  • 1.21.1
  • 1.21

Curse Maven Snippet

Fabric

modImplementation "curse.maven:alternate-current-548115:5458460"

Quilt

modImplementation "curse.maven:alternate-current-548115:5458460"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

1.8.0

Config

From this version onward Alternate Current saves a config file to save and restore certain settings across game start-ups. This config file is stored in the world save directory, at <world root>/alternate-current.conf. The settings are saved on a per-world basis, and changing any settings in one world no longer affects them in another world.

At the moment the only settings are

  • enabled: true if the mod is enabled, false if it is disabled.
  • update-order: one of horizontal_first_outwards, horizontal_first_inwards, vertical_first_outwards, vertical_first_inwards. More details about this new feature below.

Block Update Orders

This update introduces a new feature that allows users to change the block update order that Alternate Current uses. This can subtly change behavior in some circuits that are sensitive to the block update around wire networks. The default update order used is identical to that of previous releases, so circuits that were built in previous versions will still work the same.

There are 4 available update orders:

  • horizontal_first_outwards: Update direct neighbors first, then diagonal neighbors, and lastly far out neighbors, where the order within each layer is derived from the basic order [ front - back - right - left - down - up ]
  • horizontal_first_inwards: Update far out neighbors first, then diagonal neighbors, and lastly direct neighbors, where the order within each layer is derived from the basic order [ front - back - right - left - down - up ]
  • vertical_first_outwards: Update direct neighbors first, then diagonal neighbors, and lastly far out neighbors, where the order within each layer is derived from the basic order [ down - up - front - back - right - left ]
  • vertical_first_inwards: Update far out neighbors first, then diagonal neighbors, and lastly direct neighbors, where the order within each layer is derived from the basic order [ down - up - front - back - right - left ] The details for each update order can be found in the source.

The /alternatecurrent command gains new sub-commands that can be used to query and set the update order.

  • /alternatecurrent updateOrder: queries the current update order
  • /alternatecurrent updateOrder <update order>: sets the update order to the given value