Skip to content

Releases: SpaceWalkerRS/alternate-current

Alternate Current 1.9 for Fabric

26 Aug 13:18
Compare
Choose a tag to compare

1.9.0

New optimizations bring performance increases ranging from 2%-35%.

Alternate Current 1.9 for Ornithe

26 Aug 13:38
Compare
Choose a tag to compare

1.9.0

New optimizations bring performance increases ranging from 2%-35%.

Alternate Current 1.8 for Fabric

22 Jun 16:06
Compare
Choose a tag to compare

1.8.2

  • Fixes the config being saved incorrectly but for real this time.

1.8.1

  • Fixes the config being saved incorrectly.

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

Alternate Current 1.8.0 Beta 4 for Fabric

19 May 17:09
Compare
Choose a tag to compare

1.8.0 Beta 4

In this Beta, the on/off state of the mod is saved in the per-world config. That means the on/off state will no longer reset after reloading the world, and changing the on/off state in one world will no longer affect other worlds.

The config is stored at <world root>/alternate-current.conf, and the on/off state is saved in the enabled entry. Setting its value to TRUE will turn Alternate Current on for that world, whereas FALSE will turn it off.

You can of course still change the on/off state with the /alternatecurrent command as well, and doing so will update that world's config.

Alternate Current 1.8.0 Beta 3 for Fabric

09 May 14:51
Compare
Choose a tag to compare

1.8.0 Beta 3

Fixes a Mixin crash in 1.20-1.20.2

Alternate Current 1.8.0 Beta 2 for Fabric

08 May 15:34
Compare
Choose a tag to compare

1.8.0 Beta 2

Fixes a crash on Minecraft 1.20.4 and below.

Alternate Current 1.8.0 Beta 1 for Fabric

08 May 11:40
Compare
Choose a tag to compare

1.8.0 Beta 1

Block Update Orders

This beta 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 order around individual wires. 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.

In this Beta 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 update order can be changed on a per-world basis, and will remain changed upon game restarts. The update order used will be saved to a alternate-current.conf file in the world save directory.

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

Alternate Current 1.7 for Fabric

25 Jun 20:35
Compare
Choose a tag to compare

1.7.0

  • Fixes a duplication bug introduced in v1.6.

Alternate Current 1.7 for Ornithe

21 Jul 15:11
Compare
Choose a tag to compare

1.7.0

  • Fixes some compatibility issues with mods that add custom wire blocks.

Note: Alternate Current does not and can not optimize other mods' custom wire blocks. This fix simply serves to allow those mods to run alongside Alternate Current without breaking.

Alternate Current 1.6 for Fabric

07 Jun 16:21
Compare
Choose a tag to compare

1.6.0

  • Fixes some compatibility issues with mods that add custom wire blocks.

Note: Alternate Current does not and can not optimize other mods' custom wire blocks. This fix simply serves to allow those mods to run alongside Alternate Current without breaking.