Counter
Type |
Multipart block |
---|---|
Physics |
No |
Transparency |
Yes (partial) |
Luminance |
Yes, 7 |
Blast resistance | |
Tool |
Any tool |
Renewable |
Yes |
Stackable |
Yes (64) |
Flammable |
No |
Availability |
Survival |
First appearance | |
Drops |
Itself |
Name |
counter |
The Counter is a more advanced instanced based logic gate with 2 inputs and 2 outputs with time based logic.
Obtaining
Crafting
Ingredients | Crafting recipe |
---|---|
Circuit Plate + Cathode + Conductive Plate + Pointer |
Usage
I/O
The Counter has 2 inputs and 2 outputs. When placed, on the ground, the side facing the player is the low output, while the side facing away is the high output. The left side is the minus input, and the right is the plus input.
Logic
The gate keeps tract of an internal count that can either be added to or subtracted with the plus and minus inputs. When the count is at its max value, the high output is activated. When it is zero, the low output is enabled. The values of increment, decrement, or max can be altered with the GUI.
GUI
The Counter GUI contains a few buttons to edit the increment, decrement, or max values. The gates current count is shown at the bottom, labeled state. |
Configuration
A shift-right-click with a screwdriver will flip the minus and plus inputs of the gate.
History
Version | Changes |
---|---|
v4.0.0 | Added the Counter. |
Issues
Issues pertaining to "Counter" are maintained on the ProjectRed Github page. Report issues there.