Clock generator (v1.1.1)
A component that generates clock signals.
Obtaining
This block can be broken with any tool, as well as the fist.
It can be crafted using the following crafting recipe:
- | Redstone repeater | - |
Redstone torch | Clock | Redstone torch |
- | Redstone dust | - |
Behavior
This blocks acts as a clock signal generator. It emits redstone power at a given
frequency. The logicgates_clock_delay
state defines the frequency. Larger delay
means smaller frequency. Right click the block to cycle the delay.
A delay of 1
will set the frequency to once every 2
ticks.
Any other delay will set the frequency to once every (delay - 1) * 5
ticks.
Keep in mind that when the clock generates a signal, it takes another 2
ticks
for that signal to turn off, and for the clock to start waiting for another
signal to be generated. The game usually runs at 20 tps
.
Delay values to ticks | |||
Delay value | Ticks | Delay value | Ticks |
1 | 2 | 6 | 25 |
2 | 5 | 7 | 30 |
3 | 10 | 8 | 35 |
4 | 15 | 9 | 40 |
5 | 20 | 10 | 45 |
Data values
Block ID
logicgates:clock
Block states
Blockstate | Values | Description |
---|---|---|
facing |
east , west , north , south |
The direction the block is facing. |
powered |
true , false |
Whether the block is emitting redstone power. |
logicgates_clock_delay |
1 to 10 ; Default 2 ; |
The delay of the clock block. Right clicking the block cycles the delay. |