Can a redstone latch in Minecraft Bedrock Edition be supplemented with a toggle function?

[BACK]
Can a redstone latch in Minecraft Bedrock Edition be supplemented with a toggle function?
Posted On: April 3, 2023

SR latches and T-flip-flops are trivial circuitry in Minecraft redstone, but it appears that there is little to be found for a circuit that combines both, allowing for both SR and T functionality.


I envision an SR-T latch to have set, reset, and toggle inputs respectively, but all connected to the same memory cell. This means that the output can be controlled by setting it, resetting it, and toggling it all at once. Just like an SR latch, pressing S or R when the cell is already in that state should do nothing.


All of my circuitry so far has been "unclean" implementations, either a bodged wiring to add a toggle to an SR latch, or bodged wiring to add SR inputs to a T-flip-flop. What is the best way to go about making such a latch?


See also: Same question for Java Edition (originally one question; separated upon request from others).


Question from user KnowledgeIsPower at gaming.stackexchange.com.


Answer:

The primary mechanism you're going to want is an RS latch and some AND gates. This will operate as a regular RS latch when you press the On or Off button, and as a Toggle when you press Toggle. This works by routing the toggle signal to the appropriate end of your RS latch, turning it on or off based on the current state of the RS latch.


I feel like I've been here before. Anyway. As it turns out there are quite a few differences in how Minecraft Bedrock Edition redstone works that I don't fully understand, which makes my Java Edition answer inoperative in Bedrock edition. However, with some small tweaking, it can be made to work.


The main tweak is a monostable circuit on the Toggle line:.


This circuit uses a sticky piston to, in one game tick, send a redstone pulse and cut it off. This causes the Toggle input to only be on for 1 tick. This prevents the mechanism from cycling more than once when the toggle button is pressed. Without this, the pistons will switch back and forth repeatedly until the signal turns off, which is not what we want.


From here, only minor tweaks are required to the original Java mechanism (Bedrock edition has different rules about when redstone dust connects to pistons, so a few more redstone repeaters were required):.


As in my previous answer, there are sticky pistons underneath the gold blocks which act as AND gates, and a redstone repeater underneath the diamond block to keep the signal from the repeater on the Reset line from being directly connected to the Output line. .


Unfortunately, due to the monostable circuit, this build is quite a bit bulkier in Bedrock edition, coming in at 9x4 on Bedrock (vs 5x4 on Java). 


Answer from user Unionhawk at gaming.stackexchange.com.



[BACK]
Can a redstone latch in Minecraft Bedrock Edition be supplemented with a toggle function?
Posted On: April 3, 2023

SR latches and T-flip-flops are trivial circuitry in Minecraft redstone, but it appears that there is little to be found for a circuit that combines both, allowing for both SR and T functionality.


I envision an SR-T latch to have set, reset, and toggle inputs respectively, but all connected to the same memory cell. This means that the output can be controlled by setting it, resetting it, and toggling it all at once. Just like an SR latch, pressing S or R when the cell is already in that state should do nothing.


All of my circuitry so far has been "unclean" implementations, either a bodged wiring to add a toggle to an SR latch, or bodged wiring to add SR inputs to a T-flip-flop. What is the best way to go about making such a latch?


See also: Same question for Java Edition (originally one question; separated upon request from others).


Question from user KnowledgeIsPower at gaming.stackexchange.com.


Answer:

The primary mechanism you're going to want is an RS latch and some AND gates. This will operate as a regular RS latch when you press the On or Off button, and as a Toggle when you press Toggle. This works by routing the toggle signal to the appropriate end of your RS latch, turning it on or off based on the current state of the RS latch.


I feel like I've been here before. Anyway. As it turns out there are quite a few differences in how Minecraft Bedrock Edition redstone works that I don't fully understand, which makes my Java Edition answer inoperative in Bedrock edition. However, with some small tweaking, it can be made to work.


The main tweak is a monostable circuit on the Toggle line:.


This circuit uses a sticky piston to, in one game tick, send a redstone pulse and cut it off. This causes the Toggle input to only be on for 1 tick. This prevents the mechanism from cycling more than once when the toggle button is pressed. Without this, the pistons will switch back and forth repeatedly until the signal turns off, which is not what we want.


From here, only minor tweaks are required to the original Java mechanism (Bedrock edition has different rules about when redstone dust connects to pistons, so a few more redstone repeaters were required):.


As in my previous answer, there are sticky pistons underneath the gold blocks which act as AND gates, and a redstone repeater underneath the diamond block to keep the signal from the repeater on the Reset line from being directly connected to the Output line. .


Unfortunately, due to the monostable circuit, this build is quite a bit bulkier in Bedrock edition, coming in at 9x4 on Bedrock (vs 5x4 on Java). 


Answer from user Unionhawk at gaming.stackexchange.com.



[BACK]

Can you romance anyone in Hogwarts Legacy? Can you romance anyone in Hogwarts Legacy?

Posted On: July 20, 2023
I'm wondering if I'm able to get my flirt on with someone from Hogwarts. Is it possible to have a romantic relationship with anyone in Hogwarts Legacy? Question from user Shaun Roselt at...[More]


Zelda TOTK, What does the blue numbers for my weapon strength indicate? Zelda TOTK, What does the blue numbers for my weapon strength indicate?

Posted On: May 20, 2023
I have a wide selection of fused weapons. Though, I noticed that many of the numbers are colored blue while the rest are white. At first I assumed it was to indicate either fused weapons or weapons...[More]


Can't connect to ONE Minecraft server but to others I can Can't connect to ONE Minecraft server but to others I can

Posted On: January 22, 2023
For at least a couple of years now I get SUPER strange behavior in Minecraft. I can connect freely to 99.9% of servers and play them without any issues and with a fast connection. Every time I o...[More]


Why does Lae'zel hate Astarion?! Why does Lae'zel hate Astarion?!

Posted On: October 10, 2025
Today I discovered something really funny, and I can't understand the "lore" or reasoning behind the approval/disapproval she shows. It's about the interaction with Gandrel, the Gur who's chasing Asta...[More]


Why didnt the game save some of my Walking Dead choices? Why didnt the game save some of my Walking Dead choices?

Posted On: March 25, 2023
In Season 1, and the first time when Kenny, Lee, Clem, Katya, Duck, and others found the abandoned car with supplies in it, I chose NOT to take it and told Clem that we would be okay without it. Howev...[More]


Rocket League controller only works on Press Any Button to Start screen Rocket League controller only works on Press Any Button to Start screen

Posted On: September 17, 2023
When I start Rocket League, I press a button on my controller at the screen that says "Press Any Button to Start". That brings up the main menu, but my controller no longer works to control ...[More]


So is leap of faith just impossible now? So is leap of faith just impossible now?

Posted On: April 4, 2026
I really don’t understand. Every solution I find is seemingly patched out of the game. I’m in tears. Nothing works. I’m following the guides and maps and it just doesn’t WORK. I can’t pass ...[More]


Addicted to the game Addicted to the game

Posted On: September 14, 2023
Got the game and ps5 recently. I always try to limit my playtime but alwaysss end up playing for sooooo long! Its super addictive and fun!! Where’s my hufflepuffs?!. Question from user Fiery-...[More]


What does a checkmark in the Monster List mean? What does a checkmark in the Monster List mean?

Posted On: November 27, 2023
When looking at the Monster List, what does it mean when a monster has a green checkmark next to them? Question from user Stevoisiak at stackexchange. Answer: A green checkmark means you have...[More]


Is there a purpose for the Planet Scanning meters? Is there a purpose for the Planet Scanning meters?

Posted On: September 2, 2023
When scanning a planet, the UI includes meters for each of the resources you might collect. The bars in each of these meters seem to max out when you've collected about 25,000 of the given resourc...[More]