Overview
The T Trigger is a Digital Gate that toggles its output state when a Redstone Signal at the Toggle pin experiences a rising edge (the first tick when the signal goes from 0 to more than 0). Unlike Latches, Triggers only change their state on rising edges, while Latches change their state as long as the corresponding pin remains active.
Boolean Logic Table
The T Trigger operates according to the following Boolean logic table:
| Input | Output |
|---|---|
| 0 | Q |
| R | not Q |
| 1 | Q |
| F | Q |
Q represents the last output state of the T Trigger, and not Q is its opposite value.
R and F represent the rising and falling edges, respectively, of the input signal:
- Rising Edge (R): The first tick when the Redstone Signal changes from 0 to more than 0.
- Falling Edge (F): The first tick when the Redstone Signal changes from more than 0 to 0.
Configuration
The pin can be configured to face any side by right-clicking the block. This flexibility allows for easy integration into various circuit designs.
| Pin Mark A | Toggle pin |
Crafting
| Ingredients | RedCu Crafter Recipe |
| 1 Smooth Stone Plate | |
| 1 Redstone Dust | |
| 1 Quartz |
Data
Block State
T Trigger registry name: redstonecg:normal_t_trigger
Block properties:
facing(down|north|east|south|west|up): sets the direction block's bottom face is facing.rotation(north|east|south|west): rotates block around its local Y-axis (0°, 90°, 180°, 270°).visible_state(false|true): determines if the mark is lit or not.waterlogged(false|true): determines whether the block is waterlogged.connection(0|1|2): Sets Pin Mark configuration.
Block Entity
Structure (all versions):
-
id: block entity identifier -redstonecg:default_digital_trigger_gate -
x: X coordinate of the block entity. -
y: Y coordinate of the block entity. -
z: Z coordinate of the block entity. -
output: The output signal state of the gate (eitherfalse- 0 ortrue- 15). -
unlocked: Determines if the gate will update on input signal change. It is set totruewhile signal on the Clock pin is 0, and is set tofalseon the next tick after the signal on the Clock pin is more than 0.
Version Log
| Version | Description |
| 0.0.0 | Introduced. On update from anywhere reads redstone signal only and updates neighbours when output changes. |
| 0.0.1 | Unlike in the previous version, block first reads the blockstate on the input, and if suitable, uses blockstate value, if not, reads redstone signal. |
| 0.1.1 | Changed registry name from t_trigger to floor_t_trigger. Replaced bottom texture from being that on the top to Smooth Stone Block. |
| 0.2.0 | Changed registry name from floor_t_trigger to normal_t_trigger. Can be placed on walls and ceiling. Updates the block on the output when output changes instead of updating all neighbours. Output data is stored on Block Entity. Lost `rotate` and `mirror` block methods.. |
| 0.2.1 | Reimplemented `rotate` block method. |