API reference Obsidian.API.Blocks
SignalContext class
A block asked for its redstone output (see IBlockBehavior.GetSignal, IBlockBehavior.GetDirectSignal and IBlockBehavior.GetAnalogOutput).
public sealed class SignalContext : BlockContext
In Obsidian.API.
Constructors
public SignalContext();Properties
Direction
public required BlockFace Direction { get; init; }For a signal, the direction from the block asking to this block, like vanilla's (the asking block is on this block's Direction.Opposite() side). For an analog output, the side of this block the comparator reads it from.