Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ComparatorSignalCallback

Callable

  • Parameters

    • block: BlockState

      object containing ID, data and states of the block, on which the callback is called

    • world: BlockSource

      BlockSource object of the world the block is in

    • coords: ItemUseCoordinates

      object containing block's coordinates, the side where the comparator is located relative to the block, and the coordinates of the comparator itself in relative field.

    Returns number

    comparator signal strength to output from the block. Clamped between 0 and 15 inclusively.

Generated using TypeDoc