Redstone loops

Discussion in 'Plugin Development' started by WeDaBeast, Jun 15, 2014.

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

    WeDaBeast

    I was wondering if theres anyway to check if a user makes a redstone loop, and set it to air with code?
     
  2. Offline

    cheddar262

    The only real way to do so, I think, would be tracing a redstone chain to see if it returned to its original location, I think probably putting it on a BlockPlaceEvent might be the best place if you were using this method.

    If you're looking for extremely short (1-tick) clocks and that kind of thing, it might be better to look for a RedstoneUpdateEvent and keep track of all the ones within your time-frame and see if the same location comes up a few times in a row in rapid succession.
     
Thread Status:
Not open for further replies.

Share This Page