Block Reader¶
Picture
This block is able to read data of blocks and tile entities in front of it.
Overview¶
Peripheral Name | Interfaces with | Events | Introduced in |
---|---|---|---|
blockReader | Blocks | No | 0.7r |
Example¶
1 2 3 4 5 6 |
|
Functions¶
Function | Returns | Description |
---|---|---|
getBlockName() | string | Returns the registry name of the block(e.g. minecraft:dirt) |
getBlockData() | table | Returns the block data if the target block is a tile entity |
Changelog/Trivia¶
0.7r Added the block reader