Overview
Colorful Flat Lamp Indicator is an indicator block that works similarly to Colorful Lamp, but uses the Flat Lamp form factor with visible Pin Marks.
The indicator changes its color depending on the incoming Redstone signal strength.
For the full description of the signal-to-color mapping and configuration, see Colorful 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 Colorful 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:colorful_flat_lamp_indicator
Block properties:
power(0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15): sets color.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): The color of this lamp. Overwritten each time block state propertypowerchanges. -
CustomName(Optional): custom name of the block and displayed text.
Item
Structure (1.20.4 and older):
-
id: item identifier -redstonecg:colorful_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. -
power(Optional): Used for Control Panel Panel to store selected color. -
color(Optional): Used for Control Panel Panel to store current encoded RGB888 color.
-
-
Structure (1.20.6 and newer):
-
id: item identifier -redstonecg:colorful_flat_lamp_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.-
connection: target Pin Mark configuration of the block. -
power(Optional): Used for Control Panel Panel to store selected color. -
color(Optional): Used for Control Panel Panel to store current encoded RGB888 color.
-
-
-
Version Log
| Version | Description |
| 0.3.0 | Introduced. |
| 0.3.3 | A text can be written on the block. |