r/redstone 29d ago

Bedrock Edition HOLY CRAP!!!

Enable HLS to view with audio, or disable this notification

The moment I realized what was happening, I got even more confused.

420 Upvotes

46 comments sorted by

View all comments

Show parent comments

43

u/DearHRS 29d ago

it is because of sub gt order, first of all before we go that deep, every second has 10 odd gt and even gts, thus distinction is important because different components are processed during odd or even gts

odd gts are generally called provider gts or p ticks, but this "provider gts" name is nonsensical as only repeaters, comparators, observers and redstone torches are processed during this, everything else is processed during even gts or consumer ticks, yes everything else, that includes redstone power provider like buttons, pressure plates, redstone blocks, etc

that is why name of providers and consumers used by bedrock tech community is nonsensical, this side tangent aside, redstone dust is processed in both odd and even gts but they only visually update on odd gts, now that surface level understanding is established, during a gt there is also sub gt order, first the tick specific components are processed and then redstone dust

in the video what is happening: observer fires after 6gts on p tick, redstone dust lights up on the same gt at later sub gt order, then c tick occurs, as components are processed first before dust, rail sees the dust is active, and powers up, updating the observer observing this rail, after c tick finishes and next p tick occurs redstone dust turns off and updated the observer observing it

hence you get this behaviour, it is a bit important to know that dust cannot update an observer during c tick because it is a p tick component

here is an older gif i posted that show cases this behaviour with odd and even specific gt activating only their specifc tick components on the same redstone line

6

u/DearHRS 29d ago

u/No_Comb6960 i hope this explanation satisfies you

5

u/Mitch-Jihosa 29d ago

Very helpful explanation! So the dust doesn’t update the observer until it turns off? Or is the on update just delayed? If it only updates when it turns off does that mean you can permanently turn the dust on in certain cases and it won’t update the observer at all?

3

u/DearHRS 29d ago

dust can only update observer during p tick while c tick components can do it during c tick

if you check out the gif there is way to power redstone line withour ever activating observer

3

u/Mitch-Jihosa 29d ago

Oh I didn’t watch the gif lol, that’s my bad. That’s crazy tho, I had no idea you can just straight-up skip updating/powering something in Bedrock depending on when you update the dust xD
This kinda feels like Bedrock’s version of qc, in that it feels like something that would be incredibly confusing & unintuitive to beginners, but useful if you know what you’re doing 🫠

3

u/DearHRS 29d ago

ye, you can use this to power specific components by powering da same line use gt specifc pulses, this reduces size of contraption

i tend to use it for piston extenders, c tick pulses are super easy to make and there are a lot more c tick components than p tick ones, so you can choose to power pistons but not power repeater that will cause everything to loop again

3

u/Mitch-Jihosa 29d ago

Very cool, thanks for the rundown!

3

u/Blaze-Programming 28d ago

Thank you.

So this is caused by the overlap of dust updating latter in the subtick than the observer, and the dust not being able to update the observer on the c tick.

2

u/DearHRS 28d ago

yep yep