Redstone Repeater changing signal power, how to check?

Discussion in 'Plugin Development' started by mgbeenieboy, Sep 7, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    mgbeenieboy

    Hello, I want to check whether a redstone repeater changes its signal power, for example from on to off. The BlockRedstoneEvent sadly only triggers on changing signal of redstone wire or pressure plates, levers, ... but not repeaters or comparators.
     
  2. mgbeenieboy BlockRedstoneEvent maybe? check if the block is a repeater, could work :)
     
  3. Offline

    mgbeenieboy


    No, suprisingly not :/
     
  4. Offline

    4thegame3

  5. Offline

    4thegame3

  6. Offline

    fireblast709

    How did you verify that this didn't work?
     
  7. I'm having the same problem, but I can't use BlockPhysicsEvent as the block needs to be updated for it to trigger :/
    Is there any other way to do it?
     
  8. Offline

    fireblast709

    mgbeenieboy Shmobi 4thegame3 XXLuigiMario (tahging pretty much everyone who participated in the thread)

    There is no issue with BlockRedstoneEvent, it works as intended. Just make sure you use the correct Material when doing comparisons.

    [EDIT] Apparently this only holds for repeaters
     
  9. I did use the correct material it just doesn't fire with comparators.
     
  10. Offline

    fireblast709

    XXLuigiMario weird... anyway, you can use a 0 tick delayed task to execute something after the update.

    [EDIT] Using the BlockPhysicsEvent, obviously :p
     
    XXLuigiMario likes this.
Thread Status:
Not open for further replies.

Share This Page