Upon request from moderators/experts, this question has been split into two questions, one for each of the main editions of Minecraft. If you have an answer for Java Edition, please post it here.
I am creating a redstone contraption that is based off an RS-NOR latch and a T-flip-flop at once.
The contraption needs to have three pulse-based inputs and one output.
Here are the inputs and their descriptions of what they should do:
- "On" button: Turn the output on, or keep it on if it is already on.
- "Off" button: Turn the output off, or keep it off if it is already off.
- "Toggle" button: Toggle the state of the output, no matter what state it was in before.
Many online tutorials provide a solution for an RS-NOR latch or a T-Flip-Flop alone, but not this combination of them.
What is the most compact way to construct a redstone contraption like this?
Please include images with your solution.