WorldEdit API Help

Discussion in 'Plugin Development' started by Gerov, Jan 10, 2015.

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

    Gerov

    I need to be able to get the outer-most walls of a world edit selection. How would I do that.

    To illustrate what I mean, i'll make a little diagram.

    The slashes are blocks that I don't need, and the pound signs are the blocks I want to check, and the percent signs are optional blocks.

    %####%
    #////#
    #////#
    #////#
    #////#
    %####%
     
  2. Offline

    Ganga

    you have to make your own plugin.
    I guess you need to get the first selected block then go on the x axis until your on the x axis of your second point. then you need to go on the z axis until you reach your second point. And then the same thing the other way round.
    Some loops and loc.getBlockX();
    In detail you have to manage this by your own because thats a bunch of work :)
     
Thread Status:
Not open for further replies.

Share This Page