Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RedstoneSignalFunction

Function used in "RedstoneSignal" callback

Hierarchy

  • RedstoneSignalFunction

Callable

  • __call(coords: Vector, params: { onLoad: boolean; power: number; signal: number }, block: Tile, world?: BlockSource): void
  • Function used in "RedstoneSignal" callback

    Parameters

    • coords: Vector

      coordinates where redstone signal changed

    • params: { onLoad: boolean; power: number; signal: number }

      information about redstone signal

      • onLoad: boolean
      • power: number
      • signal: number
    • block: Tile

      information about the block on the specified coordinates

    • Optional world: BlockSource

    Returns void

Generated using TypeDoc