I have been learning about logic gates recently so I decided to build a D Flipflop counter in Minecraft. What do you guys think? Any better way to optimize it?
* Upvote this comment if this is a good quality post that fits the purpose of r/Minecraft
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
chell2282025-11-19 10:03
Copper bulbs+comparators allow to make it super easy. Juts place a copper bulb, comparator that read from it, next copper bulb infront.....
But your one does look really cool.
UnluckyPluton2025-11-19 19:45
It's harder to reset copper bulb one
DearHRS2025-11-19 10:35
there are a lot more compact designs for a filp flop, like copper bulbs are quite literally 1x1x1 but i would encourage to discover them yourself instead of using best possible option, as others have their own usuage/quirks
Shockwave-132025-11-19 18:07
Neat! If I understand correctly, it looks like you made a buffer containing the inverse of the output that advances on each edge of the input. So each rising edge, the state changes.
I'm curious how you arrived at this design. By the description it sounds like you're learning IRL logic gates, but you're using repeater locking, which isn't like basic logic components.
Independent_Piece_882025-11-20 01:14
Yeah! I was inspired to use repeater locking from user amihart on this [old Minecraft Forum](https://www.minecraftforum.net/forums/minecraft-java-edition/redstone-discussion-and/2487291-help-with-rs-latches). They used repeater locking to create a gated D latch.
I combined 2 gated D latches in "master" and "slave" architecture to create the edge triggered D flipflops.
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
But your one does look really cool.
I'm curious how you arrived at this design. By the description it sounds like you're learning IRL logic gates, but you're using repeater locking, which isn't like basic logic components.
I combined 2 gated D latches in "master" and "slave" architecture to create the edge triggered D flipflops.