Overview
The Block Reader functions similarly to the Minecraft Redstone Comparator, with one key difference: it cannot perform comparison on its own. To compare signals, connect it to a Comparator.
Aside from lacking comparison mode, the Block Reader is a direct functional copy of the vanilla Comparator. It reads data from blocks such as Chests, Lecterns, Item Frames, and any block placed behind a Comparator-Conducting Block. Its output signal strength depends on the block being read.
Container Logic
If the block is a container, the output signal O depends on the number of stored items:
- Q - Number of items currently inside the container
- V - Maximum number of items the container can store
Item Frame Logic
- Empty Item Frame = 0
- Item Frame with item = 1 to 8 depending on item rotation
For all other cases, refer to Minecraft's Comparator logic on the official wiki.
Semi-Quasi Connectivity
The Block Reader has a special behavior when reading blocks behind a Comparator-Conducting Block. This behavior resembles quasi-connectivity but is not identical.
- A Block Reader is placed facing a Comparator-Conducting Block.
- A readable block (such as an Item Frame) is placed in line behind that block.
You might expect it to behave like the vanilla Redstone Comparator and update immediately after step 2, but the Block Reader does not activate instantly. Initially, the Block Reader is asleep - it doesn't detect a valid block to read yet.
The Block Reader must receive a neighbor update to perform a data check. Once triggered, it detects the readable block behind the Comparator-Conducting Block and begins updating automatically every 2 ticks. This continues as long as the readable block remains in place.
This mechanic is intentional. Implementing full Redstone Comparator behavior accurately is non-trivial, and this update cycle prevents unnecessary performance cost. For best performance, avoid using intermediate Comparator-Conducting Block when possible.
Configuration
Pin Mark A shows where the Block Reader will output a Redstone Signal. Right-click to change.
Crafting
| Ingredients | RedCu Crafter Recipe |
| 1 Redstone Comparator |
Version Log
| Version | Description |
| 0.2.3 | Introduced. |