Overview
The Seven Segment Indicator is an Indicator block that displays characters corresponding to Redstone signal levels in a classic seven-segment display style. The characters for Redstone signal levels from 0 to 15 are:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, b, C, d, E, F
A text can be written on the indicator with Formatting Notation by changing the item name with an Anvil. Text will be scaled to fit 75% of the surface.
Configuration
The inputs (Pin Mark A) can be configured to face any side by right-clicking. When multiple inputs are connected, the Indicator displays the greatest Redstone signal from its inputs.
Every 16th right-click or a right-click with Seven Segment Indicator item toggles base reading state, where the indicator reads Redstone signal from its base, shown by the Pin Marks in the corners.
Crafting
| Ingredients | RedCu Crafter Recipe |
| 1 Smooth Stone Plate | |
| 1 Redstone Dust |
Data
Block State
Registry name: redstonecg:seven_segment_indicator
Block properties:
power(0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15): sets shown signal value.waterlogged(false|true): determines whether the block is waterlogged.connection(0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15): sets Pin Mark configuration. On 15 there are no Pin Marks on the sides. Each time this is set to 15, block entity property `base_read` is toggled.
Block Entity
Structure:
-
id: block entity identifier -redstonecg:default_analog_indicator -
x: X coordinate of the block entity. -
y: Y coordinate of the block entity. -
z: Z coordinate of the block entity. -
state: encoded facing and rotation used to orient the block. -
base_read: determines if block reads signal in the direction of its base. -
CustomName(Optional): custom name of the block and displayed text.
Item
Structure (1.20.4 and older):
-
id: item identifier -redstonecg:seven_segment_indicator -
Count: the amount of items in this stack. -
tag(Optional): additional item data.-
display(Optional)-
Name: Composed text used for item name and to be used as displayed text.
-
-
BlockParameterSet(Optional): set of parameters for placing a block.-
power(Optional): Used for Control Panel Panel to store displayed power.
-
-
Structure (1.20.6 and newer):
-
id: item identifier -redstonecg:seven_segment_indicator -
Count: the amount of items in this stack. -
components(Optional): item data components.-
minecraft:custom_name(Optional): Composed text used for item name and to be used as displayed text. -
minecraft:custom_data(Optional): custom data.-
BlockParameterSet(Optional): set of parameters for placing a block.-
power(Optional): Used for Control Panel Panel to store displayed power.
-
-
-
Version Log
| Version | Description |
| 0.0.0 | Introduced. |
| 0.1.0 | Increased the amount of pin configurations up to 15. |
| 0.1.1 | Changed registry name from seven_segment_indicator to floor_seven_segment_indicator. Replaced bottom texture from being that on the top to Smooth Stone Block. |
| 0.2.0 | Changed registry name from floor_seven_segment_indicator to seven_segment_indicator. Can be placed on walls and ceiling. Updates the block on the output when output changes instead of updating all neighbours. Orientation data and reading data now is stored on Block Entity. Block is drawn by Block Entity Renderer. Lost `rotate` and `mirror` block methods.. |
| 0.2.1 | Reimplemented `mirror` block method. |
| 0.3.0 | Added `base read` feature. |
| 0.3.3 | A text can be written on the block. |