Solved Get the Middle of a schematic..

Discussion in 'Plugin Development' started by Uniclaw, Dec 22, 2012.

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

    Uniclaw

    Hi!

    How can i get the middle of an schematic, if i use the schmetic code from jtjj222?

    Code:
    world.getBlockAt(chunk.getX() * 16 + rand.nextInt(16) + width/2, starty -1, chunk.getZ() * 16 + rand.nextInt(16) + length/2)
    Dosn't works, its not the middle...

    Greet

    Solved!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 30, 2016
Thread Status:
Not open for further replies.

Share This Page