Check if block is powered

Discussion in 'Plugin Development' started by SnowyCoder, Sep 19, 2015.

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

    SnowyCoder

    i'm trying to check if a sign's face is beign powered,
    i've tried this:
    Code:
    block.isBlockFacePowered(face);
    but it doesn't work, it only works with: "isBlockFaceIndirectlyPowered" but it works either if redstone doesn't face the sign and if i place an emitter (redstone block, lever, redstone torch...) near the sign it doesn't see it,
    how can i tell if a face is powered (and if it's possible, get the signal force)?
     
  2. Offline

    RainoBoy97

    This doesn't look like a resource to me.
     
  3. Offline

    SnowyCoder

    sorry, i'm new to bukkit forum and i don't know where to post, can i remove this?
     
  4. Offline

    ZeldoKavira

    I've moved it to the proper section for you.
     
Thread Status:
Not open for further replies.

Share This Page