Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • RedstoneSignalFunction

Callable

  • RedstoneSignalFunction(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

        always true

      • power: number

        redstone signal power

      • signal: number

        same as params.power

    • block: Tile

      information about the block on the specified coordinates

    • Optional world: BlockSource

    Returns void

Generated using TypeDoc