Getting blocks above an explosion

Discussion in 'Plugin Development' started by arjanforgames, Dec 13, 2013.

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

    arjanforgames

    How can I get the blocks above an explosion so I can make them falling blocks?
    It should loop through all blocks until it reaches air, then it should stop.
    Any idea's? I tried some things but they didn't work out well.
     
  2. Offline

    Aqgorn

    arjanforgames To get blocks above you'd use getTargetBlock().Block.getRelative(Blockface.UP) I have no idea about the rest though, sorry :/
     
Thread Status:
Not open for further replies.

Share This Page