Skip to content

Redstone not reliably updating state when using redstone set #2392

Description

@Auhrii

Minecraft Version

1.20.1

Version

1.117.0

Details

Using redstone set appears unreliable after leaving a computer idle in a given state for a while - using redstone set back 0 on a computer whose back was previously outputting 15, for example, will often not actually update the any redstone behind the computer, despite redstone.getAnalogOutput printing the correct value.

Block updating the redstone by other means (such as placing another block adjacent or updating the strength from another source) will have it reflect the correct value, which tells me the computer isn't prompting block updates.

I haven't yet tested this going from strength 0 to 15 or other arbitrary values, so it might be specific to going from full (or non-zero) strength to zero. This issue occurs with both vanilla redstone and redstone devices from other mods.

Image Image

Repro:

  • Place a computer with redstone adjacent to it (behind, in this example)
  • Run program redstone set back 15
  • Leave the computer idle for a time (possibly requires unloading the chunk)
  • Return and run redstone set back 0
  • Observe the state of the redstone behind
  • Run print(redstone.getAnalogOutput("back")) in the Lua command line and compare

I didn't see any mention of CC:Tweaked in my log beyond initialisation, but I'm still including it here. I hope it proves useful.
latest.log

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-MinecraftThis affects CC's Minecraft-specific content.bugA problem or unexpected behaviour with the mod.

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions