Skip to content

Remote observer

Picture

Remote observer

Supported versions

Forge: 1.19.4, 1.20.x
Fabric: 1.19.4, 1.20.x

Observer is a perfect tool for tracking remote changes. But this tools is vastly limited by position and redstone logic. Computer world shouldn't be limited with this! Remote observer allows you to observe block state changes from a small range. And it also works with up to 8 blocks (by default).

How to configure

To configure remote observer, you can use ultimate configurator or peripheral methods.

Peripheral methods

Function Returns Description
addPosition(pos: BlockPos) Result Tries to add new position to track
removePosition(pos: BlockPos) Result Tries to remove position from tracking
getPositions() table Return list of all tracked positions

Events

block_change

Fires when any observer block changes it block state (take a note, that this happens also when block is destroyed or placed)

Values

  1. blockPos: BlockPos relative position of block, that changed
  2. oldState: table lua table with old block state
  3. newState: table lua table with new block state