JK Trigger

JK Trigger
Stackable
Yes(64)

Overview

The JK Trigger is a universal trigger, combining the behaviors of an SR Latch and a T Trigger. Unlike latches, triggers change their state only on a rising edge (the first tick of Redstone signal going from 0 to more than 0), whereas latches change their state while the corresponding pin stays true. The JK Trigger changes its state only after the Redstone signal at the Clock pin returns to 0 and another rising edge is detected.

The JK Trigger has a Clock pin (Pin Mark C) that changes the state of the JK Trigger on the rising edge. This Clock pin is essential because toggling the remaining two input pins simultaneously in Minecraft may lead to unexpected results.

The remaining two pins are J and K, marked by Pin Mark A and Pin Mark B, respectively:

To properly set the JK Trigger Output pin's state, you can change the signal in at least 2 Minecraft ticks:

  1. On the first tick, set the Redstone signal on the Clock pin to 0 and set the Redstone signal on the J and K pins according to your needs.
  2. On the second tick, set the Redstone signal on the Clock pin to at least 1.

Boolean Logic Table

The JK Trigger operates according to the following Boolean logic table:

JKOutput
00Q
101
010
11not Q

The Q represents the last output state of the latch, and not Q is its opposite value. Remember, this Boolean logic table applies to the rising edge (first tick) of Redstone signal applied to the Clock pin. In all other cases, the output remains unchanged (Output = Q).

Configuration

The pins can be configured to face any side by right-clicking the block. This flexibility allows for easy integration into various circuit designs.

Pin Mark AJ pin
Pin Mark BK pin
Pin Mark CClock pin

Crafting