Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Threshold switch does not keep its signal when the game starts #1213

Closed
rphsantos opened this issue Dec 5, 2023 · 3 comments
Closed

Threshold switch does not keep its signal when the game starts #1213

rphsantos opened this issue Dec 5, 2023 · 3 comments
Labels
status: needs testing Issue needs testing type: bug Issue where something isn't working

Comments

@rphsantos
Copy link

Describe the Bug

Everytime I reopen my world (single player), all of my threshold switches seem to lose the last value read from the container they're attached to and send the wrong signal, for an instant.

Reproduction Steps

  1. Fill any container with items and use a threshold switch (in this example, I've also used one with the signal inverted)
    image

2.Use the signal to control a funnel attached to another chest - for instance:
image

3.Quit the game, open it again and see that one batch (depends on the funnel config) has been released:
image

My workaround for this is to use a pulse extender configured for 10 ticks, between the switch and the link.

Expected Result

Threshold switches should maintain its signal when the world is restarted.

Screenshots and Videos

No response

Crash Report or Log

No response

Operating System

Fedora 38

Mod Version

0.5.1d

Minecraft Version

1.20.1

Other Mods

./durabilitytooltip-1.1.5-fabric-mc1.20.jar
./lambdynamiclights-2.3.2+1.20.1.jar
./freecam-fabric-modrinth-1.2.1+1.20.jar
./lithium-fabric-mc1.20.1-0.11.2.jar
./minihud-fabric-1.20.1-0.27.0.jar
./BetterF3-7.0.1-Fabric-1.20.1.jar
./sodium-fabric-mc1.20-0.4.10+build.27.jar
./supermartijn642configlib-1.1.8a-fabric-mc1.20.jar
./modmenu-7.2.2.jar
./continuity-3.0.0-beta.4+1.20.1.jar
./Jade-1.20-fabric-11.6.2.jar
./create-fabric-0.5.1-d-build.1161+mc1.20.1.jar
./tweakeroo-fabric-1.20.1-0.17.1.jar
./malilib-fabric-1.20.1-0.16.3.jar
./fabric-api-0.88.1+1.20.1.jar
./cloth-config-11.1.106-fabric.jar
./reeses_sodium_options-1.6.2+mc1.20.1-build.85.jar
./JadeAddons-1.20.1-fabric-5.2.2.jar
./indium-1.0.21+mc1.20.1.jar
./jei-1.20.1-fabric-15.2.0.27.jar
./litematica-fabric-1.20.1-0.15.3.jar

Additional Context

No response

@rphsantos rphsantos added the type: bug Issue where something isn't working label Dec 5, 2023
@TropheusJ TropheusJ added the status: needs testing Issue needs testing label Sep 30, 2024
@TropheusJ
Copy link
Member

can't reproduce, threshold switch code was changed so I believe it was fixed

@rphsantos
Copy link
Author

Thanks for the resolution!

Just one quick question - is the new threshold switch code present on patch v0.5.1.f, or will it be released in the next version?

@IThundxr
Copy link
Member

IThundxr commented Nov 5, 2024

it'll be released as 0.5.1.j

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs testing Issue needs testing type: bug Issue where something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants