[Abandon] Random Block Location

Discussion in 'Plugin Development' started by macboinc, Jun 13, 2014.

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

    macboinc

    Hello!
    How would I create a plugin where I have 2 saved locations, and it will choose a random block between the two locations I selected?

    (Doesn't matter if it uses WorldeditAPI or not)

    Thanks!
    -Mac
     
  2. Offline

    PogoStick29

    For the WorldEdit part, watch the video below. For the random part, get the min x and the max x and find a random value between them. Do the same for y and z.

     
  3. Offline

    macboinc

  4. Offline

    fireblast709

  5. Offline

    macboinc

    I know... How do I get the block INSIDE the selected region?
     
  6. Offline

    xTigerRebornx

  7. Offline

    macboinc

    Last edited by a moderator: Jun 8, 2016
  8. Offline

    zackpollard

    I disagree, I feel a nice conversation should be had, right here :D
     
    xTigerRebornx likes this.
Thread Status:
Not open for further replies.

Share This Page