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

RedstoneChangeHook behaves erraticly #41

Open
nosefish opened this issue Jul 7, 2013 · 3 comments
Open

RedstoneChangeHook behaves erraticly #41

nosefish opened this issue Jul 7, 2013 · 3 comments
Assignees

Comments

@nosefish
Copy link
Contributor

nosefish commented Jul 7, 2013

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.

@ghost ghost assigned darkdiplomat Jul 7, 2013
@darkdiplomat
Copy link
Member

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

@nosefish
Copy link
Contributor Author

nosefish commented Sep 1, 2013

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

these don't work: levers, buttons, wires, repeaters, comparators, pressure plates

@darkdiplomat
Copy link
Member

Ok, this should now correct everything with the exception of TripwireHooks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants