Confirming Builds?

Discussion in 'Plugin Development' started by MrTwiggy, Jan 11, 2013.

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


    Hey there. I'm working on a plugin that will create machines. However, in order to create the machine, it has to be built with the correct schematics. For example, it has to be a 3x3 cube of Obsidian, with the center being an iron block, or a 5x5 cube with surface blocks being alternates of gold blocks or diamond blocks, etc.

    I already have a method for iterating through all of the blocks in the area I want to check, but how can I save these 'schematics' of sorts and cross check them?
  2. Offline


    Cross check?

    I'm not the best with schematics, but can we see the code?

    Is it cuboids or something?
  3. Offline


    Hmm, maybe I'm not explaining it correctly.

    Let's say, for example, I just want a 5x5x5 cube with obsidian blocks, and then centre is filled with gold blocks. I want a way to save the cuboid (5x5x5) to file, so that when I load it, I get a 3dimensional array with [0][0][0] corresponding to the Block in the front-most bottom left corner, and the [4][4][4] corresponding to the back-most top right corner block. Does that make more ssense?
  4. Offline


  5. Offline


    bump if anyone has any ideas on how to do this.
Thread Status:
Not open for further replies.

Share This Page