mojira.dev
MCPE-11953

Redstone torch timings are off by half a tick

In PC, redstone torches change state when the block they are attached to has a change in signal longer than 1 tick (except for when that change in state is caused by the redstone torch itself, i.e. a short-circuit). In PE however, torches can change state when the block they're attached to has a signal change of 1 tick. The video demonstrates two examples of this in both PE (MCW10) and PC.

https://www.youtube.com/watch?v=8vNeAsOgeyk

To fix: torches should ignore any change in signal to their attachment block that is exactly 1 game tick or shorter (50ms or shorter), and only change state when the change in signal is longer than 1 tick. That way, a pulse that is 1.5 ticks or 2 ticks will affect a the torch, but a pulse that is exactly 1 tick or shorter won't, which is how redstone torches in the PC edition work.

Edit: updated info, since redstone torches in the PC edition ignore any pulse that is 1 game tick or shorter and respond to any pulse longer than 1 tick, not just 1.5 ticks.

Linked issues

Attachments

Comments 20

migrated
[media]
PHO

Great. This may explain issues about weird behavior of torches, e.g. MCPE-11906.

migrated

Great. This may explain issues about weird behavior of torches, e.g. MCPE-11906.

Matt S

This is exactly what's going on. Those really compact and impossible clocks where two torches are on the same block only work because the 1-tick pulse created by one torch is short enough to change the state of the other torch.

migrated

This is exactly what's going on. Those really compact and impossible clocks where two torches are on the same block only work because the 1-tick pulse created by one torch is short enough to change the state of the other torch.

10 more comments
Illidicia

Reopened.

Aleksandra Zajac

This issue was marked by developers as "As designed"
Both teams (Stockholm and Redmond) are talking about this issue, so they are aware of the problem and they will try to fix it without breaking anything else. For now it is working as intended so it does not break other Redstone functions.

Aleksandra Zajac

This issue was marked by developers as "As designed"
Both teams (Stockholm and Redmond) are talking about this issue, so they are aware of the problem and they will try to fix it without breaking anything else. For now it is working as intended so it does not break other Redstone functions.

PHO

Well... okay then. Thanks for your information.

migrated

Well... okay then. Thanks for your information.

Matt S

(Unassigned)

Unconfirmed

Windows

Windows 10

0.13.0

Retrieved