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.
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!
Minecraft Version
1.20.1
Version
1.117.0
Details
Using
redstone setappears unreliable after leaving a computer idle in a given state for a while - usingredstone set back 0on a computer whose back was previously outputting 15, for example, will often not actually update the any redstone behind the computer, despiteredstone.getAnalogOutputprinting 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.
Repro:
redstone set back 15redstone set back 0print(redstone.getAnalogOutput("back"))in the Lua command line and compareI 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!