Overview
Colored Flat Lamp Indicator is an indicator block that functions similarly to Colored Lamp, but uses the Flat Lamp form factor with visible Pin Marks.
The indicator increases its brightness based on the incoming Redstone signal strength.
By default, the block uses the color #F2BD74, which closely resembles the color of a standard Redstone Lamp.
The color can be changed using Stained Glass Panes. For full details about color configuration, see Colored Lamp.
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 the top 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 Colored Flat Lamp 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 Colored Lamp |
Data
Block State
Registry name: redstonecg:colored_flat_lamp_indicator
Block properties:
power(0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15): sets brightness.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_colored_flat_lamp -
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. -
color(length of 3): sets the color of this lamp. -
item(Optional): if present, stores identifier of an item that was used to stain this block. -
CustomName(Optional): custom name of the block and displayed text.
Item
Structure (1.20.4 and older):
-
id: item identifier -redstonecg:colored_flat_lamp_indicator -
Count: the amount of items in this stack. -
tag(Optional): additional 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.-
connection: target Pin Mark configuration of the block. -
item(Optional): identifier of an item that will be used to stain this block. Also used for Control Panel Panel to obtain color. -
power(Optional): Used for Control Panel Panel to store brightness. -
color(Optional): Used for Control Panel Panel to store encoded RGB888 color.
-
-
Structure (1.20.6 and newer):
-
id: item identifier -redstonecg:colored_flat_lamp_indicator -
Count: the amount of items in this stack. -
components(Optional): item data components.-
minecraft:custom_data(Optional): custom data.-
minecraft:custom_name(Optional): Composed text used for item name and to be used as displayed text. -
BlockParameterSet(Optional): set of parameters for placing a block.-
connection: target Pin Mark configuration of the block. -
item(Optional): identifier of an item that will be used to stain this block. Also used for Control Panel Panel to obtain color. -
power(Optional): Used for Control Panel Panel to store brightness. -
color(Optional): Used for Control Panel Panel to store encoded RGB888 color.
-
-
-
Version Log
| Version | Description |
| 0.3.0 | Introduced. |
| 0.3.2 | Item can copy the color from a block or a stained glass pane in off-hand. |
| 0.3.3 | A text can be written on the block. |