Schrödinger's Redstone

Severity:

Status:

Code:

Description: Schrödinger's Redstone is a partially visual, partially mod mechanical bug observed when a line (column) of Parallel Gates is constructed. Measuring the output of any row causes the output signal to change its value by a difference of one, giving the impression that the redstone exists in two states simultaneously. This is often followed by the related bug, Row Ghosting. During testing, both the output and the row of Parallel Gates appeared to blink rapidly and inconsistently, despite no timing circuit being involved. The effect ceased immediately when the output was no longer measured.

Cause: Changing default values in net.mcreator.redstonecg.procedures.GetParalelGateSignalProcedure.java from 0 to -1 activates both this bug and Row Ghosting. Comments in the code identify problematic locations. This issue stems from MCreator's default behavior of returning "-1" in scenarios where a signal cannot be reliably read. The interaction between Parallel Gate outputs and input logic under these conditions results in unstable signal states.

Consequences: This bug introduces both visual and mechanical inconsistencies. While gameplay impact is minimal, the behavior highlights potential vulnerabilities in Parallel Gate logic, particularly in how signal reliability is handled.

Safe Configurations: No safe configurations have been identified. The exact triggers for this bug remain unclear, necessitating further investigation.

Special Notes: This bug is classified as "Assumed Inactive" due to unresolved uncertainties about its exact triggers and execution paths. While changing the default return value from "-1" to "0" has mitigated the issue, similar conditions may reintroduce it. Additionally, there are other MCreator-generated files retaining default behaviors that do not exhibit this issue, suggesting potential interactions or overlooked factors.

During testing, a collaborator known as CaptainOverkill humorously referred to this behavior as a feature rather than a bug, likening it to a unique game mechanic. While this was intended as a joke, the developer found the visual and mechanical effect fascinating and is considering incorporating a controlled version of this phenomenon as a future gameplay element. CaptainOverkill has also expressed a strong desire for the effect to remain in some form.

Resolved: Rewrote the Parallel Gate signal obtaining and updating code in version 0.2.0.