Solved Help? How to detect when any block recieves power?

Discussion in 'Plugin Development' started by Kazzababe, Feb 12, 2013.

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


    How do I check when any block receives a redstone pulse apart from schedulers that check for power every tick. Anyone?
  2. Offline


  3. Offline


    Already tried that. Doesn't work for some blocks.
  4. There is no other way that I can think of with this info, you might want to tell us what you're trying to do instead. :p
  5. Offline



    I think he's the one that is working on the Bukkit-Tekkit stuff. Not tekkit, but stuff from tekkit mirrored over using Bukkit only

    So for example he is making pipes, if you've ever played Tekkit you'll know what I mean. He is using glass in place of them. So he need to detect when the first chest becomes powered, to signal the pipes to carry it on.

    So he wants to detect redstone clocks for whatever other thing
  6. Offline


    One way is a blockupdate event and the isPowered() method. Not sure how to use it, just a guess.
  7. Offline


    Close enough. I'd rather use this than use the signs thing. I've actually figured out a method to handle this.
  8. Kazzababe
    You could share the method, maybe someone else wants to do something similar.
  9. Offline


    this is one of my biggest peeves on the internet

    when someone asks for help, several people try to help them.. they figure it out, and DONT SHARE IT?

    what a jackass...

    and dont flag your damn thread solved if your not sharing the solution!! geez man this is so agrivating

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 31, 2016
    ohtwo likes this.
  10. Offline


    Might as well delete the thread lol. Ego trippin'
Thread Status:
Not open for further replies.

Share This Page