-
Notifications
You must be signed in to change notification settings - Fork 44
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
RedstoneChangeHook behaves erraticly #41
Comments
Still working on this a bit, redstone wire natively behaves oddly when reducing power, and tripwire hook is a bit akward with both hooks activating/deactivating off on string, but all the others should be functioning fine |
Levers still don't work right when they are being switched off. same for buttons returning to "off" state. Forgot to mention in the original report: No redstone hook call when certain redstone-related blocks are broken while in "on" state. Below are the ones I've tested: correct behaviour: rs blocks, rs torches, buttons, daylight sensors |
Ok, this should now correct everything with the exception of TripwireHooks |
lever: newLevel is always 0 or 8, for oldLevel I've seen 1, 3, and 5 so far, semi-randomly. (expected 0/15 or 15/0)
button: when pressing, newLevel is alway 8 (expected 15), oldLevel same semi-random values as lever (expected 0). No hook call at all when the button comes back out and turns off.
tripwire hook, daylight sensor, trapped chest, comparator, repeater, placement of rs torch/block: no hook call
redstone wire: when level increases, only one hook call. when level decreases, one hook call for every step (e.g. 0->2: hook(0, 2); but 2->0: hook(old=2, new=1), hook(old=1, new=0))
pressure plates behave as expected.
The text was updated successfully, but these errors were encountered: