Power a block

Discussion in 'Plugin Development' started by ACTruncale, Nov 4, 2011.

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

    ACTruncale

    I need to know what the code is to power (redstone) a block.

    I have a Block variable but there is no way to change it to being powered.

    If I know the Block is redstone how do I get it to be powered?
     
  2. Offline

    Acrobot

    You can't.
    You'd have to either:
    - manually iterate through all blocks around your block and if it's a wire/etc. power them EVERY TICK
    - put a lever on the block.
     
Thread Status:
Not open for further replies.

Share This Page