1.15.2 Detect when a block gets powered by redstone

Discussion in 'Spigot Plugin Development' started by Nemo_64, Feb 14, 2020.

  1. I have this set up

    https://imgur.com/a/Rc9HrcN

    [​IMG]
    And a BlockRedstoneEvent but the event only fires for the button and I'd like to detect when the dispenser gets powered, not only by the button but by any redstone signal. The problem is that the BlockRedstoneEvent only runs for the button, how can I detect when the dispenser gets powered?
     
  2. Vibemaster

    Vibemaster Previously Heirteir

    Well when a dispenser gets powered it should dispense the items inside so just use BlockDispenseEvent
     
  3. No, the dispenser is just an example. I want to be able to detect when a block gets powered by redstone, any block. But thanks for the coment
     
  4. So there is no way to detect it?