Block Indirectly Powered Event? It is possible?

Discussion in 'Plugin Development' started by tolacika, Jun 28, 2013.

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

    tolacika

    Hy everybody!

    I want to write a plugin, but I have a little problem...
    I would like watch a normal block (for example: stone, obsidian or wood, not just signs and etc.) is indirectly powered or not...

    In my example:
    I have a wood block (Id: 17) under a normal rail block...
    And if this wood block getting powered by a redstone I want to start a minecart upper the wood block...

    Thanks, Tolacika!
     
  2. Offline

    RealDope

    You'll probably have to manually check around for redstone that's on
     
  3. Offline

    tolacika

    And how can I do that? Thread or something else?
     
  4. Offline

    Minnymin3

    Or you could do block.isBlockIndirectlyPowered();
     
Thread Status:
Not open for further replies.

Share This Page